Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot change gtk application theme [solved]
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
punkid
Apprentice
Apprentice


Joined: 18 Dec 2004
Posts: 215
Location: offline

PostPosted: Fri Aug 31, 2007 1:09 pm    Post subject: Cannot change gtk application theme [solved] Reply with quote

I used to use gtk-chtheme to change the gtk theme, but now it doesnt work, and i tried modifying the .gtkrc-2.0 file directly, too, it still doesnt work.

here's the output when i run gtk-chtheme.

Code:
GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed


is there anything broken? i've re-emerged gconf, pango, gtk+.
_________________
My Blog | Latest Screenshot


Last edited by punkid on Tue Sep 04, 2007 1:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Mantaar
Apprentice
Apprentice


Joined: 17 May 2007
Posts: 219

PostPosted: Fri Aug 31, 2007 1:27 pm    Post subject: Reply with quote

posting your .gtkrc file could help. Here's mine:

Code:

gtk-key-theme-name = "Emacs"
include "/home/user/.themes/WV/gtk-2.0/gtkrc"
gtk-icon-theme-name = "Nuovo"


You have to include the theme's gtkrc in order to use it.
_________________
Error compiling committee.c: too many arguments to function.
Back to top
View user's profile Send private message
punkid
Apprentice
Apprentice


Joined: 18 Dec 2004
Posts: 215
Location: offline

PostPosted: Fri Aug 31, 2007 1:46 pm    Post subject: Reply with quote

i dont have a .gtkrc file, i'm running KDE.
and does .gtkrc file matter the Gtk 2 Apps?
_________________
My Blog | Latest Screenshot
Back to top
View user's profile Send private message
Mantaar
Apprentice
Apprentice


Joined: 17 May 2007
Posts: 219

PostPosted: Sat Sep 01, 2007 11:15 am    Post subject: Re: Cannot change gtk application theme Reply with quote

punkid wrote:
and i tried modifying the .gtkrc-2.0 file directly, too, it still doesnt work.

You don't?

Yes, the .gtkrc* files matter for gtk apps. Better to use the .gtkrc-2.0, but that's exactly what I'm doing, sorry, I maybe wasn't too clear about that. It's easy to just include the respective gtkrc for a theme. Just do a
Code:

find /usr/share/themes -name gtkrc

To find out what themes you have and which of the respective files to include.
_________________
Error compiling committee.c: too many arguments to function.
Back to top
View user's profile Send private message
punkid
Apprentice
Apprentice


Joined: 18 Dec 2004
Posts: 215
Location: offline

PostPosted: Tue Sep 04, 2007 1:16 pm    Post subject: Reply with quote

finally i found the gtkrc-2.0 file in .kde directory, just removed it and everything turned out okay/
thx for your reminding.
_________________
My Blog | Latest Screenshot
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