February 4, 2010

How to Install Ted: Torrent Episode Downloader in Linux

 

By now you are probably familiar with Ted: Torrent Episode Downloader.  In fact, Michael recently covered, how to Turn Your Computer into a DVR with Ted.  However, I have yet to see a guide on how to install/run Ted in Linux.  Since it is written in Java, it is fairly straightforward to get running, but there are probably some new guys to Linux that could use some help.  I will also show you how to create a menu icon to launch Ted.

Requirements

Java is the only software requirement to actually open Ted.  According to Ted’s website, you need at least Java 5.  If you don’t already have Java installed, you can install it from the Ubuntu Software Center, by searching for java6.  You need the ‘Sun Java 6 Runtime’, not just the plugin.

Ted Install Java 6 Runtime

You can also run the following command:

sudo aptitude install sun-java6-bin

Getting Started

It just so happens Ted released a new version yesterday, so make sure you download the most recent release.  You will notice there is a a different download depending on which operating system you want to run Ted in.  Obviously, you are going to want to choose the Linux download, which is in the form of a .zip archive.

Once the download is finished, we need to extract the contents of the zip archive.  You can do this several ways, depending on if you are a click and point kind of person, of if you prefer the command line.

For those of you who like the mouse, right click on the downloaded zip archive and choose ‘Extract Here’.  Be sure to rename the extracted folder to ‘ted’ (without the quotes).  The name of the folder will matter later on.

Ted Linux Extract Archive

You can also use the command line by navigating to the directory where the zip archive is located and running the following commands:

mkdir ted
unzip tedv09715.zip -d ted

*Note: the second command will change slightly with each version of Ted.

If you want to move the ted folder to another location, now would be the time to do it.  The location does not matter, but changing it after this point will cause problems.

Creating an Application Launcher

Right click on the Applications menu, and choose ‘Edit Menus’

Ted Edit Application Menu

Choose the Internet menu from the list on the left.  Then click the ‘New Item’ button on the right.

Ted Application Menu

Now, add the Ted entry. Be sure to change the location of the ted.jar file to where you put it earlier.

Ted Application Launcher

Finally, we will add the Ted icon to the launcher.  Click the spring looking icon button in the upper left corner.  This should open a window allowing you to browse for icons.  Click the Browse button and then navigate to the ‘ted’ folder. You will only be able to see the folders within the ted folder; however, this is okay. Simply click the Open button and you should see a file named ‘winicon.ico’.

Ted Browse for icons

Select the icon and then click ‘OK’.

Ted Application Launcher with icon

(Optional)

Now for those of you who like doing everything on the command line, don’t fret, I haven’t forgotten about you.  Start by creating a text file named ‘ted’ that contains the following:

#!/bin/bash
java -jar /home/eric/ted/ted.jar

Obviously, change the location of the ted.jar file to match your system.  Next, we need to make this file executable.  To do so, run chmod +x ted from the command line.  Last, we need to move it to a folder included in your search path.  For example:
sudo mv ted /usr/bin/

Notice root privileges are needed here since you are copying the file to a system folder.  Enter your password when prompted.  You should now be able to run ‘ted’ from the command line to launch the application.

Upgrading safely

Since Ted includes the version number in its folder names, you have to be careful to not break the application launcher.  Either follow the Getting Started section above, or simply copy and paste the contents of the new release of Ted into your current ‘ted’ folder.

Troubleshooting

If your application launcher quits working, it is probably because the path to the ted.jar file has changed.  Just double check that it is still in the same location, and update either the launcher or the location if it is different.

In some of the older versions, Ted was set to use a tray icon by default; however, this would cause problems with Java.  This problems seems to have been fixed in newer versions of Ted, but I thought it was still worth mentioning.  If you get an error similar to the following:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no tray in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.jdesktop.jdic.tray.internal.impl.GnomeSystemTrayService.(Unknown Source)
at org.jdesktop.jdic.tray.internal.impl.ServiceManagerStub.getService(Unknown Source)
at org.jdesktop.jdic.tray.internal.ServiceManager.getService(Unknown Source)
at org.jdesktop.jdic.tray.SystemTray.(Unknown Source)
at ted.TedTrayIcon.(TedTrayIcon.java:28)
at ted.TedMainDialog.initGUI(TedMainDialog.java:312)
at ted.TedMainDialog.(TedMainDialog.java:121)
at ted.TedMain.main(TedMain.java:37)

try changing the command to run Ted from java -jar /home/eric/ted/ted.jar to java -jar /home/eric/ted/ted.jar noTray This can be substituted for the normal command in any of the examples given above.

If you found this article useful, please share it:
  • Digg
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Twitter
  • Facebook
  • email
  • Print
  • Add to favorites

RSS Feed If you enjoyed reading this article, subscribe to the RSS feed. RSS Feed

 

Written by Eric

 

Related Posts

Adds a space after the Google Ad-->

 

4 responses

[...] the article here: How to Install Ted: Torrent Episode Downloader in Linux | Windows … Posted in: How To's, Uncategorized ADD [...]

[...] here: How to Install Ted: Torrent Episode Downloader in Linux | Windows … Share and [...]

[...] Continue reading here: How to Install Ted: Torrent Episode Downloader in Linux | Windows … [...]

Matt said:
February 8, 2010

This guide really helped me out the other day when I was installing the newest version of TED. The way I installed it before was good but when I used this tutorial it made it a little easier and now I get to have TED’s icon instead of that stupid spring. It is also easier to update to the newest version of TED if it is installed the way you explain it in the tutorial instead of my way. Thanks guys!

Leave a comment

Name: 
Email: 
Website: 
Comment: 

Looking for something?

Still can't find what you're looking for? Let us know by dropping a comment on a post or email us at admin[at]wlmtips.com!

Archives

All entries, chronologically...

 

 

Check us out!

Some of our other links...

Visit our friends!

A few highly recommended friends...