Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fluxbox fonts question
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
CoffeeTV
n00b
n00b


Joined: 06 Aug 2005
Posts: 10

PostPosted: Sun Aug 14, 2005 7:34 pm    Post subject: fluxbox fonts question Reply with quote

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. 8)

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
View user's profile Send private message
cynric
Guru
Guru


Joined: 08 Oct 2004
Posts: 439

PostPosted: Sun Aug 14, 2005 8:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
CoffeeTV
n00b
n00b


Joined: 06 Aug 2005
Posts: 10

PostPosted: Sun Aug 14, 2005 10:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
cynric
Guru
Guru


Joined: 08 Oct 2004
Posts: 439

PostPosted: Sun Aug 14, 2005 10:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
CoffeeTV
n00b
n00b


Joined: 06 Aug 2005
Posts: 10

PostPosted: Mon Aug 15, 2005 5:48 pm    Post subject: Reply with quote

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. :D

Really helpful. Thank you very much.
Back to top
View user's profile Send private message
COiN3D
Guru
Guru


Joined: 02 Aug 2004
Posts: 543
Location: Munich, Germany

PostPosted: Mon Aug 15, 2005 8:36 pm    Post subject: Reply with quote

If you prefer a gui more than editing text files, emerge
Code:
gtk-theme-switch

_________________
e17 documentation | Be free and use Jabber as your IM! | Combine IRC and IM
Back to top
View user's profile Send private message
CoffeeTV
n00b
n00b


Joined: 06 Aug 2005
Posts: 10

PostPosted: Tue Aug 16, 2005 9:21 pm    Post subject: Reply with quote

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. :roll:

But that only means there is a lot to learn. :lol:
Back to top
View user's profile Send private message
evster
Guru
Guru


Joined: 12 Jul 2005
Posts: 367
Location: Waterloo, Ontario, Canada

PostPosted: Wed Aug 24, 2005 9:59 pm    Post subject: Reply with quote

Were you able to figure this out?

I have been trying to change to a smaller font without any success...
Back to top
View user's profile Send private message
cynric
Guru
Guru


Joined: 08 Oct 2004
Posts: 439

PostPosted: Wed Aug 24, 2005 11:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
evster
Guru
Guru


Joined: 12 Jul 2005
Posts: 367
Location: Waterloo, Ontario, Canada

PostPosted: Wed Aug 24, 2005 11:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
cynric
Guru
Guru


Joined: 08 Oct 2004
Posts: 439

PostPosted: Wed Aug 24, 2005 11:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
evster
Guru
Guru


Joined: 12 Jul 2005
Posts: 367
Location: Waterloo, Ontario, Canada

PostPosted: Thu Aug 25, 2005 1:54 am    Post subject: Reply with quote

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
View user's profile Send private message
evster
Guru
Guru


Joined: 12 Jul 2005
Posts: 367
Location: Waterloo, Ontario, Canada

PostPosted: Thu Aug 25, 2005 2:03 am    Post subject: Reply with quote

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
View user's profile Send private message
cynric
Guru
Guru


Joined: 08 Oct 2004
Posts: 439

PostPosted: Thu Aug 25, 2005 3:35 am    Post subject: Reply with quote

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
View user's profile Send private message
evster
Guru
Guru


Joined: 12 Jul 2005
Posts: 367
Location: Waterloo, Ontario, Canada

PostPosted: Thu Aug 25, 2005 11:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum