You are not logged in.

#1 2013-05-14 13:09:24

kmiernik
Member
From: Poland
Registered: 2009-10-20
Posts: 50

[SOLVED] Fluxbox and gtk theme

I have a problem with fluxbox. Some programs using gtk themes (e.g. spacefm, audacious) have ugly grayish 'redmond' look. I have tried to follow this how-to:

http://wiki.fluxbox.org/index.php?title … gtk_themes

and also tried to switch theme with lxapperance and gtk-chtheme. No success. The gtk-chtheme shows a correct theme, so within the preview the theme is fine. However, it won't change the appearance of other windows. Some other programs like firefox or thunderbird change the theme.

I have also tried to compile spacefm with gtk3 support and use adwaita theme. Again I got the ugly look. In other desktop managers, e.g. lxdm both spacefm and audacious look as expected.

Last edited by kmiernik (2013-05-15 11:23:25)

Offline

#2 2013-05-14 17:07:15

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Fluxbox and gtk theme

Audacious is a GTK3 application.

Does the GTK3 theme work correctly if you set it by hand? What does your GTk3 settings file look like? In which window managers / desktop environments does it look correct?

I assume you are using a theme that has GTK 3.8 support, since it works sometimes

Offline

#3 2013-05-14 17:10:04

Onyros
Member
From: Lisbon, Portugal
Registered: 2007-10-11
Posts: 307

Re: [SOLVED] Fluxbox and gtk theme

And SpaceFM is also GTK3 unless you installed the GTK2 version available in the AUR.  You have to install a GTK3 theme and define it manually, because lxappearance and gtk-chtheme only impact GTK2 applications. BTW, I suspect that LXDE defines the GTK3 theme with a fallback option.

Last edited by Onyros (2013-05-14 17:11:06)

Offline

#4 2013-05-15 11:22:41

kmiernik
Member
From: Poland
Registered: 2009-10-20
Posts: 50

Re: [SOLVED] Fluxbox and gtk theme

Thanks guys! It must have been something in the .config/gtk-3.0 folder. Once I removed it and created settings.ini like this one:

[Settings]
gtk-theme-name = Adwaita
gtk-icon-theme-name = Tango
gtk-fallback-icon-theme = gnome
gtk-font-name = Sans 8
gtk-auto-mnemonics = 1
gtk-visible-focus = automatic

I can have a normal appearance of gtk3 applications. Interesting thing is that this is exactly the same settings file I have tried before. Probably something else in the folder was overriding the theme.

Last edited by kmiernik (2013-05-15 11:24:06)

Offline

Board footer

Powered by FluxBB