On Thu, 23 Mar 2000, [iso-8859-1] Charles Parsels wrote:
> Hi,
> I am new to Linux, and FVWM. My Red Hat Linux
> distribution (that's 6.1) comes with fvwm2.x and I
> would like to know how you configure the X Window
> System to load FVWM instead of the gnome desktop
> environment? Any suggestions?
>
> Anything appreciated!
>
> Thank you!
I change /usr/X11R6/lib/X11/xinit/xinitrc to achieve the result:
right at the end of this file there is a command to execute the window
manager.
I add something like the following:
if [ -f $HOME/.wm_style ]; then
exec `cat $HOME/.wm_style`
elif [ -x `which fvwm2` ]; then
exec fvwm2
else
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
fi
Which simply executes whatever window manager is listed in
$HOME/.wm_style. If this file does not exist, I default to fvwm2 or twm.
This has been tested on RH6.0 (the latest one I used before moving to BSD)
Regards: Andrey
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Mar 22 2000 - 18:21:47 GMT