Compiz and Emerald problem after Ubuntu Hardy Heron Upgrade

Posted by 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.



Seis De Mayo


Seis De Mayo


$4.29


It wasn’t long after the recording of this, Trey Anastasio’s third–and most warmly idiosyncratic–solo album, that the Phish frontman/guitarist announced that his improvisation-fueled, cult-fave band would record no more. Longtime Phish-heads (or admirers of Anastasio’s previous free-form jazz excursions with Les Claypool and Stewart Copeland and more conventional solo work) may find this ambitio…

Sapphire Video Card 100314-3l Hd 6870 1gb Ddr5 256bit Pci Express D-Dvi/Hdmi/Display Port Retail


Sapphire Video Card 100314-3l Hd 6870 1gb Ddr5 256bit Pci Express D-Dvi/Hdmi/Display Port Retail


$222.69


PCI Express based PC is required with one X16 lane graphics slot available on the motherboard.4X75 Watt 6-pin PCI Express power connector is required for CrossFireX system.2X75 Watt 6-pin PCI Express power connector is required.1024MBMinimum of system memory.Installation software requires CD-ROM drive.DVD playback requires DVD drive.Blu-ray/HD DVD playback requires Blu-ray/HD DVD drive.Blu-ray/HD …

ASUS Lamborghini VX6-PU17-BK 12.1-Inch Eee PC Netbook (Black)


ASUS Lamborghini VX6-PU17-BK 12.1-Inch Eee PC Netbook (Black)


$685.70


Asus Lamborghini VX6-PU17-BK 12.1″ LED Netbook – Atom D525 1.80 GHz – Black VX6-PU17-BK 41…

T101MT-BU17-BK 10.1 Netbook


T101MT-BU17-BK 10.1 Netbook


$599.99


Asus Eee PC T101MT-BU17-BK 10.1″ LED Net-tablet PC – Atom N450 1.66 GHz – Black T101MT-BU17-BK 202…

Laptop Computer Security Cable Lock (Silver) for Asus laptop


Laptop Computer Security Cable Lock (Silver) for Asus laptop


$7.99


Laptop Computer Security Cable Lock (Silver) for Asus laptop . Laptop Computer Security Cable Lock for you to use to lock your laptop computer in an easy way.Features:Lock down your notebooks laptop computer with this unique, individual keys and locks for each computer. Galvanized steel cable for strong protectionEffective protection, anti-thief design keeps the sneakers away The T-bar mechanism b…

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