Run executable at system startup

Hello guys,

I am planning to create a GUI software for a terminal application, in particular for imwheel. This application needs to be runned at system startup. So I have the following questions:

  • how I can configure the .yaml in order to be able to use the imwheel bin file? (it should be also installed and it needs the access to the user home directory)
  • I want to create a snap that runs automatically imwheel or a .sh file at system startup. Which should be the configuration that I should add in the .yaml file?
  • Do I need particular permissions?
  • moreover, how I can run also my snap at startup (.yaml configuration) to show an icon in the taskbar that will allow a rapid access to the GUI?

Thank you.

Does this help for starting the app in the users session?

For anything you want to start system wide on boot you need to use a daemon: block in your apps entry

thanks for the response Oliver