LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-20-2004, 08:12 AM   #1
kwerkun
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Rep: Reputation: 0
How to change default window manager?


It should be a simple matter but I just cannot figure it out. I installed Mandrake 10.1 with Gnome as default. Later I changed my mind and decided to use KDE instead. Now, everytime I login I have to manually select KDE, otherwise Mandrake defaults to Gnome. Is there a way in Mandrake 10.1 to simply set default to KDE ?

Thanks in advance

Chris
 
Old 10-20-2004, 08:23 AM   #2
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
edit the /etc/sysconfig/desktop file and change what's in there to
Code:
DESKTOP="KDE"
DISPLAYMANAGER="KDE"
that should do the trick.
 
Old 10-20-2004, 09:21 AM   #3
kwerkun
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for quick response. I made the changes and it does work - as long as I use XDM as display manager for graphical login interface. I still have a problem though when I use KDM (which looks much better). For some reason it keep defaulting to Gnome. When I highlight the DM selection it shows "KDE" then "GNOME (previous)". I guess status "(previous)" makes it default. The weird thing is that the real "previous" was KDE, but somehow Mandreke does not update it. Is there any way to fix it?
 
Old 10-20-2004, 09:31 AM   #4
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Hmmm, dunno about that m8, normally the changes you made in /etc/sysconfig/desktop override all the rest.
 
Old 10-20-2004, 09:45 AM   #5
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
Code:
switchdesk kde
will change to KDE and make it default.

Boby
 
Old 10-20-2004, 10:00 AM   #6
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
isn't the switchdesk utility redhat/fedora specific?
 
Old 10-20-2004, 11:48 AM   #7
kwerkun
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I tried sitchdesk kde but mandrake does not seem to recognize this name/command. It may be that I am not running it from the right place - but it is not in /usr/sbin or /usr/bin directories where I'd think it'd normally be. As another data point, I noticed that although my login DM is KDM (at least according to Mandrake Control Center), it looks suspiciously like GNOME - the hourglass is the same. It may be that KDM looks similar but... If it was GNOME that could explain why I keep getting "GNOME (previous)" in my DM selection in Login box and why it keep defaulting to GNOME.

Anyways, easiest may be simply to reinstall Mandrake using KDE as default and avoid all this anguish. I haven't yet done too much work to it so it wouldn't be a disaster. It's clearly not optimal given such a small issue (but annoying nonetheless) but well...
Btw, is there a way to get ATI 9700 Pro to work other than running it using ATI Dev drivers (with these I get only 65K and 3D seems very very slow). I know, by now, that ati is by far the worst choice for graphic cards for Linux (in terms of drivers), but I'd appreciate any pointers to make it work better, if there are any ;>

Thanks

Chris
 
Old 10-20-2004, 12:20 PM   #8
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
Quote:
isn't the switchdesk utility redhat/fedora specific?
Yes, but I knew it exists in Mandrake too. But maybe it was only in older versions

Here is a link with the summary of RPM's on the Mandrake CD. It's there "switchdesk-1.7.1-13mdk.i586.rpm" . Maybe he has not installed it.

Boby
 
Old 10-20-2004, 10:58 PM   #9
kwerkun
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
switchdesk does not appear to be a part of latest Mandrake distro (10.1 Community at least). The list from the website is from 2000. I checked all install CDs and this package was not there.

I fixed the issue by simply uninstalling GNOME from my system. The login then automatically defaulted to DEFAULT (previous) which turned out to be KDE - probably due to the edits I made earlier as per your advice. So it works fine now - I still don't know what happened but suspect that there must be yet another config file for KDM which had GNOME as default and was overriding other settings.

Thanks for all the help. I have one more question about ATI Radeaon but will post it separately.

Chris
 
Old 10-21-2004, 03:35 AM   #10
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Quote:
I fixed the issue by simply uninstalling GNOME from my system.
Quite radical if you ask me, it would have been better if we had found what was cayusing this behavior.
Plus, removing gnome and all its libraries might cause problems in the future...
If you ever wanna use software that needs one of those you may have to reinstall the whole bunch again.
 
Old 11-11-2004, 06:36 PM   #11
AVD_ZM
Member
 
Registered: Oct 2004
Location: HELLAS aka Greece
Distribution: K/Ubuntu Knoppel
Posts: 114

Rep: Reputation: 15
just wanted 2 say thanx,
switchdesk worked 4 me

thanx again
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the window manager for GNOME? (default is sawfish?) sylvain_gnu Linux - Newbie 9 08-06-2007 02:07 AM
default window manager srinis Linux - General 2 01-24-2005 04:02 AM
How to change the window manager for GNOME? (default is sawfish?) sylvain_gnu Linux - Software 2 04-20-2004 02:25 PM
change default window manager? sporkit Linux - Software 6 03-14-2004 04:12 PM
Default Window Manager JHuizingh Linux - General 6 08-19-2001 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration