Advertisement
Guest User

autostart

a guest
May 6th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. ## Openbox autostart
  2. ## ====================
  3. ## When you login to your BunsenLabs 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
  9. ## /usr/lib/x86_64-linux-gnu/openbox-xdg-autostart --list
  10. ## or
  11. ## /usr/lib/i386-linux-gnu/openbox-xdg-autostart --list
  12. ## to list any XDG autostarted programs.
  13. ##
  14. ## More information about this can be found at:
  15. ## http://openbox.org/wiki/Help:Autostart
  16. ##
  17. ## If you do something cool with your autostart script and you think others
  18. ## could benefit from your hack, please consider sharing it at:
  19. ## http://forums.bunsenlabs.org (registration required)
  20. ##
  21.  
  22. ### SETTINGS START
  23.  
  24. ## Turn on/off system beep.
  25. xset b off
  26.  
  27. ## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
  28. ## Adjust the values according to your preferances.
  29. xset r rate 250 25
  30.  
  31. ## Add keyboard mapping.
  32. #xmodmap -e "keysym Insert = Multi_key"
  33.  
  34. ## Disable CapsLock
  35. #setxkbmap -option ctrl:nocaps
  36. # alternative: use as compose key
  37. #setxkbmap -option compose:caps
  38.  
  39. # Alias Super key to Super+Space for single-key menu.
  40. # See 'man xcape' for other possibilities.
  41. xcape -e 'Super_L=Super_L|space'
  42.  
  43. ### TOUCHPAD: comment out the next two entries if you don't have one
  44.  
  45. ## Configure touchpad. See 'man synaptics' for more info.
  46. ## (Now might be using libinput instead of synaptics.)
  47. synclient VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 2>/dev/null
  48.  
  49. ## Disable touchpad while typing
  50. syndaemon -i .5 -K -t -R -d &
  51.  
  52. ### TOUCHPAD END
  53.  
  54. ### SETTINGS END
  55.  
  56. ## GNOME PolicyKit authentication
  57. /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
  58.  
  59. ## Set a wallpaper
  60. nitrogen --restore
  61.  
  62. ## Compton
  63. ## NOTE: composition must be started before tint2
  64. bl-compositor --start
  65.  
  66. ## Start the tint2 session (the default tint2 will run if no sessions have been set)
  67. bl-tint2-session
  68.  
  69. ## Volume control for systray
  70. pnmixer &
  71.  
  72. ## Start the Conky session (the default conkyrc will run if no sessions have been set)
  73. bl-conky-session --autostart &
  74.  
  75. ## Start Clipboard manager
  76. clipit &
  77.  
  78. ## Start Thunar Daemon, if set as bl-file-manager
  79. if [ "$(readlink -f $(which bl-file-manager))" = "$(which thunar)" ]
  80. then
  81. thunar --daemon &
  82. fi
  83.  
  84. ## bl-welcome - post-installation script, will not run in a live session and
  85. ## only runs once. Safe to remove.
  86. (sleep 10; bl-welcome --firstrun) &
  87.  
  88. ## bl-fortune - have the system come up with a little adage (not yet enabled)
  89. #(sleep 120; bl-fortune) &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement