LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
56 stars 6 forks source link

[administration][graphics] How to autostart a GUI application #681

Open LukeShortCloud opened 2 years ago

LukeShortCloud commented 2 years ago

Place the <APPLICATION>.desktop file in /etc/xdg/autostart/ directory. Any user on that system will launch those applications upon login.

Discovered from investigating into this winesapOS issue: https://github.com/LukeShortCloud/winesapOS/issues/242

LukeShortCloud commented 2 years ago

Or use ~/.config/autostart/ for a per-use desktop application shortcut that will launch.

https://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login

LukeShortCloud commented 9 months ago

Or a CLI app: https://askubuntu.com/questions/141229/how-to-add-a-shell-script-to-launcher-as-shortcut