On Fri, 2001-09-28 at 23:00, Tom Allison wrote: > Tom Allison wrote: > > > I installed KDE and all the fixings. > > > > in my .xsession file I have, currently, > > > > --- > > #!/bin/bash > > gnome-session > > --- > > > > How do I edit this for using KDM? > > > > > > Sorry, I forgot something... > > How also would I edit this for starting KDM from the command line (startx)? > I had to drop using the xdm because X would hang when I did a suspend.
I use startx myself, and have two scripts to switch between kde and gnome: ================== use-gnome =================== #!/bin/bash update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/kde2 50 update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/gnome-session 99 =================== use-kde ====================== #!/bin/bash update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/kde2 99 update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/gnome-session 50 (forgive my editor for wrapping the long lines :-) Regards, Andrew. -- -------------------------------------------------------------------- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267