Autostart Apps in Phosh
I was wondering how to automatically start applications after booting a PinePhone with Phosh. Sounds like the standard way is to put .desktop
files into ~/.config/autostart
.
So to automatically start e.g. Gajim when Phosh starts, do this:
mkdir -p ~/.config/autostart
cp /usr/share/applications/org.gajim.Gajim.desktop ~/.config/autostart/
My motivation was to automatically start Gajim so that 1) I don’t forget to do it and 2) it unlocks the Default
password storage (it prompts for the master password) right after reboot.
Related
/usr/share/applications
stores the currently installed.desktop
application launcher files- ArchWiki: XDG Autostart specifies the
~/.config/autostart
directory - ArchWiki: Desktop entries has info on the
.desktop
files