Open a magnet URI from Google Chrome in Ubuntu 9.10 Karmic

It took more searching than it warranted but to open a magnet URI in Google Chrome/Chromium browser and have it open in Transmission you need to run the following so xdg-open can ask GNome how to handle the magnet link.

Open a terminal and for the current user:-

$ gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command "transmission %s"
$ gconftool-2 -s /desktop/gnome/url-handlers/magnet/needs_terminal false -t bool
$ gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true

Advertisements

3 Responses

  1. this howto works only with gnome DE, but not with my xmonad…

  2. Works fine in Ubuntu 10.04. Thank you mate.

  3. Only works if you are running under gnome-session.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: