Metacity and Composite
Metacity is finally getting some composite love! I remember this being promised back when Compiz was first introduced in early 2006, but never seeing any follow-through.
Since the original release of compiz, every few months I’ve grabbed a tarball of whatever the latest development version of metacity is and tried to compile some composite in, with the result always being that it failed miserably.
Riccardo Setti’s blog reported today that the [no longer] latest metacity, 2.21.5, now compiles with composite by default. Indeed, it does!
[UPDATE 15/3/08: Now that GNOME 2.22.0 is out, it no longer makes sense to point to the development version. If you want the sources, use the 2.22 sources.
If you want to see metacity’s new compositing features (which seem to be limited mostly to drop shadows and an unfinished-looking minimize animation), you can do the following:
Make sure you have metacity’s build dependencies. This can be done on Ubuntu and Debian systems with the following:
apt-get build-dep metacity
Get the sources:
wget http://ftp.acc.umu.se/pub/gnome/sources/metacity/2.22/metacity-2.22.0.tar.bz2
Untar them:
tar -xjvvf metacity-2.22.0.tar.bz2
Enter the untarred directory, and configure, make, and install the new metacity:
./configure && make && make install
Don’t pass –prefix=/usr to ./configure; that’s just bad practice. No special options need to be passed to the ./configure script to add composite support; it does it by default now.
Now, enable it in gconf and replace your current window manager with composited metacity:
gconftool –type=bool -s /apps/metacity/general/compositing_manager 1 && /usr/local/metacity –replace
UPDATE:
If you’re using Hardy Heron, you don’t need to bother with all the above. Just:
gconftool –type=bool -s /apps/metacity/general/compositing_manager 1
And you’re good.
A good site, good short contents of the good work. Congratulations !,
Whitney
27 November, 2008 at 8:17 am
Hi anyone know about configuration – im can’t get transparent menus, and change shadow range. I see transparent menus on yotube
Zloty
11 May, 2008 at 10:45 am
I don’t know if you copied and pasted or not, but I just tried copying and pasting the command I originally posted and found that WordPress had taken the two hyphens that were supposed to have gone in front of type and replaced them with a long dash.
iandefor
29 February, 2008 at 8:26 pm
but that worked :
gconftool-2 –set –type=bool /apps/metacity/general/compositing_manager true
antistress
27 February, 2008 at 4:15 pm
~$ gconftool -type=bool -s /apps/metacity/general/compositing_manager 1
Error while parsing options: Unknown option -type=bool.
Run ‘gconftool –help’ to see a full list of available command line options.
antistress
27 February, 2008 at 4:07 pm
[...] Metacity and Composite [...]
…for the adult in you » Wombats are nice
17 February, 2008 at 11:03 am
Thanks, it works pretty well for me
thib
thib
22 January, 2008 at 10:40 am