PDA

View Full Version : [other] [SOLVED] font in fluxbox is HUGE



LinuX-M@n1@k
June 16th, 2008, 07:28 PM
How do I fix it? Look at the screen shots.

Old:
74249

Current:
74248

Happy_Man
June 16th, 2008, 08:54 PM
Run
gnome-appearance-properties and check to make sure that the font settings there are the right ones.

For the slit, I'm not sure, but ~/.fluxbox/init may have a setting for fonts. And also, while you're in the Appearance Properties, make sure the DPI is set to 96.

LinuX-M@n1@k
June 17th, 2008, 12:54 PM
Still the same.

The font settings are the right ones - Sans 10; I changed them to Sans 8, but it didn't worked.

Also, The DPI is set to 96:

$ xrdb -query | grep dpi
Xft.dpi: 96
$

And I can't find anything about fonts in .fluxbox/init (I'm not using slit).

Any other suggestions ? Thanks!

LinuX-M@n1@k
June 17th, 2008, 03:00 PM
bump

LinuX-M@n1@k
June 17th, 2008, 03:46 PM
buuump

LinuX-M@n1@k
June 17th, 2008, 05:58 PM
bump

LinuX-M@n1@k
June 17th, 2008, 07:38 PM
bump... LoLz RoFlcOpt3r! ;\ ??

Ае мама ви стара травестити грозни :). Ще ви конструирам сергии в задниците :lol: RofL (?)

kerry_s
June 17th, 2008, 08:39 PM
can you be more specific about what you want to fix?

the toolbar will fonts will be part of your fluxbox theme:
http://fluxbox-wiki.org/index.php/Howto_change_font

LinuX-M@n1@k
June 17th, 2008, 09:55 PM
Okay, I want to change the fonts of the fluxbox menu, fluxbox toolbar, conky, skype and gnome-terminal...

In every application the font is bigger (in fluxbox). I think it has to do something with the DPI. I haven't tried to reinstall the nvidia drivers or fluxbox, but I tried to rename the folder .fluxbox to .fluxbox.old. And the font is still huge.

Other ideas?

RedSquirrel
June 18th, 2008, 02:05 AM
I see what you mean. All of your fonts are much larger in the new screenshot. Strange.

Do you recall changing anything? Is this the same system?

Is there any chance the DPI was lower than 96 in the old screenshot (86 maybe...)?

Are you using GNOME settings to handle the fonts when you run Fluxbox, or do you set DPI in ~/.Xdefaults or ~/.Xresources? If you don't use GNOME for the fonts, I would think you would end up with a DPI of 86 until you change it manually.

LinuX-M@n1@k
June 18th, 2008, 12:39 PM
- The system is the same.

- I have installed kubuntu-kde4-desktop and kubuntu-desktop, but I removed them. After that, my fonts became larger.

- I dont have ~/.Xdefaults and ~/.Xresources.

- I'm not using the GNOME settings.

kerry_s
June 18th, 2008, 12:59 PM
okay then then try using a xdefaults file.
in term:
echo "Xft.dpi: 96" > ~/.Xdefaults

you'll need to add this to your fluxbox startup:
xrdb -merge ~/.Xdefaults &

LinuX-M@n1@k
June 18th, 2008, 01:10 PM
Yay!
I've just upgraded the kernel to 2.6.24-19-generic. Everything is fixed now.

Thanks everyone for the help!

MedellinManDem
February 5th, 2009, 12:42 PM
I used the font settings on the Flux-wiki to change my menu/toolbar fonts, then used:


gnome-appearance-properties

to change the font in firefox, which was still using that ugly generic ubuntu font.

Can anyone explain why editing my style overlay file as explained here (http://fluxbox-wiki.org/index.php?title=Style_overlay) wasn't enough to alter the settings for Firefox, and why I had to use the Gnome Appearance command?

MedellinManDem
February 5th, 2009, 12:55 PM
And then when I restart, the gnome appearance properties doesn't restart with it. Also, now when I logout of fluxbox using "exit" on the menu, it just goes to a black screen i.e. the splash screen doesn't show up, even though I can hear the little ubuntu drum thing indicating that it should be there.

can anyone help me?

:rolleyes:

MedellinManDem
February 5th, 2009, 06:09 PM
Anyone?

MedellinManDem
February 8th, 2009, 05:54 PM
hello???????????

RedSquirrel
February 8th, 2009, 09:30 PM
I used the font settings on the Flux-wiki to change my menu/toolbar fonts, then used:


gnome-appearance-propertiesto change the font in firefox, which was still using that ugly generic ubuntu font.

Can anyone explain why editing my style overlay file as explained here (http://fluxbox-wiki.org/index.php?title=Style_overlay) wasn't enough to alter the settings for Firefox, and why I had to use the Gnome Appearance command?

The font settings specified in the ~/.fluxbox/overlay file only affect the Fluxbox window manager (that is, the Fluxbox menu, toolbar, and window titlebar). Application fonts are set elsewhere.

As for your other issue, I'm not currently using Ubuntu, so I'm not sure if I can be of much help. I would try restarting gdm (the service that gives you the fancy login screen) to see if that helps at all. Press Ctrl-Alt-F2 to go to a virtual console. Login there. Then run:
sudo /etc/init.d/gdm restartIf that didn't help, I would reboot the machine:
sudo shutdown -r nowIf that didn't help, I would advise you to start a new thread so that people using Ubuntu can help you sort out the issue.

(This thread was marked [SOLVED] by the OP. Many forum participants would skip reading this thread since they would think the issue was resolved. ;))