## Mabox Autostart File
##
##
##
## Note that global autostart .desktop files will also be in
## /etc/xdg/openbox/autostart. These will include applications
## such as the Network Manager and Parcellite
##
## Turn on/off system beep.
xset b off

## Resolution
#xrandr --output VGA-1 --primary --mode 1600x900 --pos 0x0 --rotate normal
#xrandr --output VGA-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal

## 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.
#xset r rate 250 25

# Alias Super key to Super+Space for single-key menu.
# See 'man xcape' for other possibilities.
xcape -e 'Super_L=Super_L|space'


/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

## Background
(sleep 2s && nitrogen --restore) &

## Panel
(sleep 1s && mb-tint2-session) &

## 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) &