Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-21-2009, 03:53 PM
|
#1
|
|
Member
Registered: Apr 2002
Location: Arlington, MA
Distribution: Slackware, Debian, OpenBSD
Posts: 194
Rep:
|
Text only system -- how to change console font?
I'm experimenting with a text-only (e.g. no X) squeeze box, just for the heck of it really, to see how much I can do with only the console.
Am wondering whether there is an easy way to adjust the fonts, etc in the console. Before I was using grub2, I was passing a "vga=790" line in to grub & that gave me a nice small font. At that time I was running lenny.
Now that I've upgraded to squeeze and am using grub2, the grub configuration files are, well, unfamiliar to me. The /boot/grub directory has loads of *.mod files in it, plus what appear to be three copies of my old menu.lst file.
Any hints would be much appreciated. Thanks,
GB
|
|
|
|
11-21-2009, 09:48 PM
|
#2
|
|
Member
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 582
Rep:
|
You mean font size? Because you can change the actual font too if you want =)
The same vga=### option should work for the vesafb. Try grub.conf.
|
|
|
|
11-21-2009, 10:33 PM
|
#3
|
|
Member
Registered: Mar 2008
Location: Baltimore Md
Distribution: ubuntu
Posts: 184
Rep:
|
Does your system have a "setfont" command? In debian based distributions (maybe others?) there is usually /usr/share/consolefonts which can be set using the setfont command.
|
|
|
|
11-22-2009, 09:38 AM
|
#4
|
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,474
|
vga=### won't work in grub2.
In /etc/default/grub, edit/add the line
Code:
GRUB_GFXMODE=1280x800
where 1280x800 is your desired resolution. And/or in /etc/grub.d/40_custom, add the lines
Code:
insmod gfxterm
insmod vbe
set gfxpayload=1280x800
, then run .
|
|
|
|
12-12-2009, 08:39 PM
|
#5
|
|
Senior Member
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-12 & Cinnamon, Mint-11, v11.04 Ubuntu & Kubuntu
Posts: 1,116
Rep:
|
what about for ALT-Fn consoles
How do I set the font and font size for - the non-graphic consoles available using ALT-Fn
- the messages that appear during the early parts of the boot process
How do I add color highlights -- green for success, red for failure, amber for warnings -- during the early boot time messages?
Thanks,
~~~ 0;-Dan
|
|
|
|
12-13-2009, 11:58 AM
|
#6
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,565
|
Quote:
Originally Posted by chexmix
Am wondering whether there is an easy way to adjust the fonts, etc in the console. Before I was using grub2, I was passing a "vga=790" line in to grub & that gave me a nice small font. At that time I was running lenny.
|
Sounds like you are looking for the console-setup package. If you haven't installed it, do so! If it is already installed
Code:
dpkg-reconfigure console-setup
With this you can change your font.
Not related to fonts, (and partially not relevant for a box without X), but another nice thing about this package
is that you can also specify your keyboard layout for the console and as a bonus, by default X will use that layout too.
Evo2.
|
|
|
|
12-11-2011, 09:26 AM
|
#7
|
|
LQ Newbie
Registered: Sep 2008
Posts: 7
Rep:
|
"setfont" works but font is lost after restart, when i tried it as user yesterday, i have not tried it as root.
"dpkg-reconfigure console-setup" has not changed font, i tried it as root today. and i have restarted, and when logged in as root i see correct font, and log in as user and also see correct font.
may be, setfont as root also would work.
i thought this commands change font only for one user, but seems they have changed for root and user together.
|
|
|
|
12-11-2011, 04:24 PM
|
#8
|
|
Member
Registered: Mar 2008
Location: Baltimore Md
Distribution: ubuntu
Posts: 184
Rep:
|
If your distribution uses an /etc/default directory look for a file named /etc/default/console-setup.
|
|
|
|
12-11-2011, 05:02 PM
|
#9
|
|
Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 766
Rep: 
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:31 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|