LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-01-2014, 10:43 AM   #1
haziz
Member
 
Registered: Jan 2012
Location: /dev/null
Distribution: Slackware, Fedora, Debian, Centos, Ubuntu
Posts: 60

Rep: Reputation: 1
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 10:55 AM.
 
Old 01-01-2014, 11:03 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,190

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
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:
Code:
bash-4.2$ lftp -c "mirror ftp://ftp.slackware.com/pub/slackware/slackware-14.1/source/ap/terminus-font/"
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 11:13 AM. Reason: EDIT 2 added
 
4 members found this post helpful.
Old 01-01-2014, 11:07 AM   #3
flokofcgulls
Member
 
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.
Code:
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 11:09 AM.
 
1 members found this post helpful.
Old 01-01-2014, 11:21 AM   #4
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 490
Blog Entries: 1

Rep: Reputation: 55
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.
Regards,
Bill
 
1 members found this post helpful.
Old 01-03-2014, 03:44 PM   #5
GNU/Linux
Member
 
Registered: Sep 2012
Distribution: Slackware-14
Posts: 78

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.
 
  


Reply


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 07:54 PM
Console font size dickb Linux - Hardware 1 12-15-2009 08:27 PM
terminus package doesn't work properly / cant use terminus font polemon DamnSmallLinux 2 10-14-2007 03:39 PM
terminus-font for console syvy Slackware 8 08-14-2007 05:27 PM
Font size in console psyklops Linux - General 25 10-09-2006 12:22 PM


All times are GMT -5. The time now is 06:44 AM.

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