What's new in Metacity 2.21.5 is a built-in compositing manager, meaning that you don't have to run xcompmgr or similar programs alongside it. If you use Hardy, you've already got it and can skip to step 7 to turn it on. For Gutsy, however, you can either
a) go to the bottom of this post and install my .debs or
b) compile it yourself.
Method 1: Compiling
The longer method. Use method 2 if you prefer.
1) Open up a terminal (Applications>Accessories>Terminal) and edit the file /etc/apt/sources.list:
Code:
gksudo gedit /etc/apt/sources.list
place the following on a new line at the bottom:
Code:
deb-src http://ca.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
Save it and exit.
2) Update so that it notices the new line:
Code:
sudo aptitude update
3) Install the needed programs for compiling metacity:
Code:
sudo aptitude install build-essential cdbs devscripts dh-make fakeroot
sudo apt-get build-dep metacity
4) Get the source package:
Code:
mkdir -p ~/packages/metacity
cd ~/packages/metacity
apt-get source metacity
cd metacity-2.21.5
5) Add a new entry to the changelog indicating that this is being built on Gutsy:
The first section should look something like this:
Code:
metacity (1:2.21.5-0ubuntu1~gutsy1) gutsy; urgency=low
* Adopted for Gutsy
-- Firstname Lastname <youremail@yourhost.com> Sun, 23 Dec 2007 11:52:10 -0600
Press Ctrl-X to save and exit the file.
6) Build and install the new metacity:
Code:
dpkg-buildpackage -rfakeroot -us -uc
sudo dpkg -i ../metacity_2.21.5-0ubuntu1~gutsy1_i386.deb ../metacity-common_2.21.5-0ubuntu1~gutsy1_all.deb ../libmetacity0_2.21.5-0ubuntu1~gutsy1_i386.deb
7) You're still not done! Run the following to turn on the compositor:
Code:
gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool true
You may need to log out and in for the changes to take effect.
8) Now re-open the file /etc/apt/sources.list:
Code:
gksudo gedit /etc/apt/sources.list
and remove the following line:
Code:
deb-src http://ca.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
Save it and exit.
9) Update again:
Code:
sudo aptitude update
Enjoy your new metacity!
Method 2: Installing debs
The much faster method. Download and install 3 files, enable composting and you're done.
1) Download the following files:
metacity_2.21.5-0ubuntu1~gutsy1_i386.deb
libmetacity0_2.21.5-0ubuntu1~gutsy1_i386.deb
metacity-common_2.21.5-0ubuntu1~gutsy1_all.deb
2) Install them:
Code:
sudo dpkg -i metacity_2.21.5-0ubuntu1~gutsy1_i386.deb metacity-common_2.21.5-0ubuntu1~gutsy1_all.deb libmetacity0_2.21.5-0ubuntu1~gutsy1_i386.deb
libmetacity-dev is optional, but I've uploaded it just in case:
libmetacity-dev_2.21.5-0ubuntu1~gutsy1_i386.deb
3) Remember to run the following to enable the compositor!
Code:
gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool true
You may need to log out and in for the changes to take effect. Enjoy!
Bookmarks