Bug 131950 - anaconda select desktop manager
anaconda select desktop manager
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-07 07:23 EDT by Tomo Vuckovic
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-07 14:18:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tomo Vuckovic 2004-09-07 07:23:24 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Gecko/20040831

Description of problem:
Anaconda bad select desktop manager if only kde install.

Version-Release number of selected component (if applicable):
anaconda-10.0.2-0.20040901235037.1.i386.rpm

How reproducible:
Always

Steps to Reproduce:
1. install 
2. select only kde
3. /etc/sysconfig/desktop matter DESKTOP="GNOME"
    

Additional info:

in packeges.py :

gnomeSelected = (id.grpset.hdrlist.has_key('gdm')
                     and id.grpset.hdrlist['gdm'].isSelected())
    kdeSelected = (id.grpset.hdrlist.has_key('kdebase')
                   and id.grpset.hdrlist['kdebase'].isSelected())
    xinstalled = ((id.grpset.hdrlist.has_key('xorg-x11')
                   and id.grpset.hdrlist['xorg-x11'].isSelected()) or
                  (id.grpset.hdrlist.has_key('XFree86')
                   and id.grpset.hdrlist['XFree86'].isSelected()))

    if gnomeSelected:
        id.desktop.setDefaultDesktop("GNOME")
    elif kdeSelected:
        id.desktop.setDefaultDesktop("KDE")

if gdm installed GNOME set to default desktop KDE not checked.

change to :

   if gnomeSelected:
        id.desktop.setDefaultDesktop("GNOME")

   if kdeSelected:
        id.desktop.setDefaultDesktop("KDE")
Comment 1 Jeremy Katz 2004-09-07 14:18:50 EDT
GNOME is our default, thus if you install GNOME, then GNOME will be
the default desktop.

Note You need to log in before you can comment on or make changes to this bug.