https://bugzilla.novell.com/show_bug.cgi?id=667408
https://bugzilla.novell.com/show_bug.cgi?id=667408#c9
--- Comment #9 from Guido Berhörster 2011-01-29 21:10:37 UTC ---
Created an attachment (id=411138)
--> (http://bugzilla.novell.com/attachment.cgi?id=411138)
change value of DEFAULT_WM to the basename of the session file
Here is an implementation of option b as described in comment#7:
/etc/profile.d/profile.sh and /etc/init.d/xdm uses DEFAULT_WM to set
WINDOWMANAGER to the absolute path of an executable as follows:
WINDOWMANAGER="`type -p ${DEFAULT_WM##*/}`"
This can be changed so the executable is extracted from the session file:
WINDOWMANAGER="$(
while read -r line; do
case ${line} in
Exec=*) printf "%s\n" "$(type -p ${line#Exec=})"
break;;
esac
done < /usr/share/xsessions/${DEFAULT_WM}.desktop
)"
sysconfig.windowmanager specifies the default value and describes the variable
so it has to be changed to reflect the new values.
All three files have been changed in home:gberh:branches:Base:System/aaa_base
and home:gberh:branches:X11:XOrg/xorg-x11.
Finally the yast installation control files and the included description need
to be changed so the installer sets the right values, see attached patch.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.