Launching a Qt application at startup

I wrote a Qt application that will run on Linux. It should start at startup.

It should work on all Linux-Suse, RedHat, etc.

What do I need to write a script and where to place it?

I don’t know how to write scripts at all, so I would appreciate it if you attach an example.

+3
source share
1 answer

You need to create a desktop recording file for your application (see here ) and place it in the user directory $HOME/.config/autostart.

Any desktop recording file in this directory will be launched when Window Manager starts (see here ).

( ++/ script), ++.

+3

Source: https://habr.com/ru/post/1774083/


All Articles