i use this script:

#! /bin/bash

case "$1" in

    gnome)
         echo 'exec gnome-session' > ~/.xinitrc
         ;;

    kde)
         echo 'startkde' > ~/.xinitrc

    *)
         echo $"chose either gnome or kde"
         exit 1

esac

startx

exit 0

######## end script

put that in the user directory, call it switcher (or something), chmod u+x 
it, and run ./swither kde or ./switcher gnome.

you could also put it in /usr/bin i supppose.

hope that helps. 

i'm sure i'll get flamed for something. ;-)

On Tue, 16 Apr 2002, Kjetil Tjensvold wrote:

> Can I have both as defult. Not only the KDE instead of
> Gnome. I want both. 
> 
> 
> 
> --- [EMAIL PROTECTED] skrev: > startx is the way I
> start it.
> > 
> > You used to be able to go into Xconfigurator and set
> > GUI as the default
> > login.  If you See Gnome instead of KDE you can go
> > into the desktop settings
> > and set KDE as the default X service.
> > 
> > I think I said that right.
> > 
> > carl
> > 
> > -----Original Message-----
> > From: Kjetil Tjensvold [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 16, 2002 10:42 AM
> > To: redhat list redhat list
> > Subject: How to start KDE
> > 
> > 
> > How do you start KDE??
> > 
> > =====
> > Investigating the Norwegain 4.th Secret Service
> > The multiheaded animal.
> > http://hjem.sol.no/altiett/knut_ove_hauge_kuren.htm
> > 
> >
> ______________________________________________________
> > Sjekk snørapporter...
> > fra 500 ski-destinasjoner i Europa
> > på http://no.snow.yahoo.com/
> > 
> > 
> > 
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> >
> https://listman.redhat.com/mailman/listinfo/redhat-list
> > 
> > 
> > 
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> =====
> Investigating the Norwegain 4.th Secret Service
> The multiheaded animal.
> http://hjem.sol.no/altiett/knut_ove_hauge_kuren.htm
> 
> ______________________________________________________
> Sjekk snørapporter...
> fra 500 ski-destinasjoner i Europa
> på http://no.snow.yahoo.com/
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 

-- 
Jack Wallen, Jr.                                  
Track Editor - Linux/UNIX and Infrastructure         
TechRepublic (CNET Networks)                       L   I   N   U   X
http://www.techproguild.com
502-814-7741                                       R   O   C   K   S

Key fingerprint = B7C9 3A5A 0031 5FBC B050  6822 1269 7711 B37B 4F83
sub  1024g/00E9A596 2001-05-11



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to