Beattie
03-21-2002, 06:03 PM
I just installed Mandrake 8.2. When I run startx it goes into KDE. What file do I have to edit, and how do I have to edit it to make it go into Gnome, or one of the other desktops?
|
Click to See Complete Forum and Search --> : how to change desktop env Beattie 03-21-2002, 06:03 PM I just installed Mandrake 8.2. When I run startx it goes into KDE. What file do I have to edit, and how do I have to edit it to make it go into Gnome, or one of the other desktops? ntt. 03-21-2002, 06:10 PM ~/.xinitrc Probably a line at the end that starts KDE, so comment it out with a # and change it to whatever you like. Beattie 03-21-2002, 06:13 PM Thanks, but actually .xinitrc doesn't exist... I dunno, maybe it's the new version of Mandrake. I did find a file called .desktop that had one line... DESKTOP=KDE I think that's the one I was looking for :) jglen490 03-21-2002, 06:13 PM Exactly!! Bring up the .xinitrc file THAT IS IN YOUR HOME DIRECTORY and change the "exec startkde" to "exec gnome-session". Actually it's better to comment the startkde line and add a new line with the gnome-session in it. Beattie 03-21-2002, 06:18 PM umm... like I said.. there is no .xinitrc in my home directory. ntt. 03-21-2002, 06:28 PM As you found the .desktop file, I am probably patronizing you, but nonetheless, it will be hidden so you'll have to type 'ls -la', and not just 'ls'. Maybe mandrake just does it differently for some reason - good luck! SpinyNorman 03-21-2002, 06:44 PM This might work: Try creating an .xinitrc file in your home dir with only the "exec gnome-session" line in it. (Assuming you want to start Gnome) mdwatts 03-21-2002, 07:32 PM Originally posted by Beattie: <STRONG>umm... like I said.. there is no .xinitrc in my home directory.</STRONG> Like suggested, create one. Else you could try changing DESKTOP=KDE to DESKTOP=GNOME mdwatts 03-21-2002, 07:34 PM Actually couldn't you use the KDE Control Center under System/Login Manager/Sessions and add gnome-session? jlany 03-21-2002, 08:08 PM Originally posted by Beattie: <STRONG>I just installed Mandrake 8.2. When I run startx it goes into KDE. What file do I have to edit, and how do I have to edit it to make it go into Gnome, or one of the other desktops?</STRONG> Actually, the easiest way to do this is to create an alias to the window manager in your '~/.basrrc' file like so: alias bb='echo DESKTOP=BlackBox >~/.desktop;startx -- -dpi 100' alias fb='echo DESKTOP=Fluxbox >~/.desktop;startx -- -dpi 100' alias e='echo DESKTOP=Enlightenment >~/.desktop;startx -- -dpi 100' alias k='echo DESKTOP=KDE >~/.desktop;startx -- -dpi 100' alias f='echo DESKTOP=XFce >~/.desktop;startx -- -dpi 100' This will then allow you to start Blacbox by simply typing 'bb' at the command line, or Fluxbox , 'fb',etc. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |