Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-02-12 19:35:10

MxSelfDestruct
Member
Registered: 2023-11-14
Posts: 5

[SOLVED] NetworkManager Applet appears as legacy systray icon

I'm running a fresh install of Debian 12 with Xfce. I notice that the Network Manager tray applet appears as a "legacy item" in the Status Tray. This is annoying for a couple of reasons; legacy icons always appear to the left of everything else, and the "Systray Icons" section is frequently filled up with "old" Network Manager applets from connecting to different WiFi networks.

For reference, I am using Xfce 4.18, and network-manager-gnome 1.30.0. My Status Tray plugin configuration is:

    <property name="plugin-5" type="string" value="systray">
      <property name="hidden-items" type="array">
      </property>
      <property name="hidden-legacy-items" type="array">
      </property>
      <property name="hide-new-items" type="bool" value="false"/>
      <property name="icon-size" type="int" value="0"/>
      <property name="known-items" type="array">
        <value type="string" value="chrome_status_icon_1"/>
        <value type="string" value="TelegramDesktop"/>
        <value type="string" value="indicator-solaar"/>
      </property>
      <property name="known-legacy-items" type="array">
        <value type="string" value="wi-fi network connection “(redacted)” active: (redacted) (65%)"/>
        <value type="string" value="solaar"/>
        <value type="string" value="wi-fi network connection “(redacted)” active: (redacted) (60%)"/>
        <value type="string" value="networkmanager applet"/>
      </property>
      <property name="menu-is-primary" type="bool" value="false"/>
      <property name="show-frame" type="bool" value="false"/>
      <property name="single-row" type="bool" value="true"/>
      <property name="size-max" type="uint" value="22"/>
      <property name="square-icons" type="bool" value="true"/>
      <property name="symbolic-icons" type="bool" value="false"/>
    </property>

Last edited by MxSelfDestruct (2024-02-13 05:10:14)

Offline

#2 2024-02-13 00:21:54

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,203

Re: [SOLVED] NetworkManager Applet appears as legacy systray icon

nm-applet seems to support the "--indicator" parameter (see: https://wiki.archlinux.org/title/Networ … pindicator), assuming your distro has built it with appindicator support (Arch does). To use it, you would need to alter nm-applet.desktop file.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2024-02-13 05:08:53

MxSelfDestruct
Member
Registered: 2023-11-14
Posts: 5

Re: [SOLVED] NetworkManager Applet appears as legacy systray icon

Adding the "--indicator" parameter to the "Command" section of "/etc/xdg/autostart/nm-applet.desktop" seems to have done it, thanks! Marking as resolved.

Offline

Board footer

Powered by FluxBB