Advertisement
corrosiontears

CrunchBang #! Openbox Autostart

Oct 30th, 2014
568
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.07 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3.  
  4. ## GNOME PolicyKit and Keyring
  5. eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &
  6.  
  7. ## Set root window colour
  8. hsetroot -solid "#2E3436" &
  9.  
  10. ## Group start:
  11. ## 1. nitrogen - restores wallpaper
  12. ## 2. compositor - start
  13. ## 3. sleep - give compositor time to start
  14. ## 4. tint2 panel
  15. (\
  16. nitrogen --restore && \
  17. cb-compositor --start && \
  18. sleep 2s \
  19. ) &
  20.  
  21. ## Volume control for systray
  22. (sleep 2s && pnmixer) &
  23.  
  24. ## Volume keys daemon
  25. xfce4-volumed &
  26.  
  27. ## Enable power management
  28. xfce4-power-manager &
  29.  
  30. ## Claws Mail
  31. claws-mail &
  32.  
  33. ## Start Thunar Daemon
  34. thunar --daemon &
  35.  
  36. ## Detect and configure touchpad. See 'man synclient' for more info.
  37. if egrep -iq 'touchpad' /proc/bus/input/devices; then
  38.     synclient VertEdgeScroll=1 &
  39.     synclient TapButton1=1 &
  40. fi
  41.  
  42. ## Start xscreensaver
  43. xscreensaver -no-splash &
  44.  
  45. ## Start Clipboard manager
  46. (sleep 3s && clipit) &
  47.  
  48. ## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
  49. ## Adjust the values according to your preferances.
  50. xset r rate 250 25 &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement