Torrent Search

forum.utorrent.com

µTorrent Community

You are not logged in.

#1 2007-09-02 22:28:29

NoOneButMe
Moderator

How To: Run uTorrent on Linux.

How To: Run uTorrent on Linux.

Note:  In Linux, run any command in a bash shell. (duh)

Part 1. Installing Wine
Dependancies that should preferably be up to date:


Install Wine. 1.1.9 is the latest version as of this update.  Either use your package manager or you can compile from source if thats your fancy.

Once Wine is installed, uTorrent will run, but there's some more tweaks to do - Fix fonts and the black box at the very least.

Part 2. Fixing the black box issue
Method A.
Run uTorrent 1.8 or later with sys.enable_wine_hacks enabled (in advanced options).

Method B.

Code:

A. With wine, run "winecfg" in the terminal. With Darwine, go to /Applications/Darwine/Sample WineLib Applications and run winecfg.exe. 
B. Under the "Applications" tab - the default one - hit "Add application..." And select utorrent.exe from wherever you saved it to on your drive. 
C. Change "Windows Version:" to "Windows XP" and hit "ok"

The black box issue should now be fixed.  If it isn't, restart X11 and Wine and then try again.  Also might be a good idea to check and make sure the change in settings went through.

Part 3. Fixing Fonts
Method A:
Run uTorrent 1.8 or later. 

Method B: Entering the commands manually.

Code:

A. Download the fonts. "curl -LO https://www.redhat.com/f/fonts/liberation-fonts-ttf-3.tar.gz"
B. Extract it the file. "tar -zxvf ~/Desktop/liberation-fonts-ttf-3.tar.gz"
C. Move the fonts to the Wine font dir - "mv ~/Desktop/liberation-fonts-0.2/* ~/.wine/drive_c/windows/fonts" 
D. Download the convert_fonts script. "curl -LO http://www.mail-archive.com/wine-devel@winehq.org/msg36618/convert_fonts"" 
E. Make the script executable. "chmod a+x convert_fonts" 
F. Run the script.  "sh convert_fonts"

Part 4. Miscellaneous Tips:
WebUI Installation:

Code:

A. To install the WebUI, put webui.zip file in "~/.wine/drive_c/windows/profiles/$USER/Application\ Data/uTorrent"

Symlink Wine's fake C drive to the desktop:

Code:

B. Create a symlink to drive_c on your desktop with "ln -s ~/.wine/drive_c ~/Desktop/C"

Part 5. Known Annoyances


  • uTorrent starts but goes completely blank.  Delete Settings.dat and Settings.dat.old in ~/.wine/drive_c/windows/profiles/<username>/Application\ Data/uTorrent

  • A window pops up with the "uTorrent is already running.." even though you quit uTorrent.  Kill all the wine processes.  "(cd /Applications/Darwine/Wine.bundle/Contents/bin/ first on OS X) wineserver -k" to kill all the wine processes running.

  • Deleting files to the trash does not work.  Wine follows the FreeDesktop.org Trash Spec and as such moves files to ~/.local/share/Trash/ instead of ~/.Trashes which *nix variants use.  If you delete files to the trash, you will have to symlink ~/.local/share/Trash to ~/.Trashes or manually delete these files. 

  • Minimizing causes the window to stop updating. Downloading and uploading still works, but the UI window doesn't update. To fix this, uncheck the "Close to tray" under UI Settings in the Preferences panel.

Last edited by NoOneButMe (2008-11-26 19:32:25)

Offline

 

#2 2008-01-27 05:16:49

Ryan Norton
µTorrent Developer

Re: How To: Run uTorrent on Linux.

On linux, if you want a better looking tray icon, the following link may help

http://ubuntuforums.org/showthread.php? … rrent+wine

Offline

 

#3 2008-03-05 08:49:39

KOATV
Member

Re: How To: Run uTorrent on Linux.

thanks man!

Offline

 

#4 2008-03-05 09:31:39

hugootto
Member

Re: How To: Run uTorrent on Linux.

My thanks, too!

Offline

 

#5 2008-03-11 08:50:54

nabilalk
Member

Re: How To: Run uTorrent on Linux.

I'm confused about running the .exe using MAC OSX.  Does the Darwine allow you to run .exe files? Also with regards to the WebUI, you said to place the .zip folder in "~/.wine/drive_c/windows/profiles/<username>/Application\ Data/uTorrent"

Where will this folder be in MacOSX? Thanks.

Offline

 

#6 2008-03-11 10:00:21

Ultima
Administrator

Re: How To: Run uTorrent on Linux.

It should be in the user directory, though it might be hidden, since files whose names begin with a period are considered "hidden" by many/most *nix-based operating systems (OS X included).

Offline

 

#7 2008-03-11 10:02:29

nabilalk
Member

Re: How To: Run uTorrent on Linux.

I see, and if it is hidden, how would I gain access to the directory? Thanks.

Offline

 

#8 2008-03-11 10:04:47

Ultima
Administrator

Re: How To: Run uTorrent on Linux.

By manually opening a path in Finder, I suppose? Or if you know how to use the Terminal, you can always copy/move the files over to the correct location that way.

Offline

 

#9 2008-03-11 10:11:26

nabilalk
Member

Re: How To: Run uTorrent on Linux.

If the file is hidden, it won't show up in finder I would think.  How long until a full MAC OSX version of utorrent is released, so that we don't have to employ a workaround?

Offline

 

#10 2008-03-11 10:12:59

Ultima
Administrator

Re: How To: Run uTorrent on Linux.

We don't give ETAs. And I managed to find the directory via Finder before, though I can't remember how.

Offline

 

#11 2008-03-14 15:23:09

sithemac
Member

Re: How To: Run uTorrent on Linux.

Find folder in Finder by using "Go to folder..." (Cmd+Shift+G) from the Go menu. type "~/.wine"

My question: I have a G4 PPC MacMini, 10.4.11, X11, Darwine, Freetype. I've installed Darwine and can run all the sample apps, but uTorrent quits during startup with Darwine reporting that it failed and to check the message log, but it's empty.

I've read elsewhere that Win32.exe's won't run under Darwine on PPC chips, and would like a definitive yes or no, if possible on whether it's worth persevering with it on my current machine.

Any ideas?

Last edited by sithemac (2008-03-14 15:37:08)

Offline

 

#12 2008-03-14 16:40:31

Firon
Administrator

Re: How To: Run uTorrent on Linux.

You need an Intel machine.

Online

 

#13 2008-03-14 17:22:16

sithemac
Member

Re: How To: Run uTorrent on Linux.

Thanks. Now I can concentrate on something else smile

Offline

 

#14 2008-03-19 06:12:11

utorrentnoob
Member

Re: How To: Run uTorrent on Linux.

Thank you very much for this. I can't wait to experiment on my Ubuntu box.

Offline

 

#15 2008-03-31 05:43:05

ignas2526
Member

Re: How To: Run uTorrent on Linux.

the easiest way to install and use u torrent on mac and linux http://forum.utorrent.com/viewtopic.php … 19#p317819

Offline

 

#16 2008-03-31 05:46:44

Ultima
Administrator

Re: How To: Run uTorrent on Linux.

No, it's not.

Offline

 

#17 2008-04-14 04:35:04

sneki
Member

Re: How To: Run uTorrent on Linux.

my files won't delete when im clicking remove and -> "delete torrent + data" in utorrent 1.7.7 using Wine on Mac OSX: LEOPARD

anyone knows the issue?

smile

Last edited by sneki (2008-04-14 07:02:00)

Offline

 

#18 2008-04-14 08:53:43

NoOneButMe
Moderator

Re: How To: Run uTorrent on Linux.

I'm pretty sure this is a bug with wine not moving files to ~/.Trash properly, you can file a bug with Wine here if you like.

Offline

 

#19 2008-04-15 20:07:52

Ultima
Administrator

Re: How To: Run uTorrent on Linux.

Wine seems to remove files to ~/.local/share/Trash/files/, not ./Trash/.

Offline

 

#20 2008-04-15 21:24:56

NoOneButMe
Moderator

Re: How To: Run uTorrent on Linux.

Symlinking ~/.local/share/Trash to ~/.Trash should work as a workaround for this issue though.

Offline

 

#21 2008-04-17 10:44:55

mason62k7
Member

Re: How To: Run uTorrent on Linux.

Thanks people

Offline

 

#22 2008-04-19 15:51:37

treadman
Member

Re: How To: Run uTorrent on Linux.

Nice tut. Works very well!

Offline

 

#23 2008-05-15 10:12:03

carys26
Member

Re: How To: Run uTorrent on Linux.

Hi,

I followed all of your instructions and they worked fine until I got to the script to link Wine's fake C drive with the rest of my hard drive. The script won't let me execute it. It says that I don't have appropriate access privileges, but when I click on get info it says that I can read and write. I am the only account on my computer and I am the administrator. How can I execute the script? Currently I can't open any files with utorrent because I can't find utorrent on my hard drive. How can I run the script? Thanks for any suggestions. I'm completely new to Macs, so I'm not very familiar with the OS yet.

Also, when I looked at the permissions for the miscuTcommand file, a user named "staff" has suddenly appeared. I don't have any access for anyone but myself on my computer, so I am not sure what this is...I have tried enabling read and write for myself, for "everyone," and for "staff," but I still can't run the command with Terminal.

Okay, I followed the manual instructions and put WebUI.zip in the Utorrent folder and added the C link to my desktop. Now I can open torrent files. However, I can't upload at all. I know my ports are open because I doublechecked the IP and port forwarding and whatnot. Also, Wine keeps giving me all of these error messages, and I don't know what they mean:

WARNING: Trying to create a socket of type SOCK_RAW, this will fail unless you have special permissions.
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:create_server class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} could be created for context 0x17
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:create_server class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} could be created for context 0x17
fixme:ntdll:server_ioctl_file Unsupported ioctl 900c4 (device=9 access=0 func=31 method=0)

Is there any way to fix this so that I can upload?

Last edited by carys26 (2008-05-15 11:34:52)

Offline

 

#24 2008-05-15 13:02:47

NoOneButMe
Moderator

Re: How To: Run uTorrent on Linux.

In the terminal: "chmod a+x $HOME/Desktop/miscuT.command"

err and fixme messages can be ignored.  Most of them basically means uTorrent is trying to do something that Wine doesn't fully support yet.  Its not going to harm anything though. 

Are you sure there's even people to download from you? See every other section of the forums for tutorials/guides on seeding.

Offline

 

#25 2008-05-20 17:00:07

mrsteveman1
Member

Re: How To: Run uTorrent on Linux.

"Minimizing causes the window to stop updating. Downloading and uploading still works, but the UI window doesn't update.  Basically: don't minimize."

This problem seems to be solved by unchecking "minimize to tray" in the options, minimizing works just fine after that.

Offline

 

Board footer

Powered by FluxBB