版本是opensuse Tumbleweed,主力桌面是KDE plasma5,但同时安装了GNOME,XFCE4的环境。
目前看是xfce4-notifyd在KDE环境也会自启动,然后覆盖了KDE本身的knotify,导致每次有弹出消息时,风格都很怪异。强迫症无法忍受
看了一下xfce-notifyd的内容,与启动有关的应该是如下两个文件,但systemd和dbus-1的区别还是不太明了,也不知道该如何修改,来避免在KDE环境中自启动的问题。
/usr/lib/systemd/user/xfce4-notifyd.service
[Unit]
Description=XFCE notifications service
[Service]
Type=dbus
BusName=org.freedesktop.Notifications
ExecStart=/usr/lib/xfce4/notifyd/xfce4-notifyd
/usr/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/xfce4/notifyd/xfce4-notifyd
SystemdService=xfce4-notifyd.service