ratpoison.okubeni 803 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. If you are not using a graphical display manager (gsm, lightdm, kdm, ...),
  2. please consider adding this lines to your ~/.xinitrc
  3. #!/bin/sh
  4. userresources=$HOME/.Xresources
  5. usermodmap=$HOME/.Xmodmap
  6. sysresources=/usr/lib/X11/xinit/.Xresources
  7. sysmodmap=/usr/lib/X11/xinit/.Xmodmap
  8. # merge in defaults and keymaps
  9. if [ -f $sysresources ]; then
  10. xrdb -merge $sysresources
  11. fi
  12. if [ -f $sysmodmap ]; then
  13. xmodmap $sysmodmap
  14. fi
  15. if [ -f $userresources ]; then
  16. xrdb -merge $userresources
  17. fi
  18. if [ -f $usermodmap ]; then
  19. xmodmap $usermodmap
  20. fi
  21. # Start the window manager:
  22. if [ -x /usr/bin/ck-launch-session ]; then
  23. LAUNCH="ck-launch-session"
  24. else
  25. LAUNCH=""
  26. fi
  27. if [ -x /usr/bin/dbus-launch ]; then
  28. LAUNCH="$LAUNCH dbus-launch --exit-with-session"
  29. fi
  30. exec $LAUNCH /usr/bin/ratpoison