-   Linux - Newbie (
-   -   gtk-window-decorator does not work (throws a library error) with XFCE (

keplenk 07-13-2011 03:11 PM

gtk-window-decorator does not work (throws a library error) with XFCE
Hi all,

I really a newbie to xfce. I was using gnome 2 orignally then since I'm using Arch Linux (64-bit), it was updated to Gnome 3. After long weeks of daily use, I didn't like gnome 3.

Now, I decided to use xfce. I did a fresh install (after formatting my hdd) of Arch, I put installed XFCE + SLIM login manager. Almost all works fine until I decided to install Compiz. After installing Compiz, for some reason gtk-window-decorator --replace (the one that you put under CCSM > Window Decoration > Command) does not work. Only "emerald --replace" and "kde4-window-decorator --replace" works. Unfortunately, I don't like emerald.

When I run gtk-window-decorator --replace in the terminal it gives me this error:


gtk-window-decorator: error while loading shared libraries: cannot open shared object file: No such file or directory
I made sure I installed the complete compiz+gtk package from pacman.

BTW, I never had a problem with gnome 2 + compiz + gtk-window-decorator. I don't know if I have to do something extra in xfce to make gtk-window-decorator work.

EDIT: FYI, I use fusion-icon as an autostart application for me to automatically start compiz during startup.

Please help a newb. Thanks!

andrewthomas 07-13-2011 07:08 PM

Since compiz-decorator-gtk (which is the package that contains usr/bin/gtk-window-decorator) was last built, May 20, 2010, metacity has been upgraded.

While metacity it is not listed as a dependency of compiz-decorator-gtk, as you have found out, it seems to be one.

What you can do is to either, rebuild the compiz-decorator-gtk PKGBUILD and hope that it works

or you can build the old zenity-2.32.1 package (currently in extra 3.0.0-2 ) and the old metacity-2.30.3 package which were the versions when it was last built.

Have you ever built anything from AUR?

It is actually pretty simple.

If you want the old PKGBUILDs, send me a private message with your email address.

All times are GMT -5. The time now is 06:04 PM.