Add the "Notification Area" to MATE's Panel
Declined: https://wiki.debian.org/Ayatana/IndicatorsTransition#Package:_gajim-appindicatorintegration
Solution, install individual ayatana-indicator packages. Examples:
gajim gajim-appindicatorintegration
workrave workrave-ayatana
Sometimes you have to log out/log in to the desktop environment after you have installed the packages in order to display the ayatana-indicators.
Notification Area issue if the ayatana-indicator packages are not installed:
The "Notification Area" is enabled by default in Ubuntu MATE 22.04, but not in Trisquel 11 nor 10. "AFAIK the notification area got removed since in the past some applications had issues with it, maybe as of today that's not an issue anymore, it will be a god idea to confirm." Luis 2023-09-02
Examples of programs that are visible in the "Notification Area":
- mate-keyboard-properties (part of Trisquel 11): Multiple keyboard layouts
- ibus-setup (part of Trisquel 11, but not Ubuntu MATE): Show icon on system tray
gajim
-
kdocker
-- an important Notification Area tool that allows you to list any program in the Notification Area. Note that I didn't take any screenshot of kdocker in order to represent packages that actually are occupying the Notification Area. -
workrave
[1]
Example of programs that are visible in "Indicator Applet Complete" that should not be confused with the "Notification Area":
vlc
"Notification Area" screenshots in distros
Trisquel 11
Inbuilt programs
Default Trisquel 11:
After the "Notification Area" has been added:
Ubuntu MATE 22.04 (reference)
Installed packages
After the "Notification Area" has been added:
Ubuntu MATE 22.04 (reference)
How to add the "Notification Area"
GUI (temporary)
This section is not really useful due to the "Reset All Panels" issue described below. This section is just added to be clear how it is added
ubuntu-mate.layout (permanent)
This section will help Trisquel developers make the "Notification Area" to be present by default in the next release of Trisquel, and it also helps users of the current release of Trisquel to make the permanent even when "Reset All Panels" is used.
In Ubuntu MATE 22.04 this is found in /usr/share/mate-panel/layouts/ubuntu-mate.layout:
[Object notification-area]
object-type=applet
applet-iid=NotificationAreaAppletFactory::NotificationArea
toplevel-id=top
position=10
panel-right-stick=true
locked=true
/usr/share/mate-panel/layouts/trisquel.layout should be modified to look like this:
[Toplevel top]
orientation=bottom
expand=true
size=44
[Object menu]
locked=true
position=0
panel-right-stick=false
toplevel-id=top
object-type=menu
[Object files]
locked=true
position=20
launcher-location=caja.desktop
panel-right-stick=false
toplevel-id=top
object-type=launcher
menu-path=applications:/
[Object browser]
locked=true
position=30
launcher-location=/usr/share/applications/browser.desktop
panel-right-stick=false
toplevel-id=top
object-type=launcher
menu-path=applications:/
[Object windowlistapplet]
locked=true
position=40
panel-right-stick=false
toplevel-id=top
applet-iid=WnckletFactory::WindowListApplet
object-type=applet
[Object notificationarea]
locked=true
position=20
panel-right-stick=true
toplevel-id=top
applet-iid=NotificationAreaAppletFactory::NotificationArea
object-type=applet
[Object indicatorappletcomplete]
locked=true
position=10mate-keyboard-properties
panel-right-stick=true
toplevel-id=top
applet-iid=IndicatorAppletCompleteFactory::IndicatorAppletComplete
object-type=applet
[Object showdesktopapplet]
locked=true
position=0
panel-right-stick=true
toplevel-id=top
applet-iid=WnckletFactory::ShowDesktopApplet
object-type=applet
- To compile it:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
- Log out and log in to apply it.
- And finally, you need to right-click on mate-panel and click on "Reset All Panels" (or run the command
mate-panel --reset
).
Why should the "Notification Area" be present by default in Trisquel?
Firstly
It's fair to expect the same UI in Trisquel as in Ubuntu MATE.
Secondly
Since the "Notification Area" is not present by default in Trisquel, you have to add it manually. In Trisquel 11 (but not in Trisquel 10) the result is that when you click on "Reset All Panels" the "Notification Area" will be removed. This means that you have to add back the "Notification Area" every time you click on "Reset All Panels". Personally, I have to reset the panels because the Window List hangs sometimes.
Rigt-click to the left of the "Notification Area" to access "Reset All Panels". Also, you must sudo apt-get dist-upgrade
Trisquel 11 in order to "Reset All Panels" because there's a bug that will crash it in the default installation.
Bug reports
- workrave is not visible in the Indicator Applet Complete (MATE's system tray) #504 - https://github.com/rcaelers/workrave/issues/504
References
1: in Trisquel 10 it is displayed in both the "Indicator Applet Complete", and the "Notification Area" (must be added manually), but it can be configured to hide the system tray icon (a workrave will still be present in the system tray so it's still useful)