Ubuntu 18.04 Gnome桌面沒有用於qz-tray的任務欄圖標-為什麼?


3

我正在使用已安裝/下載from GitHub: qzind/trayqz-tray應用程序。

在Ubuntu 18.04 Gnome桌面上不顯示任務欄圖標。
我該怎麼做才能證明呢?

1

I ran the following commands to install QZ Tray (based on official guide):

sudo apt-get install git ant nsis makeself default-jre
cd ~/Downloads
wget https://github.com/qzind/tray/releases/download/v2.0.7/qz-tray-2.0.7.run
chmod +x qz-tray-2.0.7.run
sudo ./qz-tray-2.0.7.run
  • At first I tested it in normal traditional desktop - Ubuntu MATE 18.04 LTS and it has tray icon in place here just after installation:

    qz-tray MATE

  • Then I switched to Ubuntu 18.04 LTS with GNOME:

    1. With default settings it is not shown (i.e. gnome-shell-extension-appindicator is installed, enabled and loaded).
    2. Then installed TopIcons Plus extension from GNOME Software - it shows icon in non-expected place (note green printer near Firefox icon and black square near clock):

    QZ Tray with TopIcons Plus

    1. Afterwards I removed TopIcons Plus and installed TopIcons extension - it does not work even if I start it manually with java -Xms512m -jar "/opt/qz-tray/qz-tray.jar".

So I recommend to drop this brave new GNOME world and switch to fully functional traditional MATE desktop environment by executing sudo apt-get install ubuntu-mate-desktop^.
As normal users we do not have time to overcome all these new non-predicted difficulties.
Also you can try to find support on GitHub issue page to fix this problem for GNOME.


0

Starting with 2.0.9, QZ Tray detects the absence of a System Tray and attached to the Taskbar icon instead.

Here's QZ Tray running on ElementaryOS:

enter image description here

Solutions including the System Tray compat libs (or avoiding Gnome entirely) are the correct solution for those using older QZ Tray versions, however those looking to use a newer version of QZ Tray no longer need to make special considerations. It should work out of the box.