taklertamas

Openbox autostart.sh

Apr 23rd, 2013
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.01 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. ## More information about this can be found at:
  8. ## http://openbox.org/wiki/Help:Autostart
  9. ##
  10. ## If you do something cool with your autostart script and you think others
  11. ## could benefit from your hack, please consider sharing it at:
  12. ## http://crunchbanglinux.org/forums/
  13. ##
  14. ## Have fun! :)
  15.  
  16. ## Start session manager
  17. lxsession &
  18.  
  19. ## Enable power management
  20. xfce4-power-manager &
  21.  
  22. ## Start Thunar Daemon
  23. ## thunar --daemon &
  24.  
  25. ## Set desktop wallpaper
  26. nitrogen --restore &
  27.  
  28. ## Launch panel
  29. tint2 &
  30.  
  31. ## Enable Eyecandy - off by default, uncomment one of the commands below.
  32. ## Note: cairo-compmgr prefers a sleep delay, else it tends to produce
  33. ## odd shadows/quirks around tint2 & Conky.
  34. #(sleep 10s && cb-compmgr --cairo-compmgr) &
  35. #cb-compmgr --xcompmgr &
  36.  
  37. ## Launch network manager applet
  38. (sleep 4s && nm-applet) &
  39.  
  40. ## Detect and configure touchpad. See 'man synclient' for more info.
  41. if egrep -iq 'touchpad' /proc/bus/input/devices; then
  42. synclient VertEdgeScroll=1 &
  43. synclient TapButton1=1 &
  44. fi
  45.  
  46. ## Start xscreensaver
  47. xscreensaver -no-splash &
  48.  
  49. ## Start Conky after a slight delay
  50. (sleep 3s && ~/blacktable_conky.sh) &
  51.  
  52. ## Start volumeicon after a slight delay
  53. (sleep 3s && volumeicon) &
  54.  
  55. ## Start Clipboard manager
  56. (sleep 3s && parcellite) &
  57.  
  58. ## Bad Nautilus, minimises the impact of running Nautilus under
  59. ## an Openbox session by applying some gconf settings. Safe to delete.
  60. cb-bad-nautilus &
  61.  
  62. ## The following command will set-up a keyboard map selection tool when
  63. ## running in a live session.
  64. ## cb-setxkbmap-live &
  65.  
  66. ## cb-welcome - post-installation script, will not run in a live session and
  67. ## only runs once. Safe to remove.
  68. ## (sleep 10s && cb-welcome --firstrun) &
  69.  
  70. ## cb-fortune - have Statler say a little adage
  71. (sleep 120s && cb-fortune) &
Advertisement
Add Comment
Please, Sign In to add comment