this is my first post, so don't be harsh if something isn't right. I'm by no means an advanced linux user.
I'm using XFCE, but I am only trying to change the font of text mode consoles. I was trying to change the font on my system. I 'cd'ed into /usr/share/kbd/consolefonts and was trying to 'setfont' from the list.
Both 'setfont' and 'showconsolefont' gave the following error message:"Couldn't get a file descriptor referring to the console."
I tried to run showconsolefont with root privileges and it worked, however when I tried to run 'setfont' with root privileges it didn't seem to make any change whatsoever.
I even tried to set FONT= variable in /etc/vconsole.conf and reboot the system, but it didn't make any change.
The only similar problem I've managed to find online was some guy that had the problem due to 'setfont' lines in .xinitrc, .bashrc and .bashprofile. For this reason I even tried to reset all those files using the originals from /etc/skel and overwriting ones in my home directory.
Help would be highly appreciated. Thanks in advance.
setfont
,/usr/share/kbd
and/etc/vconsole.conf
only apply to the text mode console, which hardly anyone uses. Are you using that? Or are you using a graphical user interface? In the GUI, each application chooses what fonts it uses. Some desktop environments have a default font, and you can set that, but that depends on the desktop environment. Which desktop environment are you using? – Gilles 'SO- stop being evil' Oct 21 '21 at 19:19xterm
ormrxvt
may not have a GUI settings dialog, but will require you to edit their config file or Xresources with a text editor such asvi
ornano
. – cas Oct 22 '21 at 03:20