Step 1 - Install Wine
Open a console and type:
sudo aptitude install wine
Step 2 - Create uTorrent executable script
sudo gedit /usr/bin/utorrent
A text editor will open, just paste in the following lines. Remember to leave a blank line after the code below!
#!/bin/sh
cd ~/utorrent/
if [ "$1" != "" ]; then
var="`echo $1 | sed 's////g'`"
var="Z:${var}"
wine utorrent.exe "$var"
else
wine utorrent.exe
fi
Save and close. This will create a script in your /usr/bin/ folder. You still need to make this script executable, so type the following command in a console:
sudo chmod a+x /usr/bin/utorrent
Now create a folder called utorrent in your home directory, then download the latest version (Standalone, NOT the installer) of the uTorrent application and place it in the folder you've just created.
Step 3 - Create Desktop Shortcut
In this final step, we're gonna create a desktop shortcut for the uTorrent script above, so you don't have to type any command at all.
Right click on your desktop and go to "Create Launcher...". On the new launcher window, fill the fields as follows:
Type: Application
Name: uTorrent
Command: wine "/your-home-directory/utorrent/utorrent.exe"
Comment: BitTorrent Client
Note: Replace "your home directory" in the Command field above, with /home/your-name (e.g. /home/marius)
Choose a suitable icon, and click OK. Now all you have to do in order to enjoy uTorrent is to double click on the uTorrent icon on your desktop. Great thing is that you will also have a tray icon.
No excuse now for ubuntu users not to use the best client is there
HOWTO: Change Colors of Wine Applications
Because i've found default colors of wine applications too dark, i tried to found if it's possible to change it to something brighter or better to change colors to match colors of GTK theme. And i succeded . So if you want to change look of your wine then open ~/.wine/user.reg in text editor :
Code:
gedit ~/.wine/user.reg
and replace line
Code:
[Control PanelColors] some numbers
with
Code:
[Control PanelColors] 1122940464
"ActiveBorder"="154 154 154"
"ActiveTitle"="0 0 0"
"AppWorkSpace"="154 154 154"
"Background"="246 246 246"
"ButtonAlternativeFace"="200 0 0"
"ButtonDkShadow"="154 154 154"
"ButtonFace"="246 246 246"
"ButtonHilight"="238 238 238"
"ButtonLight"="246 246 246"
"ButtonShadow"="238 238 238"
"ButtonText"="0 0 0"
"GradientActiveTitle"="213 166 55"
"GradientInactiveTitle"="213 166 55"
"GrayText"="128 128 128"
"Hilight"="100 132 164"
"HilightText"="255 255 255"
"InactiveBorder"="246 246 246"
"InactiveTitle"="193 197 171"
"InactiveTitleText"="255 255 255"
"InfoText"="0 0 0"
"InfoWindow"="246 246 246"
"Menu"="246 246 246"
"MenuBar"="0 0 0"
"MenuHilight"="100 132 164"
"MenuText"="0 0 0"
"Scrollbar"="246 246 246"
"TitleText"="255 255 255"
"Window"="255 255 255"
"WindowFrame"="154 154 154"
"WindowText"="0 0 0"
These colors match Industrial theme, but you can change them as you wish to make them match your theme colours. Values are in "R G B" format.









LinkBack URL
About LinkBacks

Reply With Quote

