Xinitrc and choosing a WM
From: nemo (nemo_at_localhost.com)
Date: 08/23/04
- Next message: Francesc Guasch: "Re: Can't type backticks ( problems with <> keys )"
- Previous message: Saul Lubkin: "Re: DISPLAY vble: problem in Debian linux X"
- Next in thread: Kip Rugger: "Re: Xinitrc and choosing a WM"
- Reply: Kip Rugger: "Re: Xinitrc and choosing a WM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 22 Aug 2004 20:50:01 -0400
hello all, hope i could get some input
I am trying to conditionalize my .xinitrc file so that if i type
$ startx kde
or
$ startx fluxbox
the appropriate WM gets started. I have seen examples around on the net
awhile back but I can't get it to work. The relavent section at
the bottom of my .xinitrc is
if [ "$1" = "kde" ]; then
startkde
elif [ "$1" = fluxbox ]; then
startfluxbox
else
#choose some default
startkde
fi
So as it stands the default action (else block) will happen ok. And i know
that 'startfluxbox' is the right command to use for fluxbox. The issue i
have is that whatever i type after startx gets processed by the startx
script, so i get an error that says something like "unknown option kde".
I'm pretty sure that this can be done in the .xinitrc file, but i have hit
a brickwall. Any advice would be appreciated.
- Next message: Francesc Guasch: "Re: Can't type backticks ( problems with <> keys )"
- Previous message: Saul Lubkin: "Re: DISPLAY vble: problem in Debian linux X"
- Next in thread: Kip Rugger: "Re: Xinitrc and choosing a WM"
- Reply: Kip Rugger: "Re: Xinitrc and choosing a WM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|