You are not logged in.

#1 2011-09-16 10:16:20

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

[SOLVED] Why do some GTK apps refuse to change appearance?

I have some gtk applications like Brasero, Nautilus etc. that do not follow lxappearance config in "~/gtk-3.0/setting.ini" and ".gtkrc-2.0"

gtk-theme-name="ThinIce"
gtk-icon-theme-name="Tango"
gtk-font-name="Sans 10"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"

pcmanfm however does work fine and correctly uses icons/themes, while others do use some default icons and pretty ugly theme.
Why is so?

Last edited by tasty_minerals (2011-09-16 11:55:10)


lenovo thinkpad EDGE 13'

Offline

#2 2011-09-16 11:10:05

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: [SOLVED] Why do some GTK apps refuse to change appearance?

https://wiki.archlinux.org/index.php/Gn … ttings.ini

GTK3 config should go in .config or your configs folder if it is another dir. However, lxappearance fails at selecting the right dir for the config to be written, and puts it in $HOME instead of ${XDG_CONFIG_HOME}

Last edited by ethail (2011-09-16 11:10:25)


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#3 2011-09-16 11:19:07

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: [SOLVED] Why do some GTK apps refuse to change appearance?

copying gtk-3.0/ to .config/ doesn't change anything, I wonder why "pcmanfm" and "pidgin" do work ok, while such as "nautilus" and "brasero" fail, libreoffice also boots up with ugly theming (does it use gtk?).
If my config is ok, then I should consider searching the problem elsewhere.


lenovo thinkpad EDGE 13'

Offline

#4 2011-09-16 11:23:08

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: [SOLVED] Why do some GTK apps refuse to change appearance?

pcmanfm and pidgin use gtk2, brasero and nautilis gtk3. lxappearance sets correctly gtk2 and fails at gtk3 as said before. GT2 and GTK3 configs are not the same. GTK3 is backwars compatible IIRC meaning you can use your gtk3 theme for gtk2 apps but not viceversa.

Seems that something in your gtk3 config is wrong ¿Are you using a gtk2 theme for gtk3?

for the libreoffice issue if you're using a dark theme: https://wiki.archlinux.org/index.php/Li … -qt-engine


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#5 2011-09-16 11:27:44

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: [SOLVED] Why do some GTK apps refuse to change appearance?

Oh. Now I see, I use "thinice" at work, oh and at home some other theme with the same result.
Why moving gtk-3.0/ to .config/ doesn't solve this?
"Are you using a gtk2 theme for gtk3?" -- it is so.

Last edited by tasty_minerals (2011-09-16 11:49:44)


lenovo thinkpad EDGE 13'

Offline

#6 2011-09-16 11:54:58

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: [SOLVED] Why do some GTK apps refuse to change appearance?

found a post here https://bbs.archlinux.org/viewtopic.php?id=116451
guess I should close this thread, thanks


lenovo thinkpad EDGE 13'

Offline

#7 2011-09-16 12:12:16

Barafu Albino Cheetah
Member
From: Moscow
Registered: 2011-09-16
Posts: 34

Re: [SOLVED] Why do some GTK apps refuse to change appearance?

In addition to what was written above, I should remind that applications, which you start with gksu look for GTK configs not in your /home, but in /root.

Offline

#8 2011-09-16 12:13:51

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: [SOLVED] Why do some GTK apps refuse to change appearance?

Barafu Albino Cheetah wrote:

In addition to what was written above, I should remind that applications, which you start with gksu look for GTK configs not in your /home, but in /root.

thank you, useful info

Last edited by tasty_minerals (2011-09-16 12:14:23)


lenovo thinkpad EDGE 13'

Offline

Board footer

Powered by FluxBB