LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2006, 05:01 PM   #1
roddyguk
Member
 
Registered: Oct 2005
Location: portsmouth, uk
Distribution: DSL
Posts: 47

Rep: Reputation: 15
using more then 1 windows manager


hi, i would like to play around with a few window managers, but im not sure on how i would go about starting each 1.

can i make a file so if i typed startflux it would run fluxbox, startkde to start kde and so on?

im running debian 3.1
 
Old 03-12-2006, 05:29 PM   #2
Saketh
Member
 
Registered: Jun 2005
Posts: 62

Rep: Reputation: 15
If you install the window manager, then at a graphical login screen you should have a button which says "Sessions" or something of the sort. After installing Fluxbox or whatever you should have the option of booting into Fluxbox rather than KDE, GNOME, etc.

If you are using a text-based login system, then I have no idea.
 
Old 03-12-2006, 05:39 PM   #3
roddyguk
Member
 
Registered: Oct 2005
Location: portsmouth, uk
Distribution: DSL
Posts: 47

Original Poster
Rep: Reputation: 15
yeah i am using a text-based login, thats why i want to use the command startflux or whatever.

cheers for the suggestion tho
 
Old 03-12-2006, 05:49 PM   #4
devavictrix
Member
 
Registered: Jan 2006
Posts: 72

Rep: Reputation: Disabled
im interested in this too.
How difficult is it to uninstall a window manager/desktop once ive chosen my fav?
 
Old 03-12-2006, 06:00 PM   #5
roddyguk
Member
 
Registered: Oct 2005
Location: portsmouth, uk
Distribution: DSL
Posts: 47

Original Poster
Rep: Reputation: 15
if i remember correctly when i last removed 1, i ran apt-get remove fluxbox or whatever
 
Old 03-12-2006, 06:28 PM   #6
Saketh
Member
 
Registered: Jun 2005
Posts: 62

Rep: Reputation: 15
You should have a ~/.xinitrc file. Open this in your favorite text editor (after creating a backup of course!).

It should have a line which says "exec startkde" or something. Change this to any of the following to change your default login.

KDE = startkde
Gnome = gnome-session
Blackbox = blackbox
FVWM = fvwm
FVWM2 = fvwm2
Window Maker = wmaker
IceWM = icewm
Fluxbox = fluxbox
So for example, if you wanted GNOME as your default, change "exec startkde" to "exec gnome-session."

In the same vein, from your text-based login, you should be able to execute any of the window managers as follows:
Quote:
% startkde
Or:
Quote:
% fluxbox
I'm not sure about this, but I think this is the way that I did it back when I had a text-based login. Also, if the command doesn't work, maybe your version of Linux requires a direct path to the executable.

On Debian, installing Fluxbox would require:
Quote:
apt-get install fluxbox
and uninstallation would be:
Quote:
apt-get remove fluxbox
Tell me if this works.
 
Old 03-13-2006, 11:42 AM   #7
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
if you're uninstalling on Debian using apt-get, remember to use the --purge option or the prereq packages will not be removed, leading to a pile of sh$t on your drive...

For example:

apt-get --purge remove fluxbox # removes fluxbox and dependencies

while

apt-get remove fluxbox # removes only the fluxbox package
 
Old 03-13-2006, 05:51 PM   #8
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Use xinit:

xinit /usr/bin/fluxbox

(replace with the path to the window manager you want to run)
 
Old 03-13-2006, 07:00 PM   #9
roddyguk
Member
 
Registered: Oct 2005
Location: portsmouth, uk
Distribution: DSL
Posts: 47

Original Poster
Rep: Reputation: 15
Saketh that worked a treat cheers, but i dont want to have to edit my .xinitrc file every time i want to switch window manager! is there a way to set it up so i could use startflux for fluxbox and startkde for kde?

Komakino that also works great, cheers!

could i make a script file called startflux, startkde, ect to start my managers?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which X-windows manager do you use? dhatcher Debian 3 06-16-2005 07:03 PM
What Windows Manager is this?? Tyir Linux - General 8 02-23-2004 10:26 PM
Windows Manager psyklops Linux - General 7 08-21-2003 10:06 PM
windows manager... doonam Linux - Newbie 1 08-18-2003 08:23 AM
Which Windows Manager?? Rampage2884 Linux - General 7 04-06-2002 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration