I've tried for hours now. It is impossible to get it to autostart. Seriously what should I do? Code: description "Startup script for n9-button-monitor" # Author e-mail address, mandatory author "elliot.wolk@gmail.com" start on filesystem or runlevel [2345] stop on runlevel [!2345] #none: stdout to /dev/null #output: direct stdout to console console output #if application exits, restart max 3 times within 300 secs respawn #respawn limit 3 300 exec /usr/bin/aegis-exec -s -u user sh -c 'source /etc/profile; PATH=$PATH:/usr/local/bin; develsh -c n9-button-monitor' #exec sh -c 'source /etc/profile; PATH=$PATH:/usr/local/bin; develsh -c n9-button-monitor' #exec /usr/bin/aegis-exec -s -u user sh -c 'DISPLAY=:0 n9-button-monitor' How can I debug it? Now I can't start it at all from terminal. Can't get necessary permissions from develsh. How is this possible? Is aegis having fun giving permissions one day and blocking them the next?
description "Startup script for n9-button-monitor" # Author e-mail address, mandatory author "elliot.wolk@gmail.com" start on filesystem or runlevel [2345] stop on runlevel [!2345] #none: stdout to /dev/null #output: direct stdout to console console output #if application exits, restart max 3 times within 300 secs respawn #respawn limit 3 300 exec /usr/bin/aegis-exec -s -u user sh -c 'source /etc/profile; PATH=$PATH:/usr/local/bin; develsh -c n9-button-monitor' #exec sh -c 'source /etc/profile; PATH=$PATH:/usr/local/bin; develsh -c n9-button-monitor' #exec /usr/bin/aegis-exec -s -u user sh -c 'DISPLAY=:0 n9-button-monitor'
description "Startup script for n9-button-monitor" author "elliot.wolk@gmail.com" start on DESKTOP_VISIBLE stop on core_shutdown console none respawn exec /bin/develsh -c 'source /etc/profile; /usr/bin/n9-button-monitor'