DJ Lucas wrote:


On 11/27/2016 10:06 AM, Pierre Labastie wrote:
Hi [mostly for DJ and Douglas],

In the "Starting LXDE" section of lxde-common, I see that the proposed
xinitrc uses ck-launch-session. I guess it is wrong with systemd, but I
am not sure how the instructions should be changed. Could somebody have
a look?

I've tested all *DMs at one time or another, but I'm not sure I've used
any of the DE's without a display manager. I'll check it out on this build.

Just FYI, this is what I use for ~/.xinitrc

  -- Bruce


$ cat ~/.xinitrc
session=${2:-xfce}

ck="ck-launch-session dbus-launch --exit-with-session"

case $session in
    fluxbox     ) exec startfluxbox              ;;
    icewm       ) exec icewm-session             ;;
    openbox     ) exec openbox-session           ;;
    sawfish     ) exec sawfish                   ;;
    kde5|plasma ) exec $ck /opt/kf5/bin/startkde ;;
    xfce|xfce4  ) exec $ck startxfce4            ;;
    lxde        ) exec $ck startlxde             ;;
    lxqt        ) $ck /opt/lxqt/bin/startlxqt    ;;
    lxqt2       ) exec /opt/lxqt/bin/startlxqt   ;;

    twm         ) xterm  -g 80x40+0+0   &
                  xclock -g 100x100-0+0 &
                  twm
                  ;;

   # No known session, just say so
    *) echo "Cannot run $1" ;;
esac

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to