6

I installed telegram-desktop via Flatpak and would like to auto start the messenger when logging into Gnome 3 (or Unity as a fact). Is there a way to robustly do so?

14
+50

Auto start x applications:

One way to make an application auto start at user login is to add its .desktop file to /etc/xdg/autostart/ this will affect all users

Just copy or link (ln -s) your telegram.desktop to /etc/xdg/autostart/ if you don't have a telegram.desktop create a new one, here is an example with Deepin Music Flatpak's package

[Desktop Entry]
Comment=
Exec=flatpak run com.deepin.Music
GenericName=
Icon=deepin-music
MimeType=
Name=Deepin Music
Path=
StartupNotify=true
Terminal=false
Categories=Music;
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
| improve this answer | |
9

Starting from the answer given by @intika I found a solution I like more.

Instead of replicating the content of the existing desktop-file in /var/lib/flatpak/exports/share/applications/org.telegram.desktop.desktop I linked it inside my personal ~/.config/autostart/. Works like a charm :-)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.