Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm not running xfce4 or gnome, so I can't use their respective settings manager.

Now I want to alter the GTK theme of all running apps, do you think that's possible? I think there's a signal or whatever can do that, but I couldn't find one.

Any ideas? It should works for both gtk2 and gtk3 apps.

share|improve this question
    
You can't change theme for running application, you should restart it. –  Eddy_Em Mar 14 '13 at 5:44
    
@Eddy_Em hmm, but xfce4-settings-manager can do that, am I wrong? –  warl0ck Mar 14 '13 at 6:08
    
Can xfce4 be reloaded? If it does, maybe I'm wrong. –  Eddy_Em Mar 14 '13 at 6:09
    
In gtk2 there were some functions, capable of rereading .rc files with themes, but I don't know, how to invoke them: gtk.org/api/2.6/gtk/gtk-Resource-Files.html#gtk-rc-reparse-all. –  Bob May 15 '13 at 21:06
    
@Eddy_Em: Gtk themes can be changed on the fly. –  Bobby Jun 15 '13 at 20:32

1 Answer 1

You might try gtk-theme-switch2. It's a command-line utility that will apply whichever theme you tell it to; it also comes with a GUI if necessary:

Screenshot

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.