Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-03-26 13:57:54

dselen
Member
Registered: 2025-01-06
Posts: 12
Windows 10Firefox 128.0

How to mute network notifications?

Hello all,

How can I mute the network notifications. I have no properties in:

/opt/ntos/bin$ xfconf-query -lv
Channels:
  xfce4-panel
  thunar
  xfce4-desktop
  xfce4-session
  xfce4-notifyd
  xfce4-keyboard-shortcuts
  keyboards
  displays
  xfce4-power-manager
  xsettings
  xfwm4
  thunar-volman

And then

/opt/ntos/bin$ xfconf-query -c xfce4-notifyd -lv
/applications/known_applications  <<UNSUPPORTED>>

I have no idea how to work with notifyd but I want to do this programmatically, so I can automate it for installations.

Thanks in advance.

Offline

#2 2025-03-26 22:50:02

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,815
LinuxFirefox 136.0

Re: How to mute network notifications?

In newer versions of xfconf, it will display the contents of the <<UNSUPPORTED>> field. In your instance, just point at the property directly to see the list:

xfconf-query -c xfce4-notifyd -p /applications/known_applications

This field is an array of strings, and the only way to manually edit it is to re-create the whole array with only the values that you want. See https://docs.xfce.org/xfce/xfconf/xfconf-query. Specifically, it will be something like:

xfconf-query -c xfce4-notifyd -p /applications/muted_applications -t string -s APP1 -t string -s APP2 -a

To add an item to an existing array, you will need to re-create the whole thing with the new entry:

xfconf-query -c xfce4-notifyd -p /applications/muted_applications -t string -s APP1 -t string -s APP2 -t string -s APP3 -a

Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2025-03-28 15:28:33

dselen
Member
Registered: 2025-01-06
Posts: 12
Windows 10Firefox 128.0

Re: How to mute network notifications?

So to turn off NetworkManager notifications, can I directly reference "NetworkManager" as APP1?

Offline

#4 2025-03-28 17:09:50

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,815
LinuxFirefox 136.0

Re: How to mute network notifications?

Yes. On my system it is identified as "org.freedesktop.network-manager-applet". You cand find the name in the notification settings on the Applications tab.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 534.48 KiB (Peak: 535.33 KiB) ]