Destroyed Easy pop up notifications using libnotify (markdown)

sledgehammer999 2014-11-16 06:29:59 -08:00
parent f82d072e0a
commit e0cf50b874

@ -1,15 +0,0 @@
You no longer the instructions mentioned below(at least from v3.1.5 onwards). If you have a freedesktop.org compliant notification-deamon installed, the notifications will appear through that.
***
**Outdated instructions:**
Folks running qBittorrent on a linux desktop can easily setup pop-up alerts (among other things) triggered when a torrent download finishes. For the purpose of this example, let's assume a pop-up notice is the goal.
The libnotify package should have both "notify-send" and "libnotify," the former being a CLI to the later. To incorporate it into your qBittorrent configuration, open the "Options" window and select the "Downloads" page. Enable the "Run an external program on torrent completion" check-box and enter the following into the command text-box:
/usr/bin/notify-send -a /usr/bin/qbittorrent -i /usr/share/icons/hicolor/96x96/apps/qbittorrent.png -t 15000 "qBT Download Complete" "%n"
This will cause a notification bubble containing the qBT icon, message and torrent name to display for 15 seconds. Of course you may want/need to change the paths or other settings to suit your needs.