Ubuntu 17.10 small tray icons
Solution 1
You can't remove gnome-shell-extension-appindicator
, ubuntu-desktop
depends on it.
Solution that works for me (but You do it on your own risks):
sudo apt-get remove gnome-shell-extension-appindicator
apt-get download ubuntu-desktop
sudo dpkg --install --ignore-depends=gnome-shell-extension-appindicator ubuntu-desktop_1.404_amd64.deb
For ignoring broken packages in Ubuntu (from this source), run:
sudo gedit /var/lib/dpkg/status
This should open the file status (which can be pretty long), you now have to find the package name ubuntu-desktop
. Now delete the dependencies gnome-shell-extension-appindicator
from the Depends line, save the file (Ctrl+S) and close.
Now install TopIcons Plus and KStatusNotifierItem/AppIndicator Support.
Solution 2
I have the same problem after upgrading from Ubuntu Gnome 17.04.
I tried a lot of fixes, but none of them helped me. I decided to reinstall Ubuntu.
After a fresh install, the issue still persists, but there is a kind of workaround that is working for me.
As described here:
In terminal execute export XDG_CURRENT_DESKTOP=Unity
then run the app ./Telegram & exit
. The result is a litte bit bigger icon in the tray and a badge indicator on the icon in the dock.
Solution 3
You may first install TopIcons Plus from extensions.gnome.org or its GitHub page.
But the default Ubuntu appindicators will not let TopIcons Plus work properly. So you will have to deactivate/remove it first.
You may deactivate Ubuntu appindicators from the Extensions section of (GNOME) Tweaks (suggested by Charles Green). To install Tweaks run
sudo apt install gnome-tweak-tool
Alternatively if you are absolutely sure that you want to remove Ubuntu appindicators, then run (not at all recommended, it will remove ubuntu-desktop
metapackage)
sudo apt-get remove gnome-shell-extension-appindicator
or remove the [email protected]
directory from /usr/share/gnome-shell/extensions
.
Now TopIcons Plus should work as expected. You may change its settings using the indispensable GNOME Tweak Tool (aka Tweaks). If it is not installed, you can install it by
sudo apt install gnome-tweak-tool
Then launch GNOME Tweak Tool and change the settings of TopIcons Plus (for example icon size, spacing etc.) from the Extensions section.
Solution 4
You have to edit /usr/share/applications/telegramdesktop.desktop
which is telegram launcher. Change line
Exec=telegram-desktop -- %u
to
Exec=env XDG_CURRENT_DESKTOP=Unity telegram-desktop -- %u
You can do the same workaround for Slack too.
Related videos on Youtube
sheitan
Favorite Languages : Java , Scala , Bash , C/C++ , Python Favorite IDE : IntelliJ IDEA , Netbeans Favorite Editor : VSCode , Vim
Updated on September 18, 2022Comments
-
sheitan over 1 year
In Ubuntu 17.10 right tray icons (e.g. Telegram,Skype etc.) are very small, and
gnome-shell-extension-top-icons-plus
does not work in 17.10.How can I fix it?
-
pomsky over 6 yearsLet us continue this discussion in chat.
-
-
sheitan over 6 yearsnot work in ubuntu 17.10
-
sheitan over 6 yearswhat is appindicator?
-
pomsky over 6 years@SjB Ubuntu appindicators is an extension shipped by default which shows icons of apps like Skype, Telegram etc. on top right (in a way an alternative to TopIcons Plus). But clearly it's not working correctly, showing tiny icons. It seems disabling it using Tweks is not enough. So I'm suggesting you to remove it and use TopIcons Plus. Try my answer.
-
pomsky over 6 yearsNice! Now it looks like a proper answer. But one thing I want to mention, you should never start a graphical application like gedit with normal
sudo
. As an alternative you may usenano
to edit text in the command line or runsudo -H gedit
. -
Charles Green over 6 years@pomsky Rather than remove
gnome-shell-extension-appindicator
, it can be turned off in the GNOME tweak tool (Ubuntu appindicators) -
pomsky over 6 years@CharlesGreen I see. Thanks for the suggestion. I have added that to the answer. I suggested removing Ubuntu appindicators completely as OP confirmed more than once that disabling it didn't do anything for them, but now I think they didn't. Later OP said "What is appindicator?"!
-
sheitan over 6 yearsit's work surprisingly!
-
sheitan over 6 yearsi change in
.local/share/applications/telegramdesktop.desktop
Exec=env XDG_CURRENT_DESKTOP=Unity /home/$user/apps/Telegram/Telegram -- %u
-
chesedo over 6 yearsIf one also edits
/var/lib/dpkg/status
first, then there is no need to installubuntu-desktop
after the removal of appindicator. But awesome answer though.