Advertisement
Guest User

.xinitrc

a guest
Jul 27th, 2011
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #!/bin/sh
  2. #
  3. # ~/.xinitrc
  4. #
  5. # Executed by startx (run your window manager from here)
  6. [ -f /etc/xprofile ] && . /etc/xprofile
  7. [ -f ~/.xprofile ] && . ~/.xprofile
  8.  
  9. if [ -d /etc/X11/xinit/xinitrc.d ]; then
  10. for f in /etc/X11/xinit/xinitrc.d/*; do
  11. [ -x "$f" ] && . "$f"
  12. done
  13. unset f
  14. fi
  15.  
  16. # exec gnome-session
  17. # exec startkde
  18. # exec startxfce4
  19. # ...or the Window Manager of your choice
  20.  
  21. setxkbmap -option terminate:ctrl_alt_bksp &
  22. export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
  23. exec ck-launch-session dbus-launch openbox-session
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement