-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/05/09 09:39, Jochen Schulz wrote: > Harry Rickards: >> On 4 May 2009, at 22:12, Jochen Schulz <m...@well-adjusted.de> wrote: >>> You are probably looking for something like xsetroot. I have no idea >>> how openbox handles background images. > -- snip >> Sorry for not making it clearer, but I want to change the colour of the >> background of a program (a parent window I think). For example in >> Firefox (or Iceweasel) I want to change the colour of the grey >> surrounding the menubar and buttons, below the titlebar. I'll attatch a >> screenshot later (does the list support them)? > > No, please don't attach binary files. It may work but it won't win you > friends. > > For Firefox, you can of course install themes for Firefox. But you are > probably searching for Gtk themes. There are plenty available in Debian, > just 'apt-cache search gtk theme'. How to chenge them depends on your > environment. If you don't have any Gnome services running it's probably > best to create a custom ~/.gtkrc-2.0. Some examples can be found on the > net, I cannot reach mine right now. An incomplete list of what can be > set can be found here: > http://library.gnome.org/devel/gtk/unstable/GtkSettings.html#GtkSettings.properties > > J.
Thanks for the help. Using your instructions and the help on the Ubuntu Wiki (https://help.ubuntu.com/community/Openbox#GTK%20themes) (I know it's Ubuntu, but it gave package names which were the same for Debian), I've successfully made the ugly grey a nicer grey, using the Industrial theme. Basically I installed gtk-theme-switch and gtk2-engines* (with apt-get it gets all the GTK themes), and ran gtk-theme-switch2. This GUI allowed me to find the theme that looked the nicest, and generated a ~/.gtkrc-2.0 for me. However, it also setup an Xclient script, which caused my cursor to change to the default X.org X cross shape, and change my background to the background of my login screen. Using the auto generated .gtkrc-2.0, I created my own which simply contained: hricka...@sid:~$ cat .gtkrc-2.0-custom #Include GTK theme Industrial include "/usr/share/themes/Industrial/gtk-2.0/gtkrc" #For more startup stuff see /etc/xdg/openbox . I then used gdmsetup to run an OpenBox session instead of the auto-generated Xclient script, and told it the location of my custom GtkRC file. I also setup feh (using 'feh --bg-scale /home/hrickards/etc/debian.png'), which created a ~/.fehbg file containing: hricka...@sid:~$ cat .fehbg feh --bg-scale '/home/hrickards/etc/debian.png' In OpenBox's autostart.sh script, I linked to this file, using the following line (which I got from the Debian wiki, http://wiki.debian.org/Openbox#Settingyourbackgroundimagewithfeh): hricka...@sid:~$ cat /etc/xdg/openbox/autostart.sh | grep fehbg eval `cat $HOME/.fehbg` & That made my whole autostart.sh http://pastebin.com/d3a191086. Thanks for the help and pointers. - -- Many thanks Harry Rickards (a.k.a l33tmyst) - -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GAT/GCM/GCS/GCC/GIT/GM d? s: a? C++++ UL++++ P- L+++ E--- W+++ N o K+ w--- O- M- V- PS+ PE Y+ PGP++ t 5 X R tv-- b+++ DI D---- G e* h! !r y? - ------END GEEK CODE BLOCK------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkoAdEAACgkQ1kZz3mRu0GoqhACfZrcbjKmxIXC8iH2gKDfIu37+ jGQAn3Xh99FecuL15cK7u8FCFIEbmGav =THe1 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org