startx and KDE?
I only just installed my first Slackware (9.0), so bear with me :) My question is, what do I need to do to get KDE going when starting my session with startx? Currently, it defaults to Gnome, I think because I installed Dropline Gnome. This is fine, I don't want to change the default - I just want to have a way of getting into KDE now and then. I believe I'd need to make an entry in my ~/.xinitrc - is that correct, and what would that entry be?
I would prefer not to resort to going through gdm (or kdm) either - I'm happy with startx. |
Type "xwmconfig", select the one you want, exit, then startx. You will need to switch this back to gnome when you wish to use it again.
I'm sure there's a text file you can edit somewhere, but I don't know which one :) greg |
The text file (shell script) to edit is
/etc/rc.d/rc.4 |
Thanks, xwmconfig is helpful. After a bit of digging, I found the script that gets KDE going: it's /opt/kde/bin/startkde.
Putting "exec /opt/kde/bin/startkde" in my ~/.xinitrc starts KDE. Putting "exec /usr/X11R6/bin/fluxbox" starts Fluxbox instead. Having nothing in .xinitrc defaults to Gnome. Excellent. What I would like to do now is collect this into some sort of script, so I could go "startx kde" and get kde, "startx fluxbox" to get fluxbox, etc. In short, I'd like some functionality of GDM without actually starting GDM... |
All times are GMT -5. The time now is 05:42 AM. |