LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   using more then 1 windows manager (https://www.linuxquestions.org/questions/linux-newbie-8/using-more-then-1-windows-manager-424216/)

roddyguk 03-12-2006 05:01 PM

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

Saketh 03-12-2006 05:29 PM

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.

roddyguk 03-12-2006 05:39 PM

yeah i am using a text-based login, thats why i want to use the command startflux or whatever.

cheers for the suggestion tho

LQ496873 03-12-2006 05:49 PM

im interested in this too.
How difficult is it to uninstall a window manager/desktop once ive chosen my fav?

roddyguk 03-12-2006 06:00 PM

if i remember correctly when i last removed 1, i ran apt-get remove fluxbox or whatever

Saketh 03-12-2006 06:28 PM

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.

Randux 03-13-2006 11:42 AM

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

Komakino 03-13-2006 05:51 PM

Use xinit:

xinit /usr/bin/fluxbox

(replace with the path to the window manager you want to run)

roddyguk 03-13-2006 07:00 PM

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?


All times are GMT -5. The time now is 07:55 AM.