![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2005
Beans: 16
|
Since metacity became the default window manager for gnome, I've always been bugged by the absence of some very useful features such as edge resistance towards other windows and vertical/horizontal maximization. The latter is actually somewhat implemented, but in a poor way, and appearently, the developers of metacity don't seem to see a desperate need for properly implementing the above features anytime soon.
Fortunately, there are alternatives to using metacity as window manager under Gnome. For a while I was using Openbox, which is great but I always had minor issues with it (e.g. the Gnome panels stayed visable when watching a video in fullscreen mode with VLC), so I kept looking and found xfwm4, which is the default window manager under XFCE. xfwm4 works absolutely fabulous for me, and it fits very nicely into Gnome since it also uses GTK. For anybody interested in trying it out, here's how to set it up under Gnome... First, make sure the universe repository is enabled and then do Code:
sudo apt-get install xfwm4 xfce4-mcs-manager Code:
sudo sed -i "s/openbox)/openbox|xfwm4)/" /usr/bin/gnome-wm Code:
echo export WINDOW_MANAGER=/usr/bin/xfwm4 >> ~/.gnomerc Setting the WINDOW_MANAGER environment variable won't have any effect if you saved your Gnome session at some point in the past. In that case, /usr/bin/gnome-wm isn't even invoked anymore when you log into Gnome. The solution is to either Code:
rm ~/.gnome2/session Code:
killall metacity && xfwm4 To adjust the settings for xfwm4, execute Code:
xfce-setting-show Code:
theine@cosmo:~$ cat /usr/share/gnome/wm-properties/xfwm4.desktop [Desktop Entry] Name=Xfwm4 Exec=xfwm4 # name we put on the WM spec check window X-GNOME-WMName=Xfwm4 # our config tool ConfigExec=xfce-setting-show theine@cosmo:~$ Code:
sudo /etc/init.d/readahead start Last edited by theine; March 14th, 2006 at 05:13 PM.. |
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() Join Date: Jul 2005
Location: Brasil
Beans: 67
Ubuntu 7.04 Feisty Fawn
|
Re: Replace metacity by xfwm4
thanks, i've been looking for this for ages
__________________
Come on, search is easier than posting! UbuntuForums Search | Ubuntu Wiki | UbuntuGuide | GoogleLinux |
|
|
|
|
|
#3 |
|
A Carafe of Ubuntu
![]() Join Date: Apr 2005
Location: Chapel Hill, NC
Beans: 93
Ubuntu 9.04 Jaunty Jackalope
|
Re: Replace metacity by xfwm4
Is there an easy way to uninstall this, ie revert back to metacity should things not work?
|
|
|
|
|
|
#4 |
|
A Carafe of Ubuntu
![]() Join Date: Jul 2005
Location: Brasil
Beans: 67
Ubuntu 7.04 Feisty Fawn
|
Re: Replace metacity by xfwm4
hey theine, now i had the opportunity to test it and it doesn't work at all
metacity is still running, no xfwm4
__________________
Come on, search is easier than posting! UbuntuForums Search | Ubuntu Wiki | UbuntuGuide | GoogleLinux |
|
|
|
|
|
#5 |
|
Dipped in Ubuntu
![]() Join Date: Jul 2005
Location: olney, maryland
Beans: 532
Ubuntu 6.06 Dapper
|
Re: Replace metacity by xfwm4
I'd like to see a screenshot, if possible.
__________________
Tux Files | My Blog | My last.fm page | Record Skype Conversations
One of the core developers for Specto VIdeo Tutorial thread w/ link |
|
|
|
|
|
#6 |
|
Gee! These Aren't Roasted!
![]() Join Date: Aug 2005
Location: Finland
Beans: 163
Kubuntu 8.04 Hardy Heron
|
Re: Replace metacity by xfwm4
Is there a way to start the Gnome Run Dialog using xfwm4? xfrun is slow to start.
__________________
AMD Sempron 2800 | 1 GB | GF4 Ti 4200 |
|
|
|
|
|
#7 | |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2005
Beans: 16
|
Re: Replace metacity by xfwm4
Quote:
|
|
|
|
|
|
|
#8 | |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2005
Beans: 16
|
Re: Replace metacity by xfwm4
Quote:
Code:
echo $WINDOW_MANAGER |
|
|
|
|
|
|
#9 | |
|
A Carafe of Ubuntu
![]() Join Date: Jul 2005
Location: Brasil
Beans: 67
Ubuntu 7.04 Feisty Fawn
|
Re: Replace metacity by xfwm4
Quote:
Code:
if [ ! -z "$SMID" ] ; then
case `basename $WINDOW_MANAGER` in
sawfish|sawmill|metacity)
OPT1=--sm-client-id=$SMID
;;
openbox|xfwm4)
OPT1=--sm-client-id
OPT2=$SMID
;;
Code:
:~$ echo $WINDOW_MANAGER /usr/bin/xfwm4
__________________
Come on, search is easier than posting! UbuntuForums Search | Ubuntu Wiki | UbuntuGuide | GoogleLinux |
|
|
|
|
|
|
#10 | |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2005
Beans: 16
|
Re: Replace metacity by xfwm4
Quote:
Last edited by theine; November 12th, 2005 at 04:44 PM.. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|