Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

4 Answers 4

up vote 3 down vote accepted

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
share|improve this answer

Install gconf-editor using apt and that works perfectly.

Install it using this command;

sudo apt-get install gconf-editor

Then either find "Configuration Editor" in your menu or type gconf-editor in a terminal.

share|improve this answer

installing gnome-tweak-tool would pull almost the entire Gnome as dependencies. I had the same problem today and I didn't want to install such a lot of unneeded stuff only to change one little setting and spent some time researching how these things are related and it seems it is indeed possible with gconf-editor (or gconftool-2) alone.

The key in gconf-editor is /apps/metacity/general/theme.

Type the name of an existing metacity theme into the text field (such as greybird and note that greybird is starting with a LOWERcase letter while most other themes are not!), hit enter and it should immediately change.

You can also change the arrangement of window buttons in /apps/metacity/general/button_layout (for example to move the window buttons to the right side where they traditionally belong use this: menu:minimize,maximize,close). Most other options in this section describe window behavior rather than style and don't have any effect on compiz, they would only be used by metacity.

share|improve this answer

Greybird is default theme for xubuntu and can be found in murrine-themes package in the repository. You can change install it with apt and change with xfce themes setting. Then try changing with dconf-editor. Also try gconf-editor and change window theme in shell section /desktop/gnome/shell/windows to Greybird if your dconf part doesnot work

share|improve this answer
    
Thanks, I know Greybird is the default: it is the one I want to revert to and it was on before installing Compiz. Since I use Compiz, the window-decorator is Gtk and it uses the Adwaita theme. There is no gconf-editor in Xubuntu but dconf-editor only. –  Benjamin Jan 25 '12 at 12:03
2  
In XFCE/ Compiz , you have to use Gnome Tweak Tool to change the window decoration, the XFCE settiings only affect the GTK and icon themes. –  Uri Herrera Jan 25 '12 at 13:36
    
@UriHerrera: yes it worked :) Why don't you make it an answer and get the praise? –  Benjamin Jan 25 '12 at 13:46

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.