You are not logged in.
Hi all,
not sure if this is the correct location to put this. I was trying to play around with getting messages from the log file of notifyd so I could paste it etc. I found posts that will allow me to do this but they pointed to the fact that I needed to cat it from the notifyd log file. However when I tried this I noticed that notifyd doesn't have a log file in the ~/.cache/xfce4/notifyd.
I have gone into the notification config settings of xfce and can trigger a test notification and it does pop up. So does some notifications from other applications. However under the log tab of the notification config it is blank. I loaded the notification config via
xfce4-notifyd-config
so I assume that should mean notifyd is running right?
However when I checked
systemctl --user status xfce4-notifyd.service
it shows
Unit xfce4-notifyd.service could not be found.
I ran
dbus-send --session --print-reply --dest=org.freedesktop.DBus / org.freedesktop.DBus.GetConnectionUnixProcessID string:org.freedesktop.Notifications
and it returns a pid. When I checked that pid I get
/usr/lib/xfce4/notifyd/xfce4-notifyd
So I am at a loss as to why notifyd isn't putting anything in the log file. Any assistance would help.
I am running arch with xfce4 4.16 and searching for all notifyd shows me the following:
./usr/lib/xfce4/notifyd
./home/david/.cache/xfce4/notifyd
Last edited by djorr5 (2021-04-14 22:45:46)
Offline
However when I checked
systemctl --user status xfce4-notifyd.service
it shows
Unit xfce4-notifyd.service could not be found.
This got changed a little while back. It now (again) starts as an autostart program from /etc/xdg/autostart.
Perhaps its something in the configuration? Can you post back:
xfconf-query -c xfce4-notifyd -lv
xfconf-query -c xfce4-notifyd -p /applications/known_applications
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
xfconf-query -c xfce4-notifyd -lv
xfconf-query -c xfce4-notifyd -lv
/applications/known_applications <<UNSUPPORTED>>
/applications/muted_applications <<UNSUPPORTED>>
/log-level 0
/log-level-apps 0
/log-max-size 50
/notification-log false
/notify-location 2
/primary-monitor 0
xfconf-query -c xfce4-notifyd -p /applications/known_applications
Value is an array with 11 items:
Firefox
google-chrome
nm-applet
notify-send
Spotify
teams
thunar-volman
Xfce volume control
Xfce4-notifyd settings
xfce4-power-manager
xfce4-settings-helper
so something in notification log = false? I checked through settings>notifications and don't have "only during do not disturb" turned on.
Last edited by djorr5 (2021-04-14 22:20:46)
Offline
I am an idiot. I played around with the settings for notifyd in the XML and noticed that if I set the log to true it turned on the setting in notification setting UI. However I was under the impression that this switch only meant for logging when "do not disturb" was set. but it is actually to turn logging on in the first place. Sorry for wasting your time.
Offline
[ Generated in 0.012 seconds, 12 queries executed - Memory usage: 534.23 KiB (Peak: 535.07 KiB) ]