Posts: 8
pendekar
Joined: 20 Jul 2012
#1
Hi all,
after installing Lxde i found, slim did not respect my default WM when forgetting to touch F1 key while login. So, ...

(1) i introduced the *lxde,* sth in the line *sessions* in 7etc/slim.conf, like this:
sessions lxde,icewm,Rox-icewm,fluxbox,Rox-fluxbox,jwm,Rox-jwm,dwm,wmii

(2) i put a somehow tricky para in 7home/myhomedir/.xinitrc, just instead of the old *case $1*
XINITRC_DEFAULT="startfluxbox"
#REFURBISH=${1} or first item of 7etc/slim.conf ###slash problem on editing
REFURBISH=$( 'sed' -rn -e 's/^sessions[ \t\r]+([^,]+).*$/\1/p ' 7etc/slim.conf )
REFURBISH="${1:-$REFURBISH}"

#case $1 in
case $REFURBISH in

That helped, no need to press F1 whilst slim-login. Whoever liked to adopt this version may do so. (works for antix M11 too, would be nice such a solution could find a way in the next M13 distro __{{emoticon}}__ )

Best regards
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#2
If the program /usr/local/bin/change-default-desktop exists then it will do all of this for you.

In the next release it will be called update-default-desktop.