Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
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.
|
 |
01-15-2008, 08:48 PM
|
#1
|
LQ Newbie
Registered: Jan 2008
Posts: 4
Rep:
|
Changing Font Size / Style in Gnome - How?
OS : CentOS 5 (final)
Desktop Env : Gnome
Version : 2.16.0
Question : How can I change the font face/style and font size of the desktop environment environment?
---------------------------------------
Hey,
I am technically not new to Linux but relatively new to the GUI. I administer RedHat/CentOS based servers remotely, so I have never used GUI before.
Last time I used the GUI was in Ubuntu, just to get the feel of a Debian based OS. Thats it. Now I got CentOS release 5 installed with Gnome as the Desktop Env.
Can anyone guide me on how I can change the font face/style and font size of the desktop environment? I'd probably want it to be Verdana and the font-size to be 12-40 - the default style sucks big time from my point of view. Been using Windows Vista for nearly 2 years, so its hard to get used to this type of font ~ I can barely read!
PS: I am not talking about the console, I mean the desktop environment itself.
|
|
|
01-15-2008, 09:11 PM
|
#2
|
Member
Registered: Dec 2007
Location: Brazil
Distribution: slackware 13
Posts: 151
Rep:
|
Well, You could do this by editing a script, that's why I like slackware, doesn't matter, so. Create a new file, .gtkrc-2.0:
For example
Code:
style "user-font" {
font_name = "DejaVu Sans 10"
}
widget_class "*" style "user-font"
gtk-font-name="DejaVu Sans 10"
save it in your /home/username directory and restart X.
How can one change firefox font size? yeah, actually XUL doesn't obey gtk settings!
Again, create another file:
Code:
* {
font-size: 9pt !important;
}
name it exactly like this: userChrome.css, save it in the /home/username/.mozilla/firefox/*.default/chrome directory and restart firefox.
check *.default, it depends on the system etc.
That's it
Last edited by marciobarbalho; 01-15-2008 at 09:17 PM.
|
|
|
01-15-2008, 10:08 PM
|
#3
|
LQ Newbie
Registered: Jan 2008
Posts: 4
Original Poster
Rep:
|
Frankly speaking, I am running as root. So I save it in /root, right? Or are you compulsating me to save it on /home/some-specific-user?
|
|
|
01-15-2008, 10:22 PM
|
#4
|
Member
Registered: Dec 2007
Location: Brazil
Distribution: slackware 13
Posts: 151
Rep:
|
Nope, of course you can save it in /root. However, I suggest you create a new user!
|
|
|
01-15-2008, 10:40 PM
|
#5
|
LQ Newbie
Registered: Jan 2008
Posts: 4
Original Poster
Rep:
|
I just get pissed of with the password promtp, will use root.
This is just my desktop. Nothing serious ~ I use Windows for all other purposes.
|
|
|
05-24-2008, 09:33 AM
|
#6
|
Member
Registered: Sep 2004
Distribution: Slackware-14.2
Posts: 472
Rep: 
|
An old problem solved!
Quote:
Originally Posted by marciobarbalho
Well, You could do this by editing a script, that's why I like slackware, doesn't matter, so. Create a new file, .gtkrc-2.0:
For example
Code:
style "user-font" {
font_name = "DejaVu Sans 10"
}
widget_class "*" style "user-font"
gtk-font-name="DejaVu Sans 10"
save it in your /home/username directory and restart X.
|
Excellent tip, marciobarbalho!
I don't use gnome, but I use a few gnome programmes or, better said, programmes written to be run under gnome.
I was always really annoyed that the font sizs were too small - your tip has fixed that. Thanks!
|
|
|
All times are GMT -5. The time now is 10:34 PM.
|
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
|
|