Hi All,
How do I change the font size & color in a templates console? It’s tiny and very not dark mode.
I would also like to figure out how to change the font globally, the Qubes Manager font, and Qubes manager style to dark mode as well but I can create a new topics if those are not relevant.
Thank you for your response @Cracked_Tessaract I appreciate your time and effort,
I’m not totally sure, but I don’t think so. This says “Previously-created VMs are unaffected.” I am trying to change the console colour and tiny font that pops up when you right click a template or other qube in the Qube App Manager.
For the template, you simply make the change in the template, and it
will affect terminal windows from that template.
If you copy dconf/user in to /etc/skel in the template then new qubes
will inherit the settings.
If you want to control existing qubes then you will need to edit the
files in those qubes. For one or two this should not be an issue, and
you could do it manually. (qvm-copy ~/.config/dconf/user from the
template to the qube, and manually edit ~/.config/dconf/user in the
qube)
If you have many existing qubes, then you can do this with a batch file,
iterating over the qubes, or use salt - my preference. If you need help
with either let us know.
There have been a number of posts on dark mode. Search in the Forum and
see if they help.
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.
I have a script called rcon.sh (root console) in ~/bin in dom0, which I call by typing, for example, rcon.sh fedora-40-minimal
[user@dom0 ~] cat bin/rcon.sh
#!/bin/bash
#
[ -z $1 ] && echo "qube name is mandatory. Aborting." && exit 1
qvm-run --user root $1 -- \
xterm -fa 'DejaVu Sans Mono' -fs 12 \
-geometry 110x35 -fg green -bg black &
The “DejaVu Sans Mono” truetype font exists in most(*) templates by default, and the rest of the parameters are obvious. The console will have the qube/template border color.
I can’t recall how to use it correctly but isn’t there a file called Xresources or .Xresources that allows us to change the fonts and color parameter? Although I’m not sure about geometry…
Edit: in fact @barto’s solution doesn’t rely on any config file in any qube, you can’t achieve that with Xresources files.