sistematico

~/.xinitrc

Oct 3rd, 2011
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.78 KB | None | 0 0
  1. # the following variable defines the session which is started if the user
  2. # doesn't explicitely select a session
  3.  
  4. DEFAULT_SESSION=openbox-session
  5.  
  6. #OPTS=ck-launch-session dbus-launch --exit-with-session
  7. OPTS=ck-launch-session
  8.  
  9. # Inicia o dbus-session
  10. source /etc/X11/xinit/xinitrc.d/30-dbus
  11.  
  12. # Inicia o MATE Keyring
  13. /usr/bin/mate-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh
  14.  
  15. case $1 in
  16.     mate)
  17.         exec $OPTS mate-session
  18.         ;;
  19.     xfce)
  20.         exec $OPTS startxfce4
  21.         ;;
  22.     gnome)
  23.         exec $OPTS gnome-session
  24.         ;;
  25.     kde)
  26.         exec $OPTS startkde
  27.         ;;
  28.     openbox)
  29.         exec $OPTS openbox-session
  30.         ;;
  31.     subtle)
  32.         exec $OPTS subtle
  33.         ;;
  34.     *)
  35.         exec $OPTS $DEFAULT_SESSION
  36.         ;;
  37. esac
Advertisement
Add Comment
Please, Sign In to add comment