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?
Asked
Active
Viewed 4,947 times
4 Answers
15
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=
intika
- 13,920
- 7
- 41
- 79
12
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 :-)
Christoph Grimmer
- 321
- 2
- 9
6
- Press Super
- Select "Startup applications"
- Select "Add"
- Enter
- "Name":
Telegram - "Command":
/usr/bin/flatpak run org.telegram.desktop
- "Name":
- Click "Save"
AdminBee
- 21,637
- 21
- 47
- 71
Kyle Baker
- 179
- 1
- 5
-
1BEST SOLUTION. Also for Skype we can use >> usr/bin/flatpak run com.skype.Client – Reza Taba Dec 31 '21 at 14:08
0
Commands for Telegram and Skype in any Startup application managers:
flatpak run org.telegram.desktopflatpak run com.skype.Client
Reza Taba
- 101
- 1