You are not logged in.
Pages: 1
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
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
So to turn off NetworkManager notifications, can I directly reference "NetworkManager" as APP1?
Offline
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
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 534.48 KiB (Peak: 535.33 KiB) ]