#!/bin/bash
# fix HiDPI screen if necessary
autoscale-antix

##Check for connectivity. If no network connection is detected, activate wi-fi networks, open connman and go straight to the wi-fi connections tab...
network-check-antix &

# Puts connman gui monitor icon on the taskbar
#cmst -m & 

# Puts a volume icon on the taskbar
volumeicon & 

# Enable/Disable automounting
automount-antix &

# Puts a flag on the taskbar to show which keyboard is being used if more than 1 keyboard layout is detected
fbxkb-start &

# Uncomment for easy search from the taskbar
#search-bar-icon &

# Uncomment the following line to mount Samba and/or NFS shares
#connectshares &

# Uncomment to show the configuration gui of a running ssh-conduit-x11vnc server
#ssh-conduit-x11vnc.sh gui &

# Uncomment to use clipboard manager
#clipit &

# Use pkexec (you need to install policykit-1-gnome)
#/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

# Uncomment to show wicd networking monitor
#wicd-client -t &
#grep -q "START_DAEMON=no" /etc/default/wicd || wicd-client -t &

# Uncomment after installing apt-notifier
#apt-notifier & 

#Enable Mouse Configuration at Startup
#ds-mouse -all &

# Uncomment if using pulseaudio (you need to install it)
#pulseaudio -D &

# Uncomment if using network-manager  (you need to install it)
#nm-applet &

# Create a bootchart image if bootchart was run
test -e /etc/live/config/bootchart \
    && (sleep 6 && test -e /var/log/bootchart.tgz \
        && ! test -e ~/bootchart.png \
        && pybootchartgui)&

# Used on live system only
(sleep 5 && toram-eject) &
