Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 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. ## Group start:
  32. ## 1. nitrogen - restores wallpaper
  33. ## 2. compositor - start
  34. ## 3. sleep - give compositor time to start
  35. ## 4. tint2 panel
  36. #(\
  37. #nitrogen --restore && \
  38. #cb-compositor --start && \
  39. #sleep 2s && \
  40. #tint2 \
  41. #) &
  42. tint2 &
  43.  
  44. ## Volume control for systray
  45. (sleep 2s && pnmixer) &
  46.  
  47. ## Volume keys daemon
  48. xfce4-volumed &
  49.  
  50. ## Enable power management
  51. xfce4-power-manager &
  52.  
  53. ## Start Thunar Daemon
  54. thunar --daemon &
  55.  
  56. ## Detect and configure touchpad. See 'man synclient' for more info.
  57. if egrep -iq 'touchpad' /proc/bus/input/devices; then
  58. synclient VertEdgeScroll=1 TapButton1=1 &
  59. fi
  60.  
  61. ## Start xscreensaver
  62. xscreensaver -no-splash &
  63.  
  64. ## Start Clipboard manager
  65. (sleep 3s && clipit) &
  66.  
  67. ## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
  68. ## Adjust the values according to your preferances.
  69. xset r rate 250 25 &
  70.  
  71. ## Turn on/off system beep
  72. xset b off &
  73.  
  74. ## The following command runs hacks and fixes for #! LiveCD sessions.
  75. ## Safe to delete after installation.
  76. cb-cowpowers &
  77.  
  78. ## cb-welcome - post-installation script, will not run in a live session and
  79. ## only runs once. Safe to remove.
  80. (sleep 10s && cb-welcome --firstrun) &
  81.  
  82. ## cb-fortune - have Waldorf say a little adage
  83. #(sleep 120s && cb-fortune) &
  84.  
  85. ## Run the conky
  86. conky -q &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement