Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-18-2003, 04:35 PM   #1
Registered: May 2002
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
switch between KDE and Fluxbox at login

hi, couldn't think of a more relevant forum, so I apologize if it is in the wrong place.

I don't know why I can't find an answer on any forums or on Google. I want to know how to switch between, say, KDE and Fluxbox from the command line (as opposed to GUI login). I like the eye candy in KDE, but I'd like to use Fluxbox for everyday, lightweight desktop use.

I've managed to find info on permanently changing from KDE to Fluxbox, but I want to keep both installed, and choose at command line when I log in which to use. Thanks.
Old 10-18-2003, 04:40 PM   #2
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 15
try switchdesk. I'm not sure if that will work, since that's usually a redhat/mandrake thing, but you can try it.


Last edited by icyfire; 10-18-2003 at 04:45 PM.
Old 10-18-2003, 06:29 PM   #3
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
change your /etc/inittab to the non-gui runlevel (usually 3, i think). example from my inittab:

# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot

# Default runlevel. (Do not set to 0 or 6)

notice it says id:3, which as the key says, equals multiuser mode with no graphical login (no KDM/GDM/XDM, etc.)

then modify the .xinitrc file in your /home/user directory (or make the file if you don't have one), and put "exec fluxbox" at the bottom (without the quotes). the next time you reboot or logout, type startx, and that should boot you into fluxbox.
Old 10-19-2003, 04:13 AM   #4
LQ Newbie
Registered: Aug 2003
Posts: 18

Rep: Reputation: 0
put some aliases in your .bashrc
alias flux='startx /usr/bin/fluxbox'
alias kde='startx'

after the login you can type flux or kde


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox Switch Window Replacement App? Aeiri Linux - Software 5 04-11-2005 06:10 PM
How do I switch between KDE and Windowmaker without a GUI login screen? EOHooligan Linux - Newbie 3 01-09-2005 06:25 PM
[Suse 9.1] Switch from KDE to Fluxbox Wind_Sp00n Linux - Newbie 5 09-28-2004 09:56 PM
How to switch workspaces in Fluxbox via keyboard shortcuts? oxblood Linux - Software 3 01-08-2004 11:21 AM
Fluxbox: Enabling KDE using package install of fluxbox underline Linux - Software 0 12-27-2003 10:11 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:15 AM.

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