Naim89 Posted March 29, 2005 Report Share Posted March 29, 2005 In GNOME, the theme looks lovely. Everything looks the same (apart from annoying KDE apps), including the widgets and window borders. How would I go about acheiving the same uniformity in other window managers (such as fluxbox)? When I run a GTK app in fluxbox, it gives me the "default", unthemed look. How can i change this so that my GTK apps can be given a certain theme to follow whilst I'm under that window manager? Quote Link to comment Share on other sites More sharing options...
arctic Posted March 29, 2005 Report Share Posted March 29, 2005 you need to add the same style you use in gtk2 as gtk1. this needs a bit of work, as the coding is a bit different, but it could be done with most themes nontheless (some themes like industrial already come with gtk1 style included). some apps use only gtk1 by default and do not support gtk2. Quote Link to comment Share on other sites More sharing options...
Naim89 Posted March 29, 2005 Author Report Share Posted March 29, 2005 How would I go about adding the same style that I use in gtk2 as gtk1? Quote Link to comment Share on other sites More sharing options...
arctic Posted March 29, 2005 Report Share Posted March 29, 2005 (edited) you will need to take a look at your ~/.gtkrc* files and try to edit them manually but make a backup of the originals first. for the gtk1-files for themes, you can find some examples in your /usr/share/themes directory which you can hack on. if you want to know, how the themes look like, you can run a test with the GTK-theme switch tool. you can add it via urpmi. a screenie of it is here: http://www.muhri.net/nav.php3?node=gts and here are gtk1 themes that you can use for hacking. http://themes.freshmeat.net/browse/923/ Edited March 29, 2005 by arctic Quote Link to comment Share on other sites More sharing options...
Naim89 Posted March 30, 2005 Author Report Share Posted March 30, 2005 Please could you sort out the link, as it doesn't seem to load? http://www.muhri.net/nav.php3?node=gts I've been able to change my GTK1 theme with GTK-theme-switch but my GTK2 apps still have the same look and feel :( Quote Link to comment Share on other sites More sharing options...
iphitus Posted March 30, 2005 Report Share Posted March 30, 2005 Heh, on the wrong parth there artic, GTK2 apps wont have their theme in Flux unless you set it with switch2 or you run the gnome-settings-daemon, When you are in fluxbox, run "/usr/libexec/gnome-settings-daemon &" and that will load up your themes. here is my faq i wrote, it may answer any other questions: http://aslan.no-ip.com/~iphitus/fluxbox.php Quote Link to comment Share on other sites More sharing options...
arctic Posted March 31, 2005 Report Share Posted March 31, 2005 (edited) Heh, on the wrong parth there artic, GTK2 apps wont have their theme in Flux unless you set it with switch2 or you run the gnome-settings-daemon, :unsure: umm... but i need to hack the gtk2 files if i want to have them as gtk1 compliant files, or not? how am i supposed to run gtk2 themes if an app only supports gtk1 then? now i am puzzled. :D i'll take a look at your page. maybe it makes me a wiser person. ;) Edited March 31, 2005 by arctic Quote Link to comment Share on other sites More sharing options...
iphitus Posted March 31, 2005 Report Share Posted March 31, 2005 :unsure: umm... but i need to hack the gtk2 files if i want to have them as gtk1 compliant files, or not? how am i supposed to run gtk2 themes if an app only supports gtk1 then? Ill explain, unlike GNOME, fluxbox doesnt set your GTK2 or GTK1 themes for you. So I dont think it's just his GTK1 apps. Hence you have to do it yourself, there are tools like gtk-theme-switch which are available in urpmi that do it, though I find it buggy. GNOME however runs a process called gnome-settings-daemon which makes sure apps use the GTK theme you want. I think the easiest thing in this situation is to have the GNOME settings daemon running within fluxbox, This will allow him to use his GTK themes in Fluxbox. To run the settings daemon run: /usr/libexec/gnome-settings-daemon To change theme: gnome-theme-manager If you want this to run whenever you login to fluxbox, take a look at my faq here: http://aslan.no-ip.com/~iphitus/fluxbox.php Enjoy :) Quote Link to comment Share on other sites More sharing options...
arctic Posted March 31, 2005 Report Share Posted March 31, 2005 thanks for clarification. :) Quote Link to comment Share on other sites More sharing options...
Naim89 Posted April 2, 2005 Author Report Share Posted April 2, 2005 Thanks, the instructions you gave worked like a charm :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.