Thank you for this package! However, few things are missing:
1. python2-dbus is missing as dependency
$ notify-listener
/usr/bin/notify-listener:21: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
from gi.repository import Notify, GObject
Traceback (most recent call last):
File "/usr/bin/notify-listener", line 25, in <module>
import dbus
ImportError: No module named dbus
After install, it worked with the same warning.
2. Update the instructions
The most important being number 5 without which no notifications arrived:
...
5. Start the listener int he background:
$ notify-listener &
...
Perhaps, copy-paste them from Github!
3. Suggestions
* I would rename the binary notify-listener to libnotify-irssi-listener in /usr/bin to avoid future name collisions.
* It seems quite useful to make a unit for systemctl that should be placed in .config/systemd/user/libnotify-irssi.service that would contain the below which would allow to start it with 'systemctl --user start irssi-libnotify' instead of a background task:
[Unit]
Description=Irssi-libnotify
[Service]
ExecStart=/usr/bin/notify-listener
[Install]
WantedBy=default.target
Cheers,
rrt
Search Criteria
Package Details: irssi-libnotify-git r42.74198b5-1
| Git Clone URL: | https://aur.archlinux.org/irssi-libnotify-git.git (read-only) |
|---|---|
| Package Base: | irssi-libnotify-git |
| Description: | libnotify plugin for irssi |
| Upstream URL: | https://github.com/stickster/irssi-libnotify |
| Keywords: | irssi libnotify |
| Licenses: | |
| Submitter: | gtmanfred |
| Maintainer: | rrt |
| Last Packager: | wookietreiber |
| Votes: | 22 |
| Popularity: | 0.000977 |
| First Submitted: | 2012-04-19 21:38 |
| Last Updated: | 2015-07-27 14:55 |
Dependencies (5)
- irssi (irssi-git)
- perl-html-parser
- python2-gobject (python2-gobject-git)
- libnotify>=0.7 (libnotify-gtk2, libnotify-id, libnotify-id-git)
- git (git-git) (make)
Required by (0)
Sources (2)
Latest Comments
wookietreiber commented on 2016-09-14 07:44
rrt commented on 2016-08-23 17:52
wookietreiber commented on 2015-07-27 14:55
Done. Thanks for letting me know.
Brottweiler commented on 2015-07-27 10:44
You should probably update this to use https://github.com/stickster/irssi-libnotify
gtmanfred commented on 2012-11-04 04:38
@dakanya, how are you starting X?
please make sure you are completely up to date and have merged all your pacnews.
https://wiki.archlinux.org/index.php/General_Troubleshooting#Session_permissions
dakanya commented on 2012-11-03 21:51
I'm trying to get this to work but this error has me stumped. I suspect it's something to do with systemd and dbus.
# Failed to open connection to "session" message bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
gtmanfred commented on 2012-04-27 21:56
daemons don't work right now, I am working on them
@rrt I just made you a maintainer of the package. Feel free to apply these changes yourself!