Ubuntu – How to customise window decoration whilst using Compiz on Xubuntu

compizwindow-decorationxubuntu

I have installed Compiz on Xubuntu 11.10 with

sudo apt-get install compiz compizconfig-settings-manager
compiz --replace ccp &

In the process the XFCE window decoration theme is overridden by that of Compiz (Gtk) which uses the Adwaita theme instead of the Greybird theme. Since Gtk is doing window decoration, I cannot change it back using the XFCE settings.

I just need compiz for scale and window switch and I would like to return window decoration to XFCE (Xfwm4) or to be able to change the Gtk window decoration theme.

How can I do that?


I have found part of the (workaround) answer already:

  1. download Greybird Gtk theme
  2. install theme (here is where I failed I think)
  3. use dconf-editor to change the Gtk theme in org.gnome.desktop.interface

The problem really at stage 2 is where do I place the theme? I tried in ~/.themes/ and then changed the value of gtk-theme in the editor to Greybird. But I saw no change.

Best Answer

In XFCE/ Compiz , you have to use the Gnome Tweak Tool to change the window decoration, the XFCE settings only affect the GTK and icon themes.

If not installed, you can get Gnome Tweak Tool like this:

sudo apt-get install gnome-tweak-tool
Related Question