Just subject.
There is no tray icon when running under gnome 3
I have the same problem in GNOME 3 Fallback Session. According to the changelog. It appears that, since 0.8.41 ("_use Qt tray icon in all Linux systems_"), @telegramdesktop will drop libappindicator
and only use QSystemTrayIcon
. Is that correct ?
As a matter of fact, the icon I had has disappeared as I only use libappindicator
... I thought we solved this problem already in issue #491 ? I do not understand this design choice.
No tray icon problem in Fedora 22 GNOME 3.16.2
no tray icon in ubuntu mate 14.04.2 LTS. in 0.8.38 the tray icon was ok. since update it looks like:
Fixed in 0.8.45. Thanks @telegramdesktop team. :+1:
@FeiWongReed : I think you can now close the ticket :-)
nope. still no icon. i deleted all files and user settings and downloaded the latest telegram 0.8.45 and still no tray icon.
Same problem with Xubuntu 14.04 and Telegram Desktop 0.8.45.
libappindicator just solved the issue
Should be well in the last update. Try to install libappindicator, it is used instead of Qt tray icon, which is broken some times. Tried in Xubuntu right now, it does use libappindicator which is in the system by default.
Same problem here!
Same problem with broken icon
Can be fixed with starting as:
DBUS_SESSION_BUS_ADDRESS="" /path/to/Telegram/Telegram
or (if use use .desktop file)
env DBUS_SESSION_BUS_ADDRESS="" /path/to/Telegram/Telegram -- %u
ps. don't know the reason. used this workaround for dropbox for a while
I have no libappindicator and can't install it.
Linux is not just Ubuntu.
@FeiWongReed I disabled Qt tray icon in gnome, perhaps it didn't work right there. So I try libappindicator and gtk_status_icon api. If both don't work I don't know how else the tray icon can work there. Perhaps Qt have fixed something already and it's implementation can be enabled in gnome, I don't know.
I know perfectly that Linux is not just anything: I can have four VMs installed for Windows testing, three VMs for OS X testing and currently thirteen (!) VMs on my work machine for Linux testing -- and all the time there arrives some new distro with his unique problems, that do not happen on any other Linux. I've already spent x10 more time on Linux tray icons than on Windows and OS X tray icons both, Linux is some kind of a nightmare for a software developer.
Do you know, which tray icon api or library is working well on your system?
Hm. I have no idea, but now skype, goldendict and chromium displays their tray icons correctly.
So, I suppose that QtTrayIcon should be working well.
What about my distro - it's gentoo with gnome 3.18.
And - yes - still not Telegram tray icon on 0.9.33
On Arch Linux, gnome 3.18.4, no tray icon.
However other applications (VLC as an example) have no problem showing notifications.
fix:
#!/bin/bash
export XDG_CURRENT_DESKTOP=GNOME
${HOME}/Soft/Telegram/Telegram "$@"
See also: https://github.com/telegramdesktop/tdesktop/issues/1975#issuecomment-228575901 — solves stuff for some.
On Fedora 25, Gnome on Wayland, Telegram doesn't has tray icon.
Other Qt apps like Goldendict have tray icons.
Same on Cinnamon.
XDG_CURRENT_DESKTOP
is set to X-Cinnamon
here.
Running:
$ XDG_CURRENT_DESKTOP=GNOME ./Telegram
partially solves it, the icon is shown, but there is a menu without any item under the icon, and logs:
(Telegram:5734): GLib-GObject-WARNING **: /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:2461: signal 'child-added' is invalid for instance '0x5dd6a30' of type 'GtkMenu'
(Telegram:5546): LIBDBUSMENU-GLIB-WARNING **: About to Show called on an item wihtout submenus. We're ignoring it.
The menu works correctly when the icon is hidden - as shown on the screenshots above.
Thanks, @anon5, that worked perfectly, just placing it here again for highlighting the good solution:
dbus-launch ~/bin/TelegramDesktop/Telegram -- %u
@renepavlik I've received next error message and tray icon does not appear:
(Telegram:15599): libnotify-WARNING **: Failed to connect to proxy
The problem is still here.
Telegram Desktop
Vesion 1.1.23
Linux Mint 18, Cinnamon 3.4.6
The solution by @renepavlik works (dbus-launch /path/to/telegram/Telegram -- %u
) :+1:
Patch env (XDG_CURRENT_DESKTOP=GNOME ./Telegram
) didn't help.
Fedora 30 here. Telegram does not have a tray icon. Quitting the application by closing its window does not end process, which keeps running in the background. Installed via Flathub. Version 1.8.1. Since GNOME Shell displays a drop down menu for the program in the top bar, there is a Quit option there -- just like the tray icon did, but that doesn't really end the process either. The only workaround to end Telegram process is by exiting with CTRL+Q.
Fedora 31 here. Same as in @Neasden's message.
Most helpful comment
I have no libappindicator and can't install it.
Linux is not just Ubuntu.