On Tuesday 23 October 2001 06.40, Patrick Nelson wrote:
Anders Johansson wrote: ----------------->>>> add
export WINDOWMANAGER=/usr/X11R6/bin/gnome
to ~/.bashrc
I believe it's called gnome-session instead of gnome if you're running ximian. ----------------->>>> First of all thanks Anders for replying and replying and replying... I appreciate it.
Adding that to .bashrc in the users home dir didn't do anything. After exiting and logging back in I ran startx and it still went into kde. So I exited kde and check the var with echo $WINDOWMANAGER which replied with /usr/X11R6/kde so I just export $WINDOWMANAGER=/usr/X11R6/gnome at the command prompt and then did a startx and it went into gnome. So I went into /etc/rc.config and changed:
DEFAULT_WM="kde" -to- DEFAULT_WM="gnome"
and ran SuSEconfig then exited and logged in again and sure enough echo $WINDOWMANAGER replied with /usr/X11R6/gnome, then running startx started with GNOME as the wm. Not sure why the file you describe, .bashrc wasn't being parsed.
re the replying: Not a problem. It's not like I have a life (or, these days, even a job) or anything :) One reason it's not being parsed is that you perhaps aren't using bash?! Perhaps a spelling error? Or perhaps you didn't really log out, but just exited X?! You have to log out all the way to the login: prompt for .bashrc to be read. And yes, DEFAULT_WM is another way to deal with it. That would change it for all users who haven't made their own personalizations. That may not always be desired, but hey: it works :) regards Anders -- ICQ: 132715168 YM: cicerose