autostart 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #
  2. ## Openbox autostart.sh
  3. ## ====================
  4. ## DBUS
  5. #!/bin/sh
  6. sh -c "sleep 0.0 && xrandr --output Virtual-1 --primary --mode 1366x768 --pos 0x0 --rotate normal --output Virtual-2 --off --output Virtual-3 --off --output Virtual-4 --off&"
  7. sh -c "sleep 0.1 && nitrogen --restore &"
  8. sh -c "sleep 1.3 && tint2 &"
  9. ## Volume keys daemon
  10. sh -c "sleep 1.3 && volumeicon &
  11. # sh -c "sleep 2.3 && compton &"
  12. # sh -c "sleep 1.9 && cmus &
  13. ## Desktop Standart
  14. # sh -c "sleep 2.0 && spacefm --desktop &"
  15. # Поменять местами кнопки мыши:
  16. # sh -c "sleep 6.4 && xinput set-button-map 13 3 2 1 &"
  17. # --
  18. # Второй вариант:
  19. # Так же поместить это можно в : ~/.xmodmap (pointer = 3 2 1)
  20. # sh -c "sleep 3.2 && xmodmap -e "pointer = 3 2 1 &"
  21. ## Тачпад
  22. sh -c "sleep 3.6 && xinput set-prop 13 149 1 &"
  23. ## Set root window colour
  24. sh -c "sleep 3.9 && hsetroot -solid "#2E3436" &"
  25. # раскладка клавиатуры
  26. # sh -c "sleep 6.2 && setxkbmap -layout us,ru -variant -option grp:alt_shift_toggle,terminate:ctrl_alt_bksp &"
  27. ## Flameshot:
  28. # sh -c "sleep 3.5 && flameshot &"
  29. # sh -c "sleep 3.5 && gxkb &"
  30. ## Start xscreensaver
  31. # xscreensaver -no-splash &
  32. ## Start Clipboard manager
  33. # (sleep 3s && clipit) &
  34. ## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
  35. ## Adjust the values according to your preferances.
  36. xset r rate 250 25 &
  37. ## Turn on/off system beep
  38. # xset b off &
  39. ## Run the conky
  40. # conky -c "/home/effir/.conky/MX-Simple/conkyrc" &
  41. #conky &
  42. #----------------------------------------------------------------------
  43. sh -c "sleep 3.9 && xset s off -dpms &
  44. #---------------------------------------------------------------------------
  45. #dop
  46. #
  47. #xfce-mcs-manager &
  48. #numlockx &
  49. spacefm --desktop &
  50. picom &
  51. conky &
  52. copyq &