Skip to content

Instantly share code, notes, and snippets.

@elecnix
Created October 4, 2010 02:37
Show Gist options
  • Select an option

  • Save elecnix/609189 to your computer and use it in GitHub Desktop.

Select an option

Save elecnix/609189 to your computer and use it in GitHub Desktop.
Open with uTorrent in Nautilus
#!/bin/bash
#
# Make this script executable, then go to a folder with a .torrent file,
# right-click on it, go to Properties, Open With, Add, Select a customized
# application, then browse to the script. Make that the default.
#
# Now, when you right-click on the .torrent, utorrent should be the first choice,
# and double-clicking the file should open it in utorrent.
#
# Note: you should adjust the path to utorrent.exe and the drive letter.
#
wine "/path/to/utorrent.exe" "Z:$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment