On a ThinkpadX220 laptop, I have a TempateVM which is a debian-11-minimal clone. On that, I have started an AppVM for practicing zshell.
Here’s the setup script for the AppVM, so that you can see the packages added to the minimal template:
qvm-clone debian-11-minimal d11m-zsh
packs="qubes-core-agent-networking pciutils psmisc xfonts-terminus vim man doas rxvt-unicode zsh"
qvm-run --pass-io -u root d11m-zsh "apt install -y ${packs}"
qvm-run --pass-io -u root d11m-zsh 'echo "permit nopass user as root" > /etc/doas.conf'
qvm-run --pass-io -u root d11m-zsh 'dpkg-reconfigure locales'
qvm-shutdown d11m-zsh
qvm-create --label=blue --template=d11m-zsh zsh-practice
My .Xresources
file is basically the same as the one example given in the qubes os docs:
I just added a line for dpi scaling:
Xft.dpi: 96
Here are the pictures of the artefacts:
You can see that there are rendering (?) bugs with the fonts. That is, the file name fonts are not fully displayed, they seem to cut at the left-most side.
My hunch with the solution is that I should have the Xresources file preprocessed at the boot time for the AppVM. This is what the rxvt configuration doc is saying.
On the TemplateVM, I have created the /etc/X11/Xresources.urxvt
file and I also have created the file /etc/X11/xinit/xinitrc.d/urxvt.sh
as instructed on the bottom of the doc. And filled that file with:
#!/bin/sh
[ -r /etc/X11/Xresources.urxvt ] && xrdb -merge /etc/X11/Xresources.urxvt
However the doc doesn’t mention getting that /etc/X11/Xresources.urxvt
file executable (i.e., chmod +x), Should that be made executable? Otherwise, the Xresources.urxvt file isn’t affecting my terminal. How can I be sure that that my Xresources.urxvt is getting sourced?
Or any other suggestions to resolve these visual artefacts?