LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-17-2003, 09:05 PM   #1
ferrix
Member
 
Registered: Jun 2003
Location: Sydney, Australia
Distribution: Ultima, Blag, KateOS, PCLinuxOS, Frugalware
Posts: 216

Rep: Reputation: 31
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.
 
Old 06-17-2003, 09:54 PM   #2
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Rep: Reputation: 15
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
 
Old 06-17-2003, 10:04 PM   #3
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
The text file (shell script) to edit is

/etc/rc.d/rc.4
 
Old 06-18-2003, 02:46 AM   #4
ferrix
Member
 
Registered: Jun 2003
Location: Sydney, Australia
Distribution: Ultima, Blag, KateOS, PCLinuxOS, Frugalware
Posts: 216

Original Poster
Rep: Reputation: 31
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE 3.3 won't load when using startx Alinuxnoob Slackware 1 09-11-2004 09:03 PM
startx = windowmaker ... I WANT KDE!!! theMonkeY Linux - Software 3 09-07-2004 06:40 AM
My startx goes kde, i want fluxbox Balkman Linux - Newbie 6 07-25-2004 02:01 PM
startx to kde Longinus Linux - Newbie 4 02-12-2004 08:02 AM
Startx still runs KDE 3.0.1 instead of KDE 3.1 jtp51 Linux - General 1 02-07-2003 10:08 AM


All times are GMT -5. The time now is 07:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration