Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-23-2018, 01:52 AM   #1
Registered: Dec 2017
Location: Asia
Distribution: Slackware 14.2,CentOS 7
Posts: 114

Rep: Reputation: Disabled
Persistent font console change

My goal is to change my font across reboots. I edit the /etc/vconsole.conf file and change FONT="ter-v12n"

- In command line I tried setfont ter-v12n and it works.
- I tried to edit rc.local and add setfont ter-v12n and give executable permission and reboot. It doesnt work.
- I tried to make custom service and execute same command, enable it and reboot it doesnt work too. But when I start it in command line it works.
- I edit my grub2 configuration and under linux16 I add vconsole.font=ter-v12n and reboot. Doesnt work also.

Any suggestion so when my machine starts the font is already set. Thanks!
Old 01-23-2018, 06:36 AM   #2
Bad Blue Bull
Registered: Jul 2017
Distribution: Slackware 14.2
Posts: 42

Rep: Reputation: Disabled
I've this put into /etc/rc.d/rc.font (executable ofc) (Slackware)
# This selects your default screen font from among the ones in
# /usr/share/kbd/consolefonts.
setfont -v LatArCyrHeb-19.psfu.gz
for n in 1 2 3 4 5 6; do
 echo -ne "\033(K" > /dev/tty$n
Old 04-08-2018, 10:21 PM   #3
LQ Newbie
Registered: Dec 2014
Location: Portsmouth, VA
Distribution: Slackware 14.1
Posts: 3

Rep: Reputation: Disabled
It looks like you left the closing "done" off the "for" loop there.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change console font in OpenBSD? billy_bazooka *BSD 7 09-13-2016 12:23 PM
[SOLVED] Change Linux console font shahinism Linux - Software 2 10-29-2012 10:39 AM
To change font in Virtual Console Mr. Alex Linux - Newbie 3 07-14-2010 03:34 AM
change the console font color minike Slackware 3 08-30-2004 06:11 PM
change console font size? andrewlkho Debian 4 07-07-2003 01:48 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration