Bug 17197 - arg to specify DE in startx line
Summary: arg to specify DE in startx line
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: XFree86
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-03 02:26 UTC by Kevin Breit
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-11-14 17:43:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Kevin Breit 2000-09-03 02:26:51 UTC
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:
startx gnome
and it'll load gnome.
startx kde
will load kde, etc, etc.

Comment 1 Mike A. Harris 2001-03-14 03:53:37 UTC
This already exists more or less.  The "switchdesk" package.  For more info,
make sure switchdesk is installed, and read the manpage for it:

man switchdesk

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.




Note You need to log in before you can comment on or make changes to this bug.