Current - notify-send with fvwm (or any WM)
Hi all,
I moved to Current today performing a full install, fully replacing Slackware 14.2. I also searched LQ Slackware and Google without luck. I noticed this issue with notify-send. 1. When I 'startx' for fvwm, notify-send fails to show a message. This also prevents nm-applet from prompting its status and it causes nm-applet to take longer to show up in the tray (stalonetray) 2. When I 'startx' for xfce, notify-send and nm-applet works as expected with nm-applet appearing quickly. Is there a setting I need ? I see this in /var/message: Quote:
all dbus processes: Quote:
Quote:
John |
In order to use notify-send you need a notification server. DE's like xfce have one but WM's (at least the ones I've used) don't. I use notification-daemon (there are others) which is available from slackbuilds.org or ponce's repo. I have this line in my .xinitrc to start the daemon:
Quote:
|
|
This thread has alternative solutions that do not require any package additions.
|
Thanks allend
Starting /usr/lib64/xfce4/notifyd/xfce4-notifyd corrected the issue. I am marking this solved. John |
Quote:
Using fvwm and fluxbox have put the notification-daemon command at the bottom of .xinitrc but the daemon is not starting. Any advice about where in .xinitrc you put the command to start the notification daemon with your window manager would be much appreciated. I have figured out two ways to get the daemon to autostart and display a message in fvwm. One is to create the file "/usr/share/dbus-1/services/org.freedesktop.Notifications.service" to start the daemon for the notify-send message in my fvwm config. Code:
[D-BUS Service] Code:
Exec /usr/libexec/notification-daemon & |
Quote:
Try this and you'll see it's not running: Code:
ps aux | grep notification-daemon Code:
#!/bin/sh |
Quote:
thanks it works with the notification-daemon line edited into /usr/bin/startfvwm which ~/.xinitrc points to but not in ~/.xinitrc itself. Because this requires root to edit the startfvwm file I will just stick to starting the notification-daemon from ~/.fvwm/config. |
All times are GMT -5. The time now is 08:33 PM. |