[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-factory
Subject:    [opensuse-factory] The meaning of DEFAULT_WM
From:       Guido Berhoerster <gber () opensuse ! org>
Date:       2011-01-28 12:18:03
Message-ID: 20110128121802.GH27890 () wopr ! local ! invalid
[Download RAW message or body]

From https://bugzilla.novell.com/show_bug.cgi?id=667408 :

There is an inconsistency between the use of DEFAULT_WM in
gdm / lxdm and in /etc/xinit.d/xdm / /etc/profile.d/profile.sh,
the former expects it to be the basename of the session file
whereas the latter use it to set the WINDOWMANAGER environment
variable which later used by the xsession scripts and expected to
be an executable.

Vincent has proposed three solutions:
 a) remove the gdm patch, and live with the fact that gnome will
    be the default
 b) standardize the meaning of DEFAULT_WM
 c) work around this by making sure that the name of the desktop
    file and the name of the executable are the same

In order to implement option b by consistently using the session
file name we'd need to set WINDOWMANAGER in /etc/xinit.d/xdm and
/etc/profile.d/profile.sh by parsing the xsession file (which is
easy since it is just a .desktop file) and edit the yast
installer control file to use lxde/kde4/xfce instead of
startlxde/startkde/startxfce.

Are there any other uses of DEFAULT_WM I'm not aware of?

Any objections to implementing option b as outlined above?

-- 
Guido Berhoerster
-- 
To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-factory+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic