MaximB: How do I associate this protocol to gogdownloader ? (just can't find the option).
I'm using Linux and running it under Wine (the older downloaders had no problems).
Miaghstir: There's got to be some system setting on how to associate protocols with an application (that decides which application to open when you click on a link starting with mailto:, http:, ftp: whatever:... and in this case gogdownload:). The earlier version didn't use a protocol association but instead repeatedly queried a web service or database if there were any updates to your download list.
An easier solution might be to install the Windows version of a web browser under Wine, since it'll probably pick up the URL association registered by the GOG Downloader.
First download the new Windows only GOGDownloader.exe from GOG. Make sure Wine is installed with all of it's Deps. Move the GOGDownloader.exe file to ~/.wine/drive_c/Program Files. notice the .wine folder is hidden so first make hidden files visible for your Distro (on Fedora 13 KDE just press the Alt+. keys). Once you have moved the Downloader I would strongly recommend that you put an underscore in the Program_Files name so you don't have trouble with the Linux CLI seeing it as two separate files this is also the name I used in the bash script.
Now open Kwrite or a Text Editor of your choice, and copy/paste the two lines of text into the editor. This creates a Bash Shell Script when saved.
#!/bin/bash
wine /drive_c/Program_Files/GOGDownloader.exe $1
Save this in a Folder of your choice as "gogdownloader.sh" (I would recommend a new GOG Folder in your Home Directory)
Go to the GOG folder now or wherever you put the script. Open a terminal there and paste in the following code.
~]$ chmod +x gogdownloader.sh (Makes the script executable)
I'm gambling here that most Linux users browse with Firefox if not you will probably have to use an alternative method to set the Protocol.
We need to tell FF where to look for an App to match the gogdownloader protocol For Firefox 3.5 & Above
Open Firefox
Type about:config into the Location Bar (address bar) and press Enter.
Right-click -> New -> Boolean -> Name: network.protocol-handler.expose.gogdownloader -> Value -> false
Next time you click a link of the gogdownloader protocol you will be asked which application to open it with, browse to your GOG folder & open it and click on the gogdownloader.sh script and hopefully everything should work fine
There are of course other methods of setting the protocol as has been shown here by another member but I think this one is a little more painless
Thanks are owed to MozillaZine from whom I shamelessly pillaged the above info.