MandrivaThis Forum is for the discussion of Mandriva (Mandrake) 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am not even really sure how to ask this question, but here I go.
I few days ago I booted my computer, IBM ThinkPad X21, and noticed that the fonts on the GRUB screen were like, two points larger than they had been. As the system installed I saw that same enlarged fonts during bootstraping. My system loaded just fine. However, I switched to a shell and there again the fonts were all whacked. They went from a '10' to a '12'. This is very strange.
I do not remember making any changes that would have affected this. I do not know even where to look to change them back. I checked in my BIOS settings and there was nothing there to control the size of these fonts. I hope I am making sense. I am running mdk10 on stated computer.
Can anyone direct me to the right file or script that would have this information? This is not a critical issue, however, I would like to discover how the change occured, if possible. At the least I would like to fix this error.
If you start X from the console command prompt, type:
$ startx -- -dpi 100 -depth 16 # v4.x syntax
Or these options can be stored in ~/.xserverrc. See the startx and xinit man pages for more on this.
If you use xdm (or friends such as gdm) for graphical logins, you'll want to edit your
/usr/X11/lib/X11/xdm/Xservers file (or possibly /etc/X11/xdm/Xservers) which will have the
command line for the Xserver in it. Mine has the line:
:0 local /usr/X11R6/bin/X -dpi 100 -gamma 1.6
You want to specify a value that is compatible with your monitor's output.
More information is in the X, Xserver, xdm, xinit, and startx man pages.
This won't change your font settings when X isn't running, but I'm not sure where those are specified. If you spend a lot of time there, I'll do some more digging.
Note: don't just try these commands before checking your config files to make sure they won't make your monitor implode. Incorrect settings can do bad things
Cool,
Laura
Last edited by rose_bud4201; 05-11-2004 at 09:12 AM.
Are you talkin about a console in X or a plain bash without X? What system are you using since you are running Grub?
Even if you are not running X there's still a thing called "resolution". Your new system probably just told grub to use a lower resolution than you are used to. I know how to change this in lilo...
Yes, I am talking about plain "bash" without X. I running mdk10 official. You are totally correct, the problem is RESOLUTION. How do we change it in bash?
I'll start looking through those files and docs that Laura laid on me. Thank you both for the responses.
If you are using lilo, you just have to edit /etc/lilo.conf to use another higher res mode and reinstall lilo to the mbr. I guess you can do something similar in grub.
The stuff Laura pointed to looks like X-related stuff which isn't exactly what you are looking fore...
All right, sometimes I am just a big idiot. Now, I don't claim to know what I am doing but this one was just dumb. I went back through my BIOS set up, looked through everything, line by line. The problem was there after all. Specifically the "HVcontrol". This horizontial/vertical setting was enabled, thus the shell fonts were enlarged. Of course they were. D'oh! I disabled it and voila that nice, pretty, small font size returned. I must have hit that control when I was in there changing the power settings for my laptop. Linux rocks!
Thanks everyone for traking down that information for me. I did a lot of reading and know a hell of a lot more that I did yesterday. Hopefully, one day I can return the favor.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.