View previous topic :: View next topic |
Author |
Message |
computer_druid n00b
Joined: 03 Jan 2005 Posts: 19 Location: New England, USA
|
Posted: Fri Mar 18, 2005 6:39 pm Post subject: Starting different DEs manually [ SOLVED ] |
|
|
[ QUESTION ]
Is there an easy way to load up any one of the desktop environments (even using Aliases) with a command line so tha tI don't have to go into a grpahical login automatically?
[ CURRENT SITUATION ]
I have on my system KDE, Gnome and Xfce4. Since my system is a slower one, I like having the option of going into any of the Desktop Environments or staying at the command line. (This is especially handy if I'm doing an emerge, see my post on the forums) .
I like how I can type to get into the Xfce desktop but so far the only way I've figured out how to get into Gnome or KDE is if I have exec startkde or exec gnome-session in ~/.xinitrc. Deleting ~/.xinitrc and running startx came up with KDE 3.2 instead (I've upgraded from 3.2 to 3.3 )!
[ PREVIOUS SITUATION ]
Before my last re-install, I had the KDE manager as my default. When I tried to get out of the graphical desktops it waited about 5+ seconds and then restarted the graphical login manager. I couldn't figure out how to kill it completely.
There is a possibility I set it up to automatically log in as a particular user but I do not think I set it up to automatically log in as a user after a certain amount of time. _________________ Gentoo / Windows 98 (dual boot)
P III 500 MHz Coppermine
Sony Vaio desktop
Last edited by computer_druid on Sun Mar 20, 2005 3:04 am; edited 1 time in total |
|
Back to top |
|
|
vvlly n00b
Joined: 23 Sep 2002 Posts: 52
|
Posted: Fri Mar 18, 2005 9:30 pm Post subject: |
|
|
I've got this for my .xinitrc. I'm pretty sure I got this from someone on this forum a long time ago and I think it works pretty good.
Code: |
DEFAULTWM="/usr/local/bin/pekwm"
export OOO_FORCE_DESKTOP="gnome"
/usr/bin/xrdb ~/.Xdefaults
/usr/bin/xsetroot -solid black &
/usr/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5" &
if [ $@ ]
then
$@
else
${DEFAULTWM}
fi
|
With that a plain "startx" will start pekwm. "startx fluxbox" - fluxbox, "startx gnome-session" - gnome, etc... |
|
Back to top |
|
|
computer_druid n00b
Joined: 03 Jan 2005 Posts: 19 Location: New England, USA
|
Posted: Sun Mar 20, 2005 3:03 am Post subject: |
|
|
Thank you! It worked great!
I copied-pasted the information you had (above) and modified the DEFAULTWM = "startkde" and gave it a try!
I may experiment with the settings but at least this portion works! _________________ Gentoo / Windows 98 (dual boot)
P III 500 MHz Coppermine
Sony Vaio desktop |
|
Back to top |
|
|
|