Results 1 to 8 of 8
How does one change the default desktop environment from the command line?
Thanks in advance
--James.
current distro: Linspire (debian)...
- 10-11-2006 #1Just Joined!
- Join Date
- Apr 2005
- Location
- England
- Posts
- 33
default desktop environment
How does one change the default desktop environment from the command line?
Thanks in advance
--James.
current distro: Linspire (debian)
- 10-11-2006 #2
I'm not sure if Linspire fully supports anything other than KDE, but provided you have something like GNOME installed already, you should be able to launch it by modifying your .xinitrc file (which is in your user's /home/ directory) to say something like this:
If you want to go back to the default KDE session, change it to this:Code:exec gnome-session
If there's already something in your .xinitrc, I'd recommend not deleting it; just comment it out by putting a # sign at the beginning of the line.Code:exec startkde
Registered Linux user #270181
TechieMoe's Tech Rants
- 10-15-2006 #3Just Joined!
- Join Date
- Apr 2005
- Location
- England
- Posts
- 33
xintrc
Hi, my system doesnt appear to have individual xinitrc files but my global Xinitrc file reads:
so should i just add the extra "exec enlightenment-session" after the last line???Code:#!/bin/sh # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ # /etc/X11/xinit/xinitrc # # global xinitrc file, used by all X sessions started by xinit (startx) # invoke global X session script . /etc/X11/Xsession
Thanks again.
- 10-15-2006 #4Linux User
- Join Date
- Aug 2005
- Posts
- 408
Actually, what comes up when you run the command:
...because it should just be a symbolic link to your default window manager/gui, and you can change it this way too.Code:ls -l /etc/X11/Xsession
- 10-15-2006 #5Just Joined!
- Join Date
- Apr 2005
- Location
- England
- Posts
- 33
I get:
I know im using X, but apart from that?Code:-rwxr-xr-x 1 root root 3976 2005-03-09 13:48 /etc/X11/Xsession
thanks for your help.
- 10-15-2006 #6Linux User
- Join Date
- Aug 2005
- Posts
- 408
You know what? I made a mistake and answered off the top of my head. I thought I changed it that way with debian awhile ago, but I apparently don't know what I'm talking about. I think I actually changed the default-display-manager symbolic link.
- 10-15-2006 #7Just Joined!
- Join Date
- Apr 2005
- Location
- England
- Posts
- 33
dont worry about it. thanks for your help anyways
- 10-15-2006 #8Linux User
- Join Date
- Aug 2005
- Posts
- 408
I remember now!
I changed it in debian/sarge by deleting the x-window-manager symbolic link in /etc/alternatives that was pointing to /usr/bin/blackbox and making a new symbolic link that pointed to /usr/bin/fluxbox (kde, in your case):
x-window-manger --> /usr/bin/fluxbox
I also changed the x-window-manager.1.gz link to point to the right one too: /usr/share/man/man1/fluxbox.tar.gz (agian, kde in your case; verify the file is there first).
Would this work for your situation?


Reply With Quote
