46

I have many applications with tray icons like davmail, hardware monitor. I miss this feature on Ubuntu 14.04. Does anyone have a solution?

There are some tools like Skype indicator, but I need a general solution for this problem so that I can add application icons to the system tray.

Elder Geek
  • 36,023
  • 25
  • 98
  • 183

15 Answers15

159

You may need to do two things:

1. Install the sni-qt libraries.

Install sni-qt Install banshee (click on the link), or with sudo apt-get install sni-qt sni-qt:i386 from the terminal, and then restart Skype. The tray/panel icon should now be back!

The reason this step is required is because sni-qt is installed automatically by the Ubuntu repository Skype package, but NOT by the Skype deb you directly download. Once Skype 4.0 is in the Ubuntu repos, you can install from there and this will no longer be necessary.

2. You may also need to whitelist the indicator

We don't know why, but for some systems this additional step is required before the indicator will show (thanks to Bruno Pereira!)

Steps:

  1. Install the package dconf-toolsInstall dconf-tools (click on the link), or from the terminal with sudo apt-get install dconf-tools

  2. Open dconf editor from the Dash (or dconf-editor from terminal):

    enter image description here

  3. On the left sidebar, use the triangles to navigate to desktop > unity > panel. On Ubuntu 12.10 you instead need to navigate to com > canonical > unity > panel. Double-click on the orange [JavaEmbedded...] part on the right, and add ,'skype' to allow the Skype indicator to show, as below:

    enter image description here

  4. Press Enter, close dconf editor, logout and login -- your indicator should now be back!

ish
  • 139,926
67

To have Skype Tray Icon displayed in Ubuntu, install sni-qt package:

sudo apt-get install sni-qt:i386
mcFactor
  • 781
  • 5
  • 2
  • 1
    this actually made it work for me in 14.04 - and it is sni-qt:i386 not just sni-qt. (on my system (64 bit) skype is also installed as skype:i386). Perhaps it is the same problem for other apps. – sunew Sep 24 '14 at 19:56
  • upgraded ubuntu from 12.04 to 14.04 (dirty install), skype tray icons disappeared. this fixed it – krukid Sep 29 '14 at 09:38
  • 4
    More info on why this works: http://askubuntu.com/a/151118/48105. Oh, and don't forget to logoff/login (or restart unity) for this to take effect. – Waldir Leoncio Jan 10 '15 at 13:42
  • 1
    On 14.04.01 I only needed to kill and restart Skype after installing sni-qt:i386. Works great. – amotzg Feb 18 '15 at 15:46
  • 2
    Still the solution for 16.04 (sad to know the problem persits). – jgomo3 Apr 25 '16 at 18:13
19

Enable Skype Icon on Unity Notification Panel on Ubuntu 12.04 LTS

When you do a fresh install of Ubuntu 12.04 (Or any version with Unity for that matter), you install Skype and expect it to work as it used to. But if you close the main window - you soon notice that Skype icon is not being displayed in top panel.

To fix this you will need to run a few commands. So open up your terminal and run this:

gsettings get com.canonical.Unity.Panel systray-whitelist

You should get something like this:

['JavaEmbeddedFrame', 'Wine', 'Update-notifier']

Basically this means, that Skype is not whitelisted, thus is not allowed by default to display its tray icon. We need to fix this. Append 'Skype' to the list so that you have something like this:

['JavaEmbeddedFrame', 'Wine', 'Update-notifier', 'Skype']

Then wrap it with double quotes (”) and add gsettings set com.canonical.Unity.Panel systray-whitelist in front of it. At this point you should have something like this:

gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Wine', 'Update-notifier', 'Skype']"

Now just copy this to your Terminal and execute the command. Reboot afterwards. Now you should see the icon.

Source: Enable Skype icon on Unity notification panel on Ubuntu 12.04 LTS - Tautvidas Sipavičius

Kulfy
  • 17,696
One Zero
  • 27,153
  • 26
  • 88
  • 109
10

This is because Ubuntu has turned off whitelisting since version 13.10. Here are two options to fix:

either

sudo apt-get install libappindicator1

or

sudo apt-add-repository ppa:gurqn/systray-trusty
sudo apt-get update
sudo apt-get upgrade

For more information: System Tray icons not showing http://ubuntuforums.org/showthread.php?t=2217458 https://launchpad.net/~gurqn/+archive/systray-trusty

Koppie
  • 101
9

I was facing this problem too. Installing following package solved my problem.

sudo apt-get install sni-qt:i386

I am on Ubuntu 15.10, sni-qt:i386 was required for the systray icon to show up.

Mostafiz Rahman
  • 272
  • 5
  • 14
5

maybe you need to whitelist skype to the notification area (i'm not sure if skype includes an appindicator)

The easy way to make it is installing dconf-tools

sudo apt-get install dconf-tools

or Using Software Center Install via the software center

Then press alt+f2 and enter dconf-editor to see a program like this:

dconf-editor

Navigate to desktop-->unity-->panel and add the apps that you like to whitelist to the end of the list (in your case you must add 'Skype') separate by comas. You can instead write all to whitelist all apps to use the notification area.

You will need to log out and log in again yo apply the changes.

More info: http://www.webupd8.org/2011/04/how-to-re-enable-notification-area.html

zurdo
  • 10,987
4

Here's what worked for me to get both the Skype and Franz indicator back under Ubuntu 16.10 64-bit Unity Desktop

1) I installed sni-qt:i386 as mentioned here with sudo apt-get install sni-qt:i386

2) I installed libappindicator as mentioned here with sudo apt-get install libappindicator1

3) Finally I installed the .deb package found at http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/p/pidgin-indicator/ via the software center. As mentioned here, this provided the final resolution.

Elder Geek
  • 36,023
  • 25
  • 98
  • 183
3

Reference

Here I post you an article that explains how to include Skype in a Unity system tray whitelist.

I have Ubuntu 12.04, it worked for me!

Details

Basically, open a new terminal and execute this:

gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Wine', 'Update-notifier', 'Skype']"

and then restart Skype.

Israel
  • 273
  • 2
  • 9
2

If your are using gnome shell, activate this extension call Status Icon Fixer

Fixes Dropbox, Skype, vlc and others into the status bar; not perfect, but ok.

https://extensions.gnome.org/extension/192/status-icon-fixer/

penreturns
  • 5,950
  • 2
    For Ubuntu 13.10 and newer, Status Icon Fixer reportedly does not work any more. I use the alternative Top Icons extension for 13.10 and it works well. – tanius Feb 17 '14 at 17:55
2

For me the path in dconf editor was:

com -> canonical -> indicator -> appmenu -> messages

And then click on applications and in value add 'skype'. I'm running Ubuntu 13.10 (64-bit).

kmajaa
  • 31
2

A solution that works as of Dec 2015 in Ubuntu 14.04 is to install the following PPA:

sudo apt-add-repository ppa:fixnix/indicator-systemtray-unity
sudo apt-get update
sudo apt-get install indicator-systemtray-unity

This gives you an arrow in the taskbar that you may click to show your icons. You can also have the icons show in the bar itself and instructions for that can be found here: http://www.webupd8.org/2015/05/on-demand-system-tray-for-ubuntu.html

Why don't the other solutions work anymore? Updates to Unity keep breaking the other ppa solutions and it seems no one is committed to keeping them up to date.

Planky
  • 123
  • 2
  • 5
1

Go to the Skype->Options.

In the General Category check "Start Skype minimized in the System Tray".

upapilot
  • 2,916
  • nope that didn't change anything. But the option is (in german) rather labeled start minimized (says nothing about the system tray). So now I just have to click two times on the button in the Launcher – miceterminator Jun 15 '12 at 06:47
1

I'm using Gnome-Flashback (formerly Fallback/Classic) with a tint2 panel. I tried all of these fixes and none of them worked for me. I even tried

sudo add-apt-repository ppa:timekiller/unity-systrayfix
sudo apt-get update
sudo apt-get upgrade

No luck. Even tried killing tint2 and using the gnome-panel instead. Still no icons for many, but not all, of my apps.

I finally found a solution while looking for a way to get(specifically) the network manager to show in the systray here. Since I use Cairo-Dock as a launcher, I just changed all the launch commands for my apps that weren't showing up to dbus-launch app-launch-command. Where app-launch-command is the regular launch command for that app. Did the same for Startup applications and it works like a charm.

amadis
  • 61
0

This solution works fine with Ubuntu 17.04

Simply run the application with "env XDG_CURRENT_DESKTOP=Unity". For example, to start Skype For Linux, you would use:

env XDG_CURRENT_DESKTOP=Unity skypeforlinux

To make the fix permanent, copy the application desktop file from /usr/share/applications/ to ~/.local/share/applications/, then edit the file and change the "Exec" line by adding "env XDG_CURRENT_DESKTOP=Unity" (without the quotes) immediately after "Exec=".

More details at http://www.webupd8.org/2017/04/fix-appindicator-not-working-for.html

-2

I had the same issue. Here is what I did to correct it.

Open Terminal

sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
sudo shutdown -r now