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:
- download Greybird Gtk theme
- install theme (here is where I failed I think)
- 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.
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 thatgreybird
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.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:
I'm using xubuntu 17.10 and I'm experimenting with compiz. I use the Greybird theme but out of the box compiz window decorations do not follow the xfce theme. I had unwanted opacity in the title bar, ugly and non-themed window buttons, and a title bar which was too big.
After compiz is active, try this: (thanks to arch linux documentation https://wiki.archlinux.org/index.php/Compiz/Configuration#Workspaces_and_Viewports)
This does on the fly changes.
For me, this changed the theme but I missed maximise and minimise buttons. They can be restored by
Or, you can use gnome-tweak-tool, click Windows and turn on Titlebar Buttons Maximise and Minimise
Greybird is default theme for xubuntu and can be found in
murrine-themes
package in the repository. You can change install it withapt
and change with xfce themes setting. Then try changing with dconf-editor. Also trygconf-editor
and change window theme in shell section/desktop/gnome/shell/windows
toGreybird
if your dconf part doesnot workInstall 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.-Update in 16.04 -In Dconf-Editor org>gnome>metacity Change theme to desired theme. In my case it was "Arc-Dark". Remember that theme names are CASE SENSITIVE. Thank you! -SirSean