2019-05-02 01:13:32 +02:00
|
|
|
# this is an openbox autostart file
|
|
|
|
# run at the beginning of an openbox session
|
|
|
|
|
|
|
|
xsetroot -solid black &
|
|
|
|
export NO_AT_BRIDGE=1
|
|
|
|
|
|
|
|
compton -b & ## start the compositor as daemon, no shadow (no -c)
|
|
|
|
|
|
|
|
# set tapping on touchpad ON and set touchpad acceleration
|
|
|
|
xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Enabled' 1 &
|
|
|
|
xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Accel Speed' 0.357139 &
|
|
|
|
# disable natural scrolling - off by default
|
|
|
|
#xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Natural Scrolling Enabled' 0 &
|
|
|
|
# xinput list; xinput list-props 'SynPS/2 Synaptics TouchPad' --> learn touchpad props
|
|
|
|
|
|
|
|
# xset -q --> info; xset r rate <delay> <rate>
|
|
|
|
(xset r rate 216 87) &
|
|
|
|
|
|
|
|
#compton -m 0.9 -e 0.7 &
|
|
|
|
#sleep 1
|
|
|
|
|
|
|
|
nitrogen --restore & ## restore the background chosen with nitrogen
|
|
|
|
#feh --bg-scale /usr/share/backgrounds/Gnulinuxlogo.png & ##set wallpaper
|
|
|
|
|
|
|
|
tint2 2> /dev/null & ## the panel
|
|
|
|
|
|
|
|
lxpolkit & ## policy kit (password popup)
|
2019-05-15 04:28:53 +02:00
|
|
|
conky -c ~/.conky/conky.lua 2> /dev/null & ## system info
|
2019-05-02 01:13:32 +02:00
|
|
|
gvfs & ## volumes and trash control
|
|
|
|
nm-applet & ## network manager applet
|
|
|
|
export redshiftloc=''
|
|
|
|
redshift -l $redshifloc -g 0.8 & ## adjust location accordingly
|
|
|
|
|
|
|
|
#udisks2 & ## automatic mounting
|
|
|
|
#udiskie & ## removable disks auto-mounter
|
|
|
|
#clipit & ## tray clipboard manager
|
|
|
|
|
|
|
|
## certificate and key storage
|
|
|
|
#/usr/local/bin/gnome-keyring-daemon --start --components=pkcs11 &
|
|
|
|
## gnome keyring ssh agent
|
|
|
|
#/usr/local/bin/gnome-keyring-daemon --start --components=ssh &
|
|
|
|
## gnome keyring secret service
|
|
|
|
#/usr/local/bin/gnome-keyring-daemon --start --components=secrets &
|
|
|
|
|
|
|
|
## locale switcher
|
|
|
|
export GTK_IM_MODULE=ibus
|
|
|
|
export XMODIFIERS=@im=ibus
|
|
|
|
export QT_IM_MODULE=ibus
|
|
|
|
imsettings-switch -n -q -x &
|
|
|
|
|
|
|
|
## for privoxy though tor
|
|
|
|
export http_proxy="http://localhost:8118"
|
|
|
|
|
|
|
|
if [ -n "$DISPLAY" ]; then
|
|
|
|
export BROWSER="vivaldi-stable --incognito"
|
|
|
|
fi
|
|
|
|
|
|
|
|
## enable xautolock to automatically lock the screen after 15 minutes of inactivity
|
|
|
|
xautolock -time 15 -locker ".config/openbox/locker.sh" -detectsleep -notify 60 -notifier "notify-send -t 30000 -i "/usr/share/pixmaps/fedora-logo-sprite.png" 'Screen locker' 'Locking screen in less than one minute'" &
|
|
|
|
|
2019-09-25 00:40:59 +02:00
|
|
|
bash -c "~/.config/openbox/helper.sh" &
|