I have Telegram installed as a flatpak (AFAIK there’s no other way), and if I configure it to autostart by making a symlink of
~/.config/autostart, it does start with GNOME, but Telegram’s window gets “stuck”: even though it is fully functional, I can’t move it around by dragging its title bar. If I restart it after gnome session is up and running, all works as expected.
Here are the contents of the .desktop file:
[Desktop Entry] Version=1.0 Name=Telegram Desktop Comment=Official desktop version of Telegram messaging app Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=telegram-desktop --file-forwarding org.telegram.desktop -- @@u %u @@ Icon=org.telegram.desktop Terminal=false StartupWMClass=TelegramDesktop Type=Application Categories=Chat;Network;InstantMessaging;Qt; MimeType=x-scheme-handler/tg; Keywords=tg;chat;im;messaging;messenger;sms;tdesktop; X-GNOME-UsesNotifications=true X-Flatpak=org.telegram.desktop
Any hints on how to workaround this problem?