Corvo78
February 14th, 2007, 11:17 AM
First of all I'd like to point out that I haven't tried out any native (Linux) newsreaders yet.
As far as I could tell, from reading the forums, none of them came close to GrabIt's ease of use.
So, this how-to focusses on installing GrabIt using WINE (www.winehq.com (http://www.winehq.com/)).
I can imagine that 'purists' would like to try and prevent Win32 apps from being installed...
...therefor I've compiled this list of native applications they can try first:
PAN
KLibido
HellaNZB(If anyone knows another application, I'll add it to the list.)
In the future, I'm surely going to give HellaNZB a whirl.
I recently 'converted' to Ubuntu Linux and I'm certain more people, like me, would consider not having
a similar binary news leecher a showstopper from switching over to Linux entirely (completely ditching Windows).
I also want to give something back to the great Ubuntu community.
I based this how-to on my installation of GrabIt on my 32-bit Ubuntu Edgy (6.10) desktop installation.
Without further delay, my How-To: :)
_________________________
* Step 1 - Installing WINE (a.k.a. the Microsoft Windows Compatibility Layer)
In order to install WINE I simply followed Wine-HQ's instructions, found here: http://www.winehq.com/site/download-deb
In short, it boils down to this (for Ubuntu Edgy):
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/edgy.list -O /etc/apt/sources.list.d/winehq.list
sudo apt-get update
sudo apt-get install wine
* Step 2 - Configuring WINE (optional)
In order to install/run GrabIt this step isn't necessary, since the default settings work nicely!
Now that WINE was installed I would like to be able to configure it. So, I navigated my gnome-menu and selected 'System > Preferences > Menu Layout'.
This will start the 'Alacarte' programm which will allow you to Add/Remove items to your gnome-menu.
I added a menu-item to 'System > Preferences' and named it 'Wine configuration', selected some generic icon and set it to run the following command
winecfgIn my case the newly added item didn't show up until I rebooted (Old Windows habits, die hard...).
Start Wine configuration and change things you deem approriate. In my case I changed to default Sound Driver from OSS to ALSA and changed some directory links
(I made 'My Music' link to a different folder on my Linux partition).
* Step 3 - Downloading GrabIt
I wanted all WINE related things to be stored in one place, so I made a new folder in my home for this.
I named the new folder 'vinyard', allthough anything will do.
Within this folder I created two more subfolders, namely 'installers' and 'launchers'.
Using my favorite browser I surfed to www.shemes.com (http://www.shemes.com/index.php?p=download) and downloaded the latest version of GrabIt (in my case this was version 1.6.2 ßeta).
I moved the download to my '~/vinyard/installers/' folder.
* Step 4 - Installing GrabIt
In nautilus right click on GrabIt's installer (in my case the 'GrabIt162b.exe' file) and choose the 'Open With' tab.
In this tab choose to add a new program and simply use the following command
wineClose the dialog and double-click on the installer. You should be able to run it (using Wine).
Important:
The installation will play nice until the installer wants to launch a browser window. Since this is impossible, an error will show-up and exit the installer.
Fact is, the installation was succesfull except the installer didn't create a 'start-menu shortcut'. This however, proved to be a good thing.
* Step 5 - Creating a 'Wine/GrabIt' shell file (a.k.a. launcher)
In order to be able to launch GrabIt when double-clicking a NZB file a shell (batch) file needs to be created.
Using my favorite editor (in my case that is 'gedit') I created a file named 'GrabIt.sh' in my '~/vinyard/launchers/' folder.
The contents of the file should be
wine "C:\Program Files\GrabIt\GrabIt.exe" $1Using nautilus, right-click on the file and make sure to mark a checkbox to make 'GrabIt.sh' executable.
* Step 6 - Creating the missing menu shortcut for GrabIt
As you might have seen, after installing GrabIt there's now a Wine menu available in the gnome-menu under 'Applications'.
Now we're going to correct the installer's error by creating a custom 'start-menu shortcut' to our newly made 'GrabIt.sh' file.
I navigated my gnome-menu and selected 'System > Preferences > Menu Layout'.
This will start the 'Alacarte' programm which will allow you to Add/Remove items to your gnome-menu.
I added a menu-item to 'Wine > Programs > GrabIt' and apptly named it 'GrabIt', selected an icon and set it to run the following command
~/vinyard/launchers/GrabIt.shIn my case the newly added item didn't show up until I rebooted (Old Windows habits, die hard...).
_________________________
WE'RE DONE!! :KS
Everything is now setup! It's probably a good idea to run 'GrabIt' now and set it up with your nntp-server settings.
When downloading a NZB file in your browser (in my case that is 'Firefox') select it to automatically use the 'GrabIt' application
(it should be listed since it is in our gnome-menu). GrabIt should run and ask details on how-to import the downloaded NZB file!
I hope this How-To is of use to some people. My biggest problem setting it up was to have Firefox be able to launch GrabIt.
That's when I thought up to use a shell file as a 'wrapper'... and to my amazement, that worked :D
(If anything is wrong with my how-to or could be improved, I'm glad to hear it and change the how-to accordingly.)
As far as I could tell, from reading the forums, none of them came close to GrabIt's ease of use.
So, this how-to focusses on installing GrabIt using WINE (www.winehq.com (http://www.winehq.com/)).
I can imagine that 'purists' would like to try and prevent Win32 apps from being installed...
...therefor I've compiled this list of native applications they can try first:
PAN
KLibido
HellaNZB(If anyone knows another application, I'll add it to the list.)
In the future, I'm surely going to give HellaNZB a whirl.
I recently 'converted' to Ubuntu Linux and I'm certain more people, like me, would consider not having
a similar binary news leecher a showstopper from switching over to Linux entirely (completely ditching Windows).
I also want to give something back to the great Ubuntu community.
I based this how-to on my installation of GrabIt on my 32-bit Ubuntu Edgy (6.10) desktop installation.
Without further delay, my How-To: :)
_________________________
* Step 1 - Installing WINE (a.k.a. the Microsoft Windows Compatibility Layer)
In order to install WINE I simply followed Wine-HQ's instructions, found here: http://www.winehq.com/site/download-deb
In short, it boils down to this (for Ubuntu Edgy):
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/edgy.list -O /etc/apt/sources.list.d/winehq.list
sudo apt-get update
sudo apt-get install wine
* Step 2 - Configuring WINE (optional)
In order to install/run GrabIt this step isn't necessary, since the default settings work nicely!
Now that WINE was installed I would like to be able to configure it. So, I navigated my gnome-menu and selected 'System > Preferences > Menu Layout'.
This will start the 'Alacarte' programm which will allow you to Add/Remove items to your gnome-menu.
I added a menu-item to 'System > Preferences' and named it 'Wine configuration', selected some generic icon and set it to run the following command
winecfgIn my case the newly added item didn't show up until I rebooted (Old Windows habits, die hard...).
Start Wine configuration and change things you deem approriate. In my case I changed to default Sound Driver from OSS to ALSA and changed some directory links
(I made 'My Music' link to a different folder on my Linux partition).
* Step 3 - Downloading GrabIt
I wanted all WINE related things to be stored in one place, so I made a new folder in my home for this.
I named the new folder 'vinyard', allthough anything will do.
Within this folder I created two more subfolders, namely 'installers' and 'launchers'.
Using my favorite browser I surfed to www.shemes.com (http://www.shemes.com/index.php?p=download) and downloaded the latest version of GrabIt (in my case this was version 1.6.2 ßeta).
I moved the download to my '~/vinyard/installers/' folder.
* Step 4 - Installing GrabIt
In nautilus right click on GrabIt's installer (in my case the 'GrabIt162b.exe' file) and choose the 'Open With' tab.
In this tab choose to add a new program and simply use the following command
wineClose the dialog and double-click on the installer. You should be able to run it (using Wine).
Important:
The installation will play nice until the installer wants to launch a browser window. Since this is impossible, an error will show-up and exit the installer.
Fact is, the installation was succesfull except the installer didn't create a 'start-menu shortcut'. This however, proved to be a good thing.
* Step 5 - Creating a 'Wine/GrabIt' shell file (a.k.a. launcher)
In order to be able to launch GrabIt when double-clicking a NZB file a shell (batch) file needs to be created.
Using my favorite editor (in my case that is 'gedit') I created a file named 'GrabIt.sh' in my '~/vinyard/launchers/' folder.
The contents of the file should be
wine "C:\Program Files\GrabIt\GrabIt.exe" $1Using nautilus, right-click on the file and make sure to mark a checkbox to make 'GrabIt.sh' executable.
* Step 6 - Creating the missing menu shortcut for GrabIt
As you might have seen, after installing GrabIt there's now a Wine menu available in the gnome-menu under 'Applications'.
Now we're going to correct the installer's error by creating a custom 'start-menu shortcut' to our newly made 'GrabIt.sh' file.
I navigated my gnome-menu and selected 'System > Preferences > Menu Layout'.
This will start the 'Alacarte' programm which will allow you to Add/Remove items to your gnome-menu.
I added a menu-item to 'Wine > Programs > GrabIt' and apptly named it 'GrabIt', selected an icon and set it to run the following command
~/vinyard/launchers/GrabIt.shIn my case the newly added item didn't show up until I rebooted (Old Windows habits, die hard...).
_________________________
WE'RE DONE!! :KS
Everything is now setup! It's probably a good idea to run 'GrabIt' now and set it up with your nntp-server settings.
When downloading a NZB file in your browser (in my case that is 'Firefox') select it to automatically use the 'GrabIt' application
(it should be listed since it is in our gnome-menu). GrabIt should run and ask details on how-to import the downloaded NZB file!
I hope this How-To is of use to some people. My biggest problem setting it up was to have Firefox be able to launch GrabIt.
That's when I thought up to use a shell file as a 'wrapper'... and to my amazement, that worked :D
(If anything is wrong with my how-to or could be improved, I'm glad to hear it and change the how-to accordingly.)