Share your knowledge at the LQ Wiki.
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, 12:52 AM   #1
Registered: Dec 2017
Location: Asia
Distribution: Slackware 14.2,CentOS 7
Posts: 115

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, 05:36 AM   #2
Bad Blue Bull
Registered: Jul 2017
Distribution: Slackware 14.2
Posts: 45

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, 09: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 11:23 AM
[SOLVED] Change Linux console font shahinism Linux - Software 2 10-29-2012 09:39 AM
To change font in Virtual Console Mr. Alex Linux - Newbie 3 07-14-2010 02:34 AM
change the console font color minike Slackware 3 08-30-2004 05:11 PM
change console font size? andrewlkho Debian 4 07-07-2003 12:48 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:58 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
Open Source Consulting | Domain Registration