View Single Post
Old September 3rd, 2008   #45
Gonzo_Dark
First Cup of Ubuntu
 
Join Date: Feb 2007
Beans: 12
Re: Any luck running Google Chrome on Wine?

Here is a guide for the new browser Google Chrome

Open your terminal and then follow the steps below

First get WINE (the newest version)

Code:

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list
sudo apt-get update
Then install Chrome via the offline installer

Download the file from the link below, then place the file on your desktop and double click on it.

Code:
http://gpdl.google.com/chrome/install/149.27/chrome_installer.exe
Then install riched20 and riched30

Code:
wget http://www.kegel.com/wine/winetricks
sh ./winetricks riched20 riched30
and finally to get it all to work, do this

Code:
winetricks riched20 riched30
wine "$HOME/.wine/drive_c/windows/profiles/$USER/Local Settings/Application Data/Google/Chrome/Application/chrome.exe" --new-http --in-process-plugins
To use the program in the future(from the terminal), you need to run:


Code:
wine "$HOME/.wine/drive_c/windows/profiles/$USER/Local Settings/Application Data/Google/Chrome/Application/chrome.exe" --new-http --in-process-plugins
If you want to make a program icon in your tray, then do this:

1. Right click on your menu and click and chose the option "Add to panel" and then "User defined program shortcut"

2. Now you can see a new window with the title "Make Shortcut" with the options "Name", "Command" and "Comment"

Under name you should write "Google Chrome", under "Command" you should use this code

Code:
env WINEPREFIX="/home/YOURUSERNAME/.wine" wine "C:\windows\profiles\YOURUSERNAME\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" --new-http --in-process-plugins
remember to replace YOURUSERNAME with your user name (both of them)

and then you should use this tray icon (click on the bouncing platform to change icon)

Code:
/home/YOURUSERNAME/.local/share/icons/25e1_chrome.0.xpm
and again, remember to change "YOURUSERNAME" into your user name.

Hope it works for you

Enjoy

// GonzoDark

ps. This is how it looks: http://img231.imageshack.us/img231/6...eyouaregf1.png

pps. I am using the Danish version of Ubuntu and Chrome, so if I made any translation errors, then please correct me.

Last edited by Gonzo_Dark; September 4th, 2008 at 10:20 AM..
Gonzo_Dark is offline   Reply With Quote