Jump to content

Fluxbox (and other WM's, for that matter) [solved]


Naim89
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by arctic
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by arctic
Link to comment
Share on other sites

: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 :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...