2021-02-01 19:48:24 +01:00
|
|
|
## Mabox Autostart File
|
|
|
|
##
|
|
|
|
##
|
|
|
|
##
|
|
|
|
## Note that global autostart .desktop files will also be in
|
2024-01-24 16:16:41 +01:00
|
|
|
## /etc/xdg/openbox/autostart and ~/.config/autostart.
|
|
|
|
## These will include applications such as the Network Manager, Picom
|
2021-02-01 19:48:24 +01:00
|
|
|
##
|
|
|
|
## Turn on/off system beep.
|
|
|
|
xset b off
|
|
|
|
|
2021-05-28 03:09:05 +02:00
|
|
|
## Resolution
|
|
|
|
#xrandr --output VGA-1 --primary --mode 1600x900 --pos 0x0 --rotate normal
|
|
|
|
#xrandr --output VGA-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal
|
|
|
|
|
2021-02-01 19:48:24 +01:00
|
|
|
## Copy Language files for Mabox - only for first run
|
|
|
|
/usr/bin/mabox-langfiles &
|
|
|
|
|
|
|
|
## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
|
|
|
|
## Adjust the values according to your preferances.
|
2021-08-12 11:04:37 +02:00
|
|
|
#xset r rate 250 25
|
2021-02-01 19:48:24 +01:00
|
|
|
|
2024-01-24 16:16:41 +01:00
|
|
|
## Switch keyboard layouts by Alt+Shift
|
|
|
|
## Example below: US an Greek layouts
|
|
|
|
#setxkbmap -layout "us,gr" -option "grp:alt_shift_toggle" &
|
|
|
|
|
|
|
|
## Alias Super key to Super+Space for single-key menu.
|
|
|
|
## See 'man xcape' for other possibilities.
|
2021-02-01 19:48:24 +01:00
|
|
|
xcape -e 'Super_L=Super_L|space'
|
|
|
|
|
|
|
|
|
|
|
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
|
|
|
|
|
|
|
|
|
|
|
## Panel
|
|
|
|
(sleep 1s && mb-tint2-session) &
|
|
|
|
|
2024-01-24 16:16:41 +01:00
|
|
|
## Background
|
|
|
|
(sleep 2s && nitrogen --restore) &
|
|
|
|
|
2021-02-01 19:48:24 +01:00
|
|
|
## Optionally enable file manager in daemon mode for automounting
|
|
|
|
(sleep 1s && pcmanfm -d) &
|
|
|
|
|
|
|
|
## Optionally disable touchpad
|
|
|
|
#/usr/bin/synclient TouchpadOff=1 &
|
|
|
|
|
|
|
|
|
|
|
|
## Mabox scripts - DO NOT DISABLE
|
|
|
|
(sleep 1s && mabox-obstart startopenbox) &
|