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?
4 Answers
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=
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 :-)
- Press Super
- Select "Startup applications"
- Select "Add"
- Enter
- "Name":
Telegram
- "Command":
/usr/bin/flatpak run org.telegram.desktop
- "Name":
- Click "Save"
-
BEST SOLUTION. Also for Skype we can use >> usr/bin/flatpak run com.skype.Client Dec 31, 2021 at 14:08
Commands for Telegram and Skype in any Startup application managers:
flatpak run org.telegram.desktop
flatpak run com.skype.Client