mini_banner

Thursday, April 24, 2008

Installing Wine In Hardy Heron

Wine is a software application which aims to allow Unix-like computer operating systems on the x86 architecture to execute programs that were originally written for Microsoft Windows.

There are two methods to installing Wine
1. Install Wine from Ubuntu's own repository, it is an older but officially supported version for Hardy Heron.
In a terminal type:
sudo apt-get install wine

2. Add Wine's own repository, this gives you the newest version of Wine and access to all future updates
In a terminal type:
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

Next, add the repository to your system's source list:
In a terminal type:
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list

Update Your Source List:
In a terminal type:
sudo apt-get update

Install Wine
In a terminal type:
sudo apt-get install wine

Once installed (either method) you can configure Wine by running:
winecfg

Make Wine Graphical User Interface Match Ubuntu's
Ina terminal type:
gedit ~/.wine/user.reg

Replace the [Control Panel\\Colors] section with

[Control Panel\\Colors] 1176981676
"ActiveBorder"="239 235 231"
"ActiveTitle"="203 133 61"
"AppWorkSpace"="198 198 191"
"Background"="93 77 52"
"ButtonAlternativeFace"="200 0 0"
"ButtonDkShadow"="85 85 82"
"ButtonFace"="239 235 231"
"ButtonHilight"="255 255 255"
"ButtonLight"="255 255 255"
"ButtonShadow"="198 198 191"
"ButtonText"="0 0 0"
"GradientActiveTitle"="239 235 231"
"GradientInactiveTitle"="239 235 231"
"GrayText"="198 198 191"
"Hilight"="246 200 129"
"HilightText"="0 0 0"
"InactiveBorder"="239 235 231"
"InactiveTitle"="239 235 231"
"InactiveTitleText"="255 255 255"
"InfoText"="0 0 0"
"InfoWindow"="255 255 166"
"Menu"="239 235 231"
"MenuBar"="239 235 231"
"MenuHilight"="246 200 129"
"MenuText"="0 0 0"
"Scrollbar"="239 235 231"
"TitleText"="255 255 255"
"Window"="255 255 255"
"WindowFrame"="0 0 0"
"WindowText"="0 0 0"

A Quick Screenshot:
Screenshot-Wine configuration
edited by pHreaksYcle

7 comments:

zobrazovanemeno said...

Thanks, worked like a charm :)

Unknown said...

I have troubles running a small Win16 app (Berlitz.exe), only get a lot of memory errors...

Tested with the ubuntu repository.

Any ideas? Thanks...

Unknown said...

Well, Wine was working great for me until I upgraded to Hardy.

Now all I get is this:

wine[27534]: segfault at 4a6c3f68 rip 4a6c3f68 rsp fff7233c error 15

Tobias Davis said...

Works great for me, thanks a billion!

Alper said...

I get this error, "preloader: Warning: failed to reserve range 00000000-60000000". I tried different versions of Wine and it didn't help..

Sam Zdat said...

When I entered the command `winecfg` in a terminal, the message returned was:

ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
fixme:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling mixer
Could not load Mozilla. HTML rendering will be disabled.
wine: configuration in '/home/rick/.wine' has been updated.
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
fixme:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling mixer

Should I be worried?

redDEAD said...

Sam,

No everyone gets this error message running Ubuntu on the Dell 1501