View previous topic :: View next topic |
Author |
Message |
CoffeeTV n00b
Joined: 06 Aug 2005 Posts: 10
|
Posted: Sun Aug 14, 2005 7:34 pm Post subject: fluxbox fonts question |
|
|
Hi,
I switched to fluxbox this day and trying to set it up properly so that my screenshots look at least a little bit like the screenshots in the monthly forum.
I'm having some problems though to get the fonts right. The fonts look good in the terminals or in firefox on the webpages itself. But they are far to large in the application menues.
Could anyone explain to me how I would change the fonts being used in the application menues?
Thanks in advance. |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Sun Aug 14, 2005 8:51 pm Post subject: |
|
|
Do you mean the menu's within applications (like Firefox) or the fluxbox menu you get when you right-click? If it's the latter, you can adjust it by modifying the theme (found in /usr/share/fluxbox/styles/ most likely). Some options to look into would be menu.frame.font and menu.title.font. Hope that helps. _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
CoffeeTV n00b
Joined: 06 Aug 2005 Posts: 10
|
Posted: Sun Aug 14, 2005 10:21 pm Post subject: |
|
|
I meant the menus within the applications.
I managed to change the fonts within the fluxbox menu by changing the style and the settings for this.
What do you mean with menu.frame.font and menu.title.font? Are those settings within the init file in the home directory?
Thanks so far.
Cheers. |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Sun Aug 14, 2005 10:37 pm Post subject: |
|
|
Those two settings are variables in your theme.cfg file. Those styles/themes are found in /usr/share/fluxbox/styles by default. The two I mentioned were specifically for the fluxbox menu although there are many items that utilize the font command in the configs; just open one up and tke a quick look. Most styles/themes seem to use something along the lines of "*.font: sans-8" to make a coherent feel.
To change the fonts in applications using gtk, you will need to create/find a .gtkrc-2.0 file and edit it to your liking. I don't know of a good example file or even documentation for one. However, GAIM does offer a link to one and has specific widgets set for GAIM. If you are interested in that or just want a place to start, you can find it here: http://gaim.sourceforge.net/gtkrc-2.0. If you just want a one-liner, you can add the following to your own ~/.gtkrc-2.0 file: Code: | gtk-font-name = "Snap 9" |
Snap is part of the artwiz font pack quite popular in the fluxbox community. Another example would be Verdana. The number is just the size.
I wish I could offer a better example file, but hopefully that sets you straight. Good luck. _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
CoffeeTV n00b
Joined: 06 Aug 2005 Posts: 10
|
Posted: Mon Aug 15, 2005 5:48 pm Post subject: |
|
|
Fantastic. Took me a little while to figure everything out. But I think that's what it's like when you switch from Gnome to fluxbox.
Really helpful. Thank you very much. |
|
Back to top |
|
|
COiN3D Guru
Joined: 02 Aug 2004 Posts: 543 Location: Munich, Germany
|
|
Back to top |
|
|
CoffeeTV n00b
Joined: 06 Aug 2005 Posts: 10
|
Posted: Tue Aug 16, 2005 9:21 pm Post subject: |
|
|
Thanks, but I think I try to get used to the text files.
Definitely like that more than GUIs. Just never had a desktop on a UNIX machine installed. It's all so new.
But that only means there is a lot to learn. |
|
Back to top |
|
|
evster Guru
Joined: 12 Jul 2005 Posts: 367 Location: Waterloo, Ontario, Canada
|
Posted: Wed Aug 24, 2005 9:59 pm Post subject: |
|
|
Were you able to figure this out?
I have been trying to change to a smaller font without any success... |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Wed Aug 24, 2005 11:05 pm Post subject: |
|
|
What app are you trying to change fonts in and how are you attempting it? _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
evster Guru
Joined: 12 Jul 2005 Posts: 367 Location: Waterloo, Ontario, Canada
|
Posted: Wed Aug 24, 2005 11:15 pm Post subject: |
|
|
It's kind of weird, I was running my desktop at 1280x1024 res and everything was looking fine and then I decided to go to 1600x1200. When I did this most stuff got smaller (like it should) but the fonts in firefox got wayyy bigger. I managed to get them smaller by setting them to font size 8, but they still seem to be bigger than they should be.
Do you know why some fonts don't get smaller when I increase the resolution? |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Wed Aug 24, 2005 11:17 pm Post subject: |
|
|
Weird indeed. I don't know. Have you tried a different font? Maybe that one just doesn't scale well? _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
evster Guru
Joined: 12 Jul 2005 Posts: 367 Location: Waterloo, Ontario, Canada
|
Posted: Thu Aug 25, 2005 1:54 am Post subject: |
|
|
The font I am using is Bitstream Vera Sans, it looks really good in 8 point, so I will just set it to that. |
|
Back to top |
|
|
evster Guru
Joined: 12 Jul 2005 Posts: 367 Location: Waterloo, Ontario, Canada
|
Posted: Thu Aug 25, 2005 2:03 am Post subject: |
|
|
I also have some KDE (I think they use qt) apps that I run and there font is huge, do you know if there is a similar way to change it's font size? |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Thu Aug 25, 2005 3:35 am Post subject: |
|
|
Sadly, I'm not famaliar with qt. I'd like to look around some more, but I'm awfully tired tonight. Hopefully someone else can get you steered in the right direction. Good luck. _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
evster Guru
Joined: 12 Jul 2005 Posts: 367 Location: Waterloo, Ontario, Canada
|
Posted: Thu Aug 25, 2005 11:50 am Post subject: |
|
|
Not to worry....I was tired to and that's why I hadn't investigated much myself either. It turns out there ia a qtconfig program which does this, but I guess programs like kdevelop and kopete don't use these settings, because their font is huge. |
|
Back to top |
|
|
|