LXDM session definitions

All questions and problems regarding LXDE components including LXSession, LXAppearance, GPicView, Leafpad, LXTerminal, Xarchiver, LXNM to be discussed here.

For PCManFM questions, please ask in the dedicated forum below.
Locked
Freso
Posts: 3
Joined: Tue Oct 11, 2011 9:40 pm

LXDM session definitions

Post by Freso »

I've been trying to set up two different LXDE sessions (1: LXDE/Compiz, 2: LXDE/fluxbox), in addition to the standard one. However, I haven't been able to figure out where "session definitions" for LXDM go, neither in the documentation or via Google.

Does anyone have any pointers?
rokytnji
Posts: 131
Joined: Mon Jun 13, 2011 10:45 pm
Location: pecos.tx
Contact:

Re: LXDM session definitions

Post by rokytnji »

I haven't been able to figure out where "session definitions" for LXDM go,
Depends on what Login manager you are using in whatever distro you are using. I use AntiX and slim as my login manager which grabs its session choices from ~/.xinitrc file.

Code: Select all

#xset m 10 2
xmodmap -e 'pointer = 1 2 3 4 5'

# The following line gets changed by antiX-init.sh with the desktop= cheatcode
XINITRC_DEFAULT="startlxde"


case $1 in
icewm)
	exec icewm-session
	;;

lxde) 
        exec startlxde
        ;;

xfce)
        exec startxfce4
        ;;

dwm)
        exec dwm
        ;;

wmii)
        exec wmii
        ;;

fvwm-crystal)
        exec fvwm-crystal 
        ;;

kde)
        exec startkde
        ;;

gnome)
        exec gnome-session
        ;;

openbox)
        exec openbox-session
        ;;

fluxbox)
	exec startfluxbox
	;;

Rox-fluxbox)
        rox --pinboard=antiX
        exec startfluxbox
        ;; 

Rox-icewm)
        rox --pinboard=antiX
        exec icewm-session
        ;;

*)
	exec $XINITRC_DEFAULT
	;;
esac
Amrel RT 786ex 1.6ghz, 512MB ram , AntiX 8.5 core, Biker Linux user # 475019
Lead,Follow, or get the heck out of the way
My AntiX LXDE Install
Freso
Posts: 3
Joined: Tue Oct 11, 2011 9:40 pm

Re: LXDM session definitions

Post by Freso »

rokytnji wrote:
I haven't been able to figure out where "session definitions" for LXDM go,
Depends on what Login manager you are using [...]
I'm using LXDM, as I stated in the original post.
rokytnji
Posts: 131
Joined: Mon Jun 13, 2011 10:45 pm
Location: pecos.tx
Contact:

Re: LXDM session definitions

Post by rokytnji »

Arch wiki probably will help for info on LXDM

https://wiki.archlinux.org/index.php/LXDE#LXDM
Amrel RT 786ex 1.6ghz, 512MB ram , AntiX 8.5 core, Biker Linux user # 475019
Lead,Follow, or get the heck out of the way
My AntiX LXDE Install
Freso
Posts: 3
Joined: Tue Oct 11, 2011 9:40 pm

Re: LXDM session definitions

Post by Freso »

The Arch Linux Wiki is indeed a wonderful ressource, and one of the better documentation compilations I've seen for a Linux distro, but on this point it falls short.

After a bunch of Google-fu exercising, I think I've found that the answer lies in /usr/share/xsessions/ and $HOME/.dmrc. Thanks to lxnay (and Vivek Gite) for showing the ropes, now I just need to pick them up and tie the knot... I'll keep y'all posted whether it works.
Locked