Metacity and AWN in Lenny

awn1

Earlier today, I posted my setup of Compiz and AWN.  But then, I found that, my system is taking too much CPU (mostly xorg).  Even during video playing (MP4), xorg hits 90% CPU.  Then, I started to find another composite window manager to replace Compiz.  Metacity is a compite window manager, but when I start AWN, it said:

Error: Screen isn't composited. .....blah blah

Then I try to look around in the net and finally found that, I have to turn on the “composite manager” support in metacity explicitly.  It is off by default.  So, just fire up the gconf-editor, edit the key:

/apps/metacity/general/compositing_manager

set it to true (tick the check box).  That’s all.  My system is now as fast as before and with the AWN!  :)  Well, there goes all the compiz effects, but usability is more important.

Finally, ~/.gnome2/session (copied from /usr/share/gnome/default.session) has the following content:

[Default]
num_clients=3
0,id=default0
0,Priority=10

0,RestartCommand=gnome-wm --sm-client-id default0
1,id=default1
1,Priority=40
1,RestartCommand=avant-window-navigator –sm-client-id default1

About these ads

2 responses to “Metacity and AWN in Lenny

  1. Pingback: 2008-11-11: fullscreen, focus and so on - …for the adult in you

  2. Juan December 1, 2008 at 2:17 pm

    Thanks a lot man! Now I can use my dual monitor with AWN :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: