Red Hat Bugzilla – Bug 17197
arg to specify DE in startx line
Last modified: 2008-05-01 11:37:58 EDT
I'd really like a way to specify an arguement at the console when you type
startx to load a certain desktop environment. For example, I type:
and it'll load gnome.
will load kde, etc, etc.
This already exists more or less. The "switchdesk" package. For more info,
make sure switchdesk is installed, and read the manpage for it:
You could create a bash alias to do what you want something like (untested)
alias startgnome='switchdesk gnome;startx'
alias startkde='switchdesk kde;startx'
Changing the way the arguments to startx works would break a lot of
documentation, when there is already a way to do this. Hope this helps you
figure out something useful.