You are not logged in.
Xfce4-notifyd stopped starting after upgrading to version 0.6.2-2. I am using xfce4-notifyd outside of Xfce (with Openbox).
There was a change how it's started in 0.6.2[0]. The Arch package added the sysconfdir in 0.6.2-2[1] and a desktop file gets installed, in my case, in /etc/xdg/autostart. However it's not starting up xfce4-notifyd.
I can manually start it. I checked the path in the autostart file and it's correct. All the other desktop files in the autostart directory work (get started).
I wanted then to start it with my session, using the provided systemd service file[2], but the file isn't included with the Arch package.
Does anyone know what the correct way to solve this would be? Is it an Arch packaging error (omitting the service file) or is there an issue with the autostart desktop file?
[0] https://gitlab.xfce.org/apps/xfce4-noti … 3f434a6f47
[1] https://github.com/archlinux/svntogit-p … d9db127101
[2] https://gitlab.xfce.org/apps/xfce4-noti … service.in
Last edited by justasug (2020-09-08 12:38:30)
Offline
It is included:
$ pacman -Ql xfce4-notifyd | grep systemd
xfce4-notifyd /usr/lib/systemd/
xfce4-notifyd /usr/lib/systemd/user/
xfce4-notifyd /usr/lib/systemd/user/xfce4-notifyd.service
What status does the service return:
systemctl --user status xfce4-notifyd.service
Do you have a conflicting notification daemon running?
Edit: My bad. I hadn't updated. You are correct, the latest version does not have it included. However, I now have an entry in my Application Autostart for it that starts it up.
Edit2: looks like it was done on purpose (Ref: https://github.com/archlinux/svntogit-p … d9db127101 and https://git.xfce.org/apps/xfce4-notifyd … 3f434a6f47). You can now specify during build whether to use dbus or sysconfdir - the Arch build has defaulted to sysconfdir.
Last edited by toz (2020-09-02 11:01:52)
Offline
As far as I know, I don't have any conflicting notification daemon running. Is there a way to check for sure? Running
notify-send test
doesn't trigger any notifications.
$ pacman -Qs notify
local/knotifyconfig 5.73.0-1 (kf5)
Configuration system for KNotify
local/libnotify 0.7.9-1
Library for sending desktop notifications
local/xfce4-notifyd 0.6.2-2 (xfce4-goodies)
Notification daemon for the Xfce desktop
How could I troubleshoot the issue of it not starting from the /etc/xdg/autostart directory? I am running an Openbox session and it seems that other things from there get started (nm-applet or pulseaudio for example). I have python-pyxdg installed, which is apparently required for that to work with Openbox.
Last edited by justasug (2020-09-02 20:31:51)
Offline
As far as I know, I don't have any conflicting notification daemon running. Is there a way to check for sure?
What does the following return:
ps -ef | grep -E 'notif|dunst'
How could I troubleshoot the issue of it not starting from the /etc/xdg/autostart directory?
Look at your log files. The journal and/or an ~/.xsession-errors file if you or your display manager has set one up.
Offline
ps -ef | grep 'notif|dunst'
dino 1735 843 2 08:07 ? 00:00:00 /usr/bin/cbatticon -i notification -l 10 -r 2
dino 1962 1826 0 08:07 pts/0 00:00:00 grep --color=auto -E notif|dunst
None was running/installed.
I managed to get it to work. The problem is in the xfce4-notifyd.desktop file. There is a OnlyShowIn=XFCE; line, which apparently prevents it from being shown in the menus but ALSO from starting outside of an XFCE session. I removed the line and now it's starting again.
Bugreport on the Xfce bugtracker: https://gitlab.xfce.org/apps/xfce4-notifyd/-/issues/35
Last edited by justasug (2020-09-03 06:32:27)
Offline