Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-01-2014, 11:43 AM   #1
Registered: Jan 2012
Location: /dev/null
Distribution: Slackware, Fedora, Debian, Arch, Ubuntu
Posts: 99

Rep: Reputation: 4
Console Terminus Font Size?

I am running Slackware 14.1 mostly from the command line on a 1366x768 monitor (using a vesa mode appropriate for the resolution, 0x34c if it matters, giving me a screen resolution of 1366x768x32 in the CLI) and find the font size of the terminus font I have selected "lat2 terminus16" to be just a little too small to read comfortably. I like the font but would like to use a larger size e.g. 18 or 20.

setconsolefont displays only that size of the terminus font.

How do I install, or if it is already installed, set a larger size for use?

Last edited by haziz; 01-01-2014 at 11:55 AM.
Old 01-01-2014, 12:03 PM   #2
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,870

Rep: Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783
If you've got Slackware 14.1, all Terminus fonts are in /usr/share/kbd/consolefonts, sizes ranging from 12 through 32.

If you're running an older Slackware either upgrade it or do this:
bash-4.2$ lftp -c "mirror"
bash-4.2$ cd terminus-font/                                                                      
bash-4.2$ su # type root's password when asked
bash-4.2# ./terminus-font.SlackBuild # Then after the script says Slackware package has been created:
bash-4.2# installpkg /tmp/terminus-font-4.38-noarch-1.txz
You will get the same fonts.

EDIT: Sorry, I overlooked you wrote that you're running Slackware 14.1 I hope this can help others though.

EDIT 2: Just run the "setfont" command to try and when you're satisfied with the result edit /etc/rc.d/rc.font accordingly.

Last edited by Didier Spaier; 01-01-2014 at 12:13 PM. Reason: EDIT 2 added
4 members found this post helpful.
Old 01-01-2014, 12:07 PM   #3
Registered: Apr 2013
Posts: 79

Rep: Reputation: Disabled
I added the following line to my rc.S file just before the '#Enable swapping' section that sets my font at boot time.
setfont -v ter-232b.psf.gz
The Terminus font files are located in /usr/share/kbd/consolefonts/ in Slackware 14.1. They all begin with ter-, and after the size number there's a letter 'b' for bold and 'n' for normal.

I had to experiment a little bit to find the one that I liked just right, which for me was the 232b file, but you can just play around with that command until you find the one you want and then change the setfont command accordingly.

Hope that helps!

*Edit: wrong font path*

Last edited by flokofcgulls; 01-01-2014 at 12:09 PM.
1 members found this post helpful.
Old 01-01-2014, 12:21 PM   #4
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 507
Blog Entries: 1

Rep: Reputation: Disabled
There is a file, rc.font, in /etc/rc.d that is called by rc.M during bootup. This one is modified if you "Select a special console font" during setup & it makes an excellent place to set your special console font. The command is identical to the one flockofcgulls listed above. Also, make sure to chmod rc.font so that it is executable.
1 members found this post helpful.
Old 01-03-2014, 04:44 PM   #5
Registered: Sep 2012
Distribution: Slackware-14
Posts: 118

Rep: Reputation: Disabled
Just to point out 'setconsolefont' doesn't include all the fonts included in Slackware 14.1 so you should look inside '/usr/share/kbd/consolefonts' as suggested by previous posts and this.


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
Set console locale, font, and font size? penyuan Debian 3 12-09-2011 08:54 PM
Console font size dickb Linux - Hardware 1 12-15-2009 09:27 PM
terminus package doesn't work properly / cant use terminus font polemon DamnSmallLinux 2 10-14-2007 04:39 PM
terminus-font for console syvy Slackware 8 08-14-2007 06:27 PM
Font size in console psyklops Linux - General 25 10-09-2006 01:22 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:30 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