#Autostart on Ubuntu?

6 messages · Page 1 of 1 (latest)

void glen
#

I cannot get deej-release to autostart with system on Ubuntu 24.04.
I added the app to Startup applications with this command: "sleep60; cd /home/mathes/deej && ./deej-release"
I know the command works because it can be run this way from terminal. It just wont run on startup. Any clues as to what might be wrong? Thanks

coarse wren
#

I'm not using Ubuntu so can't test it but you could launch it using a Cron job at startup.

Try the following in crontab

@reboot /bin/sleep 60 ; /home/mathes/deej/deej-release

void glen
#

Thanks for replying.
Sadly this doesn't work. I tried adding both your and my command ( @reboot /bin/sleep 60 ; cd /home/mathes/deej && ./deej-release ) because the app doesnt run when not called from within the deej folder

#

But either way it doesnt run

cold walrus
#

I know you asked for linux, but this might give you an idea.
when trying to start from run prompt or windows search It wouldn’t start, as you said, it only worked directly from the folder.
I then created a deej.exe desktop shortcut added that shortcut to my startup folder once I knew it was working

coarse wren
#

You could put your command in a script, make it executable then run that from the start up