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

## 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'


## Ensure that obmenu-generator (a pipe menu) is set to the user.
## Does this for each session (i.e. ease of use for addtional
## accounts where created.
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

## Background
(sleep 1s && 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 &


## Betterlockscreen setup
betterlockscreen_setup &


## Mabox scripts - DO NOT DISABLE 
(sleep 1s && mabox-obstart startopenbox) &
