Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # the following variable defines the session which is started if the user
- # doesn't explicitely select a session
- DEFAULT_SESSION=openbox-session
- #OPTS=ck-launch-session dbus-launch --exit-with-session
- OPTS=ck-launch-session
- # Inicia o dbus-session
- source /etc/X11/xinit/xinitrc.d/30-dbus
- # Inicia o MATE Keyring
- /usr/bin/mate-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh
- case $1 in
- mate)
- exec $OPTS mate-session
- ;;
- xfce)
- exec $OPTS startxfce4
- ;;
- gnome)
- exec $OPTS gnome-session
- ;;
- kde)
- exec $OPTS startkde
- ;;
- openbox)
- exec $OPTS openbox-session
- ;;
- subtle)
- exec $OPTS subtle
- ;;
- *)
- exec $OPTS $DEFAULT_SESSION
- ;;
- esac
Advertisement
Add Comment
Please, Sign In to add comment