Compiz and Emerald problem after Ubuntu Hardy Heron Upgrade

Posted by Hodge on May 14, 2008 in Linux, Ubuntu5 commentsPrint This Post

I’ve just solved a funky little problem with Compiz and Emerald, whereby Emerald wasn’t used for window decorations, and changing the Theme via the Emerald Theme Manager accomplished nothing – this is after upgrading to Ubuntu Hardy Heron, by the way. If you don’t have Emerald installed, it can be done by running, in a Terminal:

sudo apt-get install emerald

or via the Synaptic Package Manager. The same goes for the CompizConfig Settings Manager:

apt-get install compizconfig-settings-manager

Anyway, the problem boiled down to Compiz not using Emerald for Window Decoration, and was thankfully veyr easy to solve, by pointing Compiz to the Emerald binary. Open up the compizConfig Settings Manager – System -> Preferences -> Advanced Desktop Effects Settings and select the “Effects” category from the left menu. Click on “Window Decoration” from the selectionin the right pane, and for Command, enter:

/usr/bin/emerald

Make sure it’s enabled, and close the CompizConfig Settings Manager. In order for the new settings to take effect, wither restart X by pressing Ctrl+Alt+Backspace, or run the following in a Terminal:

compiz --replace &
emerald --replace &

Now Compiz is using Emerald for my Window Decorations, and I can once again change the Emerald Theme dynamically via the Emerald Theme Manager.


Something not quite right? Inaccuracies or invalid code? Didn’t work for you? Don’t like me using Ss instead of Zs? Add a comment below! All comments are welcome. Except spam, because spam is a bit crap.


eBay Logo  

Lof of 25 DELL CORE 2 DUO LAPTOP XP COMPUTER NOTEBOOK 1


Lof of 25 DELL CORE 2 DUO LAPTOP XP COMPUTER NOTEBOOK 1


$6,974.97


LOT OF 20 DELL INSPIRON LAPTOP NOTEBOOK COMPUTER


LOT OF 20 DELL INSPIRON LAPTOP NOTEBOOK COMPUTER


$5,918.00


Lot 6 New HP G60 15.6 Laptop Notebook Win 7 HDMI Webcam


Lot 6 New HP G60 15.6 Laptop Notebook Win 7 HDMI Webcam


$3,149.95


Lof of 10 DELL CORE 2 DUO LAPTOP XP COMPUTER NOTEBOOK 1


Lof of 10 DELL CORE 2 DUO LAPTOP XP COMPUTER NOTEBOOK 1


$2,819.97


NEW HP ENVY 17 Laptop Core i7 EXTREME i7-920XM Notebook


NEW HP ENVY 17 Laptop Core i7 EXTREME i7-920XM Notebook


$2,699.00


No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: ,

5 comments

» Comments RSS Feed
  1. thanks for the article! i could not find the CompizConfig Setting Manager – turns out I had to install it first –

    apt-get install compizconfig-settings-manager

  2. Arthur: yup, I already had the manager installed, but I’ve updated the article for people who don’t. Cheers!

  3. Didn’t work for me. But I used fusion-icon to do basically the same thing. I installed fusion-icon, ran it, and right-clicked the little blue icon to make the menu come up. From the menu I chose “Select Window Decorator”, then changed it from GTK Window Decorator to Emerald.

    I also recommend putting fusion-icon in sessions, so it runs automatically, It’s handy for changing the window manager if necessary. Google Earth sometimes doesn’t like Compiz.

  4. Right, After I installed both compiz and emerald, I changed command in Window Decoration to /usr/bin/emerald –replace. It seems to me it works fine.

    System -> Preferences -> Advanced Desktop Effects Settings
    Effects section: Window Decoration
    Command: /usr/bin/emerald –replace

    Also, it works for different decorators, for instance gtk-window-decorator.

  5. Thanks! now it fnally works :) i was already wondering what i did wrong…

Leave a comment