You are not logged in.

#1 2011-01-28 19:40:16

jboons
Member
Registered: 2010-09-25
Posts: 37

[Solved] Firefox menu fonts are too large

Hi all.

I'm running an Openbox/tint2 set up. In Firefox and all other KDE applications, my fonts are too big. I've set them to what I want them to be in both Obconf, .gtkrc-2.0, and lxappearance, but they don't seem to change in my apps. Any idea if I'm missing a step?

Last edited by jboons (2011-01-29 10:25:14)

Offline

#2 2011-01-28 20:24:19

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: [Solved] Firefox menu fonts are too large

Are you running KDE or Openbox? KDE will have its own settings for fonts


Mr Green

Offline

#3 2011-01-28 20:50:27

jboons
Member
Registered: 2010-09-25
Posts: 37

Re: [Solved] Firefox menu fonts are too large

I'm running Openbox. I'm pretty sure I've followed the steps to changing GTK fonts but it doesn't seem to be working.

[tommy@tagger ~]$ cat ~/.gtkrc-2.0
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.

gtk-theme-name="Clearlooks"
gtk-icon-theme-name="gnome"
gtk-font-name="DejaVu Sans 8"
gtk-cursor-theme-size=18
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
include "/home/tommy/.gtkrc-2.0.mine"
[tommy@tagger ~]$ cat ~/gtkrc.mine
style "user-font"
{
        font_name = "DejaVu Sans 8"
}
widget_class "*" style "user-font"

gtk-font-name = "DejaVu Sans 8"

gtk-xft-antialias = 1
gtk-xft-hinting = 1
gtk-xft-hintstyle = "hintfull"
gtk-xft-rgba = "rgb"

I just realized I said KDE above. I meant GTK. Firefox is GTK-based, right?

Last edited by jboons (2011-01-28 21:11:51)

Offline

#4 2011-01-29 08:19:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Firefox menu fonts are too large

Try https://bbs.archlinux.org/viewtopic.php … 09#p817709
You may need to install gtk-chtheme first.

Last edited by karol (2011-01-29 08:21:21)

Offline

#5 2011-01-29 09:15:38

jboons
Member
Registered: 2010-09-25
Posts: 37

Re: [Solved] Firefox menu fonts are too large

karol wrote:

Try https://bbs.archlinux.org/viewtopic.php … 09#p817709
You may need to install gtk-chtheme first.

I used that, didn't change Firefox's fonts at all. They're still size 12 Sans.

Offline

#6 2011-01-29 09:53:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Firefox menu fonts are too large

How about setting them via userChrome.css: https://bbs.archlinux.org/viewtopic.php … 44#p138244

Offline

#7 2011-01-29 10:09:01

jboons
Member
Registered: 2010-09-25
Posts: 37

Re: [Solved] Firefox menu fonts are too large

karol wrote:

How about setting them via userChrome.css: https://bbs.archlinux.org/viewtopic.php … 44#p138244

Sweet, thanks. I looked at something like that online before but I could never find mine. For those of you with the same problem, try looking here:

[tommy@tagger ~]$ cd .mozilla/firefox/xxxxxxxx.default/chrome

I don't know what that xxxxxxxx.default crap is (the x's will be numbers/letters) but hey.

There are some sample files in there to help you customize what you want.

Offline

#8 2011-01-29 10:30:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Firefox menu fonts are too large

locate userChrome-example.css

will tell you where it is :-)
Just copy userChrome-example.css to userChrome.css.

Offline

#9 2011-01-29 10:35:20

jboons
Member
Registered: 2010-09-25
Posts: 37

Re: [Solved] Firefox menu fonts are too large

karol wrote:
locate userChrome-example.css

will tell you where it is :-)
Just copy userChrome-example.css to userChrome.css.

I didn't know there was a userChrome-example.css until I saw it. Can't look for what I don't know exists =o

Offline

#10 2011-01-29 11:01:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Firefox menu fonts are too large

jboons wrote:
karol wrote:
locate userChrome-example.css

will tell you where it is :-)
Just copy userChrome-example.css to userChrome.css.

I didn't know there was a userChrome-example.css until I saw it. Can't look for what I don't know exists =o

Have you read the post I linked to?

mac57 wrote:

If you have Firefox installed, look in its embedded Chrome directory. Mine has a file called userChrome-example.css.

Offline

Board footer

Powered by FluxBB