SHARE
TWEET

xview xinitrc

ponce Apr 10th, 2014 54 Never
  1. #!/bin/sh
  2.  
  3. userresources=$HOME/.Xresources
  4. usermodmap=$HOME/.Xmodmap
  5. sysresources=/etc/X11/xinit/.Xresources
  6. sysmodmap=/etc/X11/xinit/.Xmodmap
  7.  
  8. # Merge in defaults and keymaps
  9. [ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources
  10. [ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
  11. [ -f $userresources ] && /usr/bin/xrdb -merge $userresources
  12. [ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
  13.  
  14. # Start olvwm
  15. if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  16.     exec ck-launch-session dbus-launch --exit-with-session /usr/bin/olvwm
  17. else
  18.     exec olvwm
  19. fi
RAW Paste Data
Top