You are not logged in.
Pages: 1
Hello. I use bare Linux console and want change the font it utilizes. I want it to be cyr-sun16 (which is part of kbd package) with "-d" flag to double it's size.
So, just like the wiki suggests
setfont -d cyr-sun16
works just fine.
But it seems I can't use "-d" flag in vconsole.conf, i.e. with
FONT=cyr-sun16
console font is set accordingly, but something like
FONT="cyr-sun16 -d"
results in error:
# journalctl -b -g "font"
systemd-vconsole-setup[505]: setfont: ERROR setfont.c:434 kfont_load_font: Unable to find file: cyr-sun16 -d
systemd-vconsole-setup[502]: /usr/bin/setfont failed with exit status 66.
The console font stays unaffected.
I made this workaround in my .bashrc:
if [[ ${TERM} == "linux" ]]; then
/bin/setfont -d /usr/share/kbd/consolefonts/cyr-sun16
fi
but it works only after login, obviously. Not to mention that I have to copy-paste it for every user on the machine.
Is there a more convenient way to do this?
Your personal overmind
Offline
Pages: 1