Advertisement
NolanSyKinsley

Untitled

Aug 13th, 2014
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. ## Openbox autostart.sh
  2. ## ====================
  3. ## When you login to your CrunchBang Openbox session, this autostart script
  4. ## will be executed to set-up your environment and launch any applications
  5. ## you want to run at startup.
  6. ##
  7. ## Note*: some programs, such as 'nm-applet' are run via XDG autostart.
  8. ## Run '/usr/lib/openbox/openbox-xdg-autostart --list' to list any
  9. ## XDG autostarted programs.
  10. ##
  11. ## More information about this can be found at:
  12. ## http://openbox.org/wiki/Help:Autostart
  13. ##
  14. ## If you do something cool with your autostart script and you think others
  15. ## could benefit from your hack, please consider sharing it at:
  16. ## http://crunchbang.org/forums/
  17. ##
  18. ## Have fun & happy CrunchBangin'! :)
  19.  
  20. ## GNOME PolicyKit and Keyring
  21. eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &
  22.  
  23. ## Set root window colour
  24. hsetroot -solid "#2E3436" &
  25.  
  26. ## Group start:
  27. ## 1. nitrogen - restores wallpaper
  28. ## 2. compositor - start
  29. ## 3. sleep - give compositor time to start
  30. ## 4. tint2 panel
  31. (\
  32. nitrogen --restore && \
  33. cb-compositor --start && \
  34. sleep 2s && \
  35. tint2 \
  36. ) &
  37.  
  38. ## Volume control for systray
  39. (sleep 2s && pnmixer) &
  40.  
  41. ## Volume keys daemon
  42. xfce4-volumed &
  43.  
  44.  
  45. ## Start Thunar Daemon
  46. thunar --daemon &
  47.  
  48. ## Detect and configure touchpad. See 'man synclient' for more info.
  49. if egrep -iq 'touchpad' /proc/bus/input/devices; then
  50. synclient VertEdgeScroll=1 &
  51. synclient TapButton1=1 &
  52. fi
  53.  
  54.  
  55. ## Start Clipboard manager
  56. (sleep 3s && clipit) &
  57.  
  58. ## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
  59. ## Adjust the values according to your preferances.
  60. xset r rate 250 25 &
  61.  
  62. ## Turn on/off system beep
  63. xset b off &
  64.  
  65.  
  66. ## cb-fortune - have Waldorf say a little adage
  67. (sleep 120s && cb-fortune) &
  68.  
  69. ## Run the conky
  70. conky -q &
  71.  
  72. ##Xchat
  73. xchat &
  74.  
  75. ##Steam
  76. #steam-debian &
  77.  
  78. ##noblank
  79. xset s off &
  80. xset -dpms &
  81. xsed s noblank &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement