LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-19-2004, 12:15 AM   #1
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Rep: Reputation: 30
switching desktops


how do i use a differnt desktop like gnome instead of kde

and where are all my different desktops located


one more question why would i want to upgrade my xfree version?
any bennifits?
 
Old 02-19-2004, 11:14 AM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
1. you have to install them on your machine. then ur login manager (gdm/kdm/xdm) will let u choose. alternatively, u can edit .xsession or .xinitrc to load whichever u want.

2. the same reason you would want/not want to upgrade any piece of software. depends on whether the current one ur running does everything u want, and whether the new one is needed at all.
 
Old 02-19-2004, 11:48 AM   #3
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Same question

I have killed GNOME. I have played with permissions and killed GNOME (it doesnt start anymore). So I want to switch to KDE. How can I do that using only command line. GUI doesn't work Or do I have to reinstall Linux?
 
Old 02-19-2004, 11:59 AM   #4
masinick
Member
 
Registered: Apr 2002
Location: Concord, NH
Distribution: Debian, sidux, antiX, SimplyMEPIS, Kubuntu, Mandriva, Fedora, Xandros, Arch, and many others
Posts: 560
Blog Entries: 14

Rep: Reputation: 35
Re: Same question

Quote:
Originally posted by marghorp
I have killed GNOME. I have played with permissions and killed GNOME (it doesnt start anymore). So I want to switch to KDE. How can I do that using only command line. GUI doesn't work Or do I have to reinstall Linux?
You didn't specify which distribution, but from your user information, I'll assume you're using Red Hat. What I'd do, personally, if something got really messed up is this:

First I'd locate all the hidden files and directories associated with GNOME in my home directory, and I'd completely remove them. Then I'd try logging into GNOME and see if I could get lucky and have that fix the problem. If yes, then problem solved. Just be careful when configuring next time.

If that fails, the next thing to do would be to remove all the packages that have to do with GNOME. This would be a bit trickier and will require some understanding and knowledge. With the help of a package manager, it might be possible to locate them. (I could do this, but I have the experience). Once you get rid of all the packages, then install them again using either the installation CDs or the Red Hat FTP site.

Last ditch alternative is to reinstall. Again, I'd start simple and work up. First, I'd try to install/upgrade over what's already there by inserting the CDs and installing them again. If you're familiar with the command line, by explicitly using rpm with the -Uvh flags, sometimes you can install and upgrade software. IF nothing is different, it doesn't hurt anything, but if you have new sofware, it installs over existing software. I avoid using the force and override flags unless I have no other workarounds left.

If all of that fails, I rebuild the entire disk partition and reinstall the software. I rarely have to go to that extreme unless I'm testing something and I want to install or reinstall anyway.
 
Old 02-19-2004, 12:00 PM   #5
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
no no u dont have to reinstall linux.
since i dont use kde, i dont know the command to start it. if you do, then just type it in, or put it in ur .xsession file and type in startx.
 
Old 02-19-2004, 01:36 PM   #6
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
what's this .xsession file?

You are all talking about an .xsession file. But where is it? I don't have it. Locate .xsession doesn't find it. Does it exist or is it called differently. How do I configure it when I find it (or some other file)? Which directories and files in the home directory are associated with GNOME or KDE, so I know what to delete? I don't want to reinstal the whole linux again as it takes quite some time to reconfigure it after.
 
Old 02-19-2004, 02:51 PM   #7
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
.xsession is under ur home dir. it's a hidden file (hence, the . before xsession)
if "ls-a " does not show u, u can go and create that file.

for eg: here's mine, which loads xfce and a few other programs-
Code:
/usr/bin/xfce-mcs-manager
/usr/bin/xfwm4 --daemon
/usr/bin/xftaskbar4 &
/usr/bin/xfdesktop &

Eterm -x --no-cursor -g 159x15+0+840 --scrollbar 0 --buttonbar 0 -e grc tail -n 16 -f /var/log/messages &

#gdeskcal -x 1270 -y 0 &
gdeskcal -x 0 -y 0 &
#gdesklets &
gkrellm &
xscreensaver -nosplash &

exec /usr/bin/xfce4-panel
 
Old 02-19-2004, 03:04 PM   #8
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
neat

Yes ls -la doesn't show it so I will try to create it. It just wasn't there. Does anybody have any idea why it wasn't there? How can it load without that file? What is Xfce?

Last edited by marghorp; 02-19-2004 at 03:06 PM.
 
Old 02-19-2004, 03:25 PM   #9
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
it's ok if xsession wasnt there. it's not a proble, just create it. u might see an .xinitrc file. or maybe u dont have that either. it's basically an entry point when u do a startx. the commands in the file are run.

xfce is a desktop manager(like gnome/kde) that i use.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE switching desktops? Four Linux - Newbie 1 10-09-2005 02:59 AM
switching desktops glimmy Slackware 3 05-15-2005 09:58 PM
Switching Desktops ? KezzerDrix Ubuntu 3 04-12-2005 10:18 AM
switching desktops corbis_demon Linux - General 2 07-19-2004 02:08 AM
Switching Desktops jd300 Linux - Software 1 11-29-2001 01:42 AM


All times are GMT -5. The time now is 04:40 PM.

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