This is small script for integrating qBittorrent with Unity Launcher.
-
Download
qbittorrent-unity-launcher.py
and moduleqbittorrentrpc
anywhere, leave both in the same directory. -
Make
qbittorrent-unity-launcher.py
executable.chmod +x /path/to/qbittorrent-unity-launcher.py
-
Copy
/usr/share/applications/qBittorrent.desktop
to~/.local/share/applications
cp /usr/share/applications/qBittorrent.desktop ~/.local/share/applications/qBittorrent.desktop
-
Edit newly copied file
gedit ~/.local/share/applications/qBittorrent.desktop
-
Find Exec option and prepend
/path/to/qbittorrent-unity-launcher.py
to commandExec=/path/to/qbittorrent-unity-launcher/qbittorrent-unity-launcher.py qbittorrent %U
-
Make copied .desktop file executable.
chmod +x ~/.local/share/applications/qBittorrent.desktop
-
You are done! Now you can use the new .desktop file to open qBittorent or drag to the the Unity Dash.
Based in the code of Kriomant https://github.com/kriomant/transmission-unity-launcher