-   Linux - Software (
-   -   Changing the window manager used by GNOME (

sylvain_gnu 04-27-2004 05:29 PM

Changing the window manager used by GNOME

Do you know how to change the window manager used by GNOME.
I'd like to use xfwm or xfwm4 for instance.


rkef 04-27-2004 06:37 PM


grcunningham 04-27-2004 07:21 PM

changing window manager
I know that to change my window manager to
window maker, I just add the line
exec wmaker
to the end of my ~/.xinitrc file

sylvain_gnu 04-28-2004 03:17 PM

Any solution?
My .xinitrc is here below. But it is not used when I launch a GNOME session from gdm.
So I guess another config file is used somewhere else...

To rkef:
"</deleteme>"? Do you mean "delete this post"? Why? Do you have the answer? or you didn't get the point? :confused:

Cheers to you guys... and if someone can give a solution, I'll be happy. ;)

%cat ~/.xinitrc
# xinitrc file for XFce 3 startxfce script

# Some distro needs to allow even localhost to use the display
# Uncomment this if you experience "Can't open display" when running
# programs from xfce. BEWARE this is considered as a vulnerability !
# xhost +$HOSTNAME
xsetroot -solid black -cursor_name watch

# Unselect the following line to get a BIG mouse cursor in Xfce :
# xset +fp "/usr/share/xfce/cursors"

# Set up additionnal fonts that ship with Xfce (Change id38121117)
xset fp+ "/usr/share/xfce/fonts"

# Start-up stuff from ~/Desktop/Autostart directory, if it exists
# (as it seems to be the new standard)
if [ -d "$HOME/Desktop/Autostart" ]; then
for i in `ls -1 ${HOME}/Desktop/Autostart/ 2>/dev/null`; do
if [ -x $HOME/Desktop/Autostart/$i ]; then
$HOME/Desktop/Autostart/$i &

# Uncomment this if you have xmodmap loading additional keycodes.
# set the XKEYS variable to the correct file

# XKEYS=/etc/X11/xinit/.Xmodmap
# if [ -f $XKEYS ]; then
# xmodmap $XKEYS
# fi

# Uncomment this if you run gkrellm. See for
# more info. It will launch gkrellm if it's not already running
# if [ -z $(grep gkrellm ${HOME}/.xfce/xfwm-session) ]; then
# exec `which gkrellm` &
# fi

# Launch xscreensaver (if available)
xscreensaver -no-splash &

# Finally, launch XFce window manager
exec xfwm
xsetroot -solid black

grcunningham 04-28-2004 03:28 PM

try the same line in .Xclients or .Xclients-default.
distributions vary in where this is located.

andrewlorien 04-29-2004 01:44 AM

yeah, gnome (or maybe some of it's distributions - i'm using gentoo) doesn't read .xinitrc
you'll have the same trouble when you want to muck around with your mouse buttons or scroll wheel, and someone tells you to put an xmodmap line in .xinitrc

i think what you really want to do though, is choose a different session from gdm and add gnome menus and panels to that. the new linux desktop standards push means that most of the windowmanagers are happy to have bits of gnome imposed upon them.
gnome 2.4 and 2.6 don't seem to want to to use anything but metacity, in fact you'll find lots of references to 'hiding the window manager from the user'. so there is no more gnome 'choose a different WM' menu.

i've only had to work all that out this week though, after upgrading everything, so i'm not going to offer any actual suggestions...

sylvain_gnu 05-03-2004 04:16 PM

XFCE4 + gnome-panel does the trick.
Thanks to andrewlorien,

In another thread, I explain that XFCE4 as window manager + gnome-panel on the top of it gives me the environement I was looking for.


crm 05-21-2004 10:56 AM

i'am using fedora core 1.
my /home directory dosent have a .Xclients or .Xclients-default. or even a .xinitrc
where should i look to change my wiindowmanager to enlightenment? (which i have already installed?)

sylvain_gnu 05-21-2004 04:40 PM

Hi crm,

This depends on what you are using to launch your window-manager / which "Destop" environment you're using, and might also be distribution specific.
- are you using Gnome or Kde ? or none of them?
- are you launching your GUI using 'startx' or from GDM or KDM or XDM ?
Have you had a look already in some Fedora docs or faqs?
There's probably a tool to configure this.
Have you already searched using Google?

Hope this will put you on a track to a solution.

All times are GMT -5. The time now is 06:22 AM.