View | Details | Raw Unified
Collapse All | Expand All

(-)update_wms.orig (+16 lines)
 Lines 44-46    Link Here 
44
		chmod 755 "/etc/X11/gdm/Sessions/$n"
44
		chmod 755 "/etc/X11/gdm/Sessions/$n"
45
	done
45
	done
46
fi
46
fi
47
48
# New GDM scheme
49
if [ -d /etc/X11/sessions ]; then
50
    rm -f /etc/X11/sessions/*
51
    for n in $runwmlist; do
52
	cat >"/etc/X11/sessions/$n.desktop" <<__EOF__
53
[Desktop Entry]
54
Encoding=UTF-8
55
Name=$n
56
Comment=$n session
57
Exec=`/usr/X11R6/bin/runwm --print $n`
58
Icon=
59
Type=Application
60
__EOF__
61
    done
62
fi