Linux:software:wine

From Linux How-To Repository

Jump to: navigation, search
Wine (acronym for Wine Is Not an Emulator)

Installation process for 64 bit version is the same as others now. Source: http://www.winehq.org/site/download-deb

   wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

I added wine to my sources.list with this:

   For Ubuntu Feisty (7.04):
   sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list

Although, I think I already had an entry for wine. Anyway, here's what's in /etc/apt/sources.list now.

   deb-src http://wine.budgetdedicated.com/apt feisty main

Next grab and install Wine:

   sudo apt-get update
   sudo apt-get install wine

Done. The next step is to let it set up things for you. Open a terminal and type this:

   winecfg

This brings up a control panel and at the same time creates a ~/.wine directory for you, in which a virtual "drive_c" is created and a basic Windows setup.

Now download whatever Windows program you want to run. I tried Notepad++ first. Search for and download npp.4.1.2.Installer.exe. Save it to somewhere in drive_c then in a terminal window navigate to where you saved it. Then simply enter and run this:

   wine npp.4.1.2.Installer.exe 

Or, probaby wine npp* will be enough. You'll be presenting with the normal Windows style setup process. Once the program is installed, it'll appear under this:

   Applications -> Wine -> Programs


Changing Wine's Look

This is simple. Just open up the ~/.wine/user.reg file and near the top you'll find this line:

   [Control Panel\\Colors] 

It'll have some numbers next to it. Under that line just add these parameters.

"ActiveBorder"="239 235 230"
"ActiveTitle"="200 130 60"
"AppWorkSpace"="102 51 51"
"Background"="0 128 128"
"ButtonAlternateFace"="180 180 180"
"ButtonDkShadow"="115 106 96"
"ButtonFace"="239 235 230"
"ButtonHilight"="239 235 230"
"ButtonLight"="248 246 244"
"ButtonShadow"="203 193 183"
"ButtonText"="0 0 0"
"GradientActiveTitle"="16 132 208"
"GradientInactiveTitle"="181 181 181"
"GrayText"="203 193 183"
"Hilight"="248 198 119"
"HilightText"="0 0 0"
"HotTrackingColor"="0 0 255"
"InactiveBorder"="239 235 230"
"InactiveTitle"="239 235 230"
"InactiveTitleText"="60 60 60"
"InfoText"="0 0 0"
"InfoWindow"="255 255 225"
"Menu"="239 235 230"
"MenuBar"="239 235 230"
"MenuHilight"="0 0 0"
"MenuText"="0 0 0"
"Scrollbar"="239 235 230"
"TitleText"="255 255 255"
"Window"="255 255 255"
"WindowFrame"="0 0 0"
"WindowText"="0 0 0"

Or, you could try these.

"ActiveBorder"="239 235 231"
"ActiveTitle"="239 235 231"
"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"="0 0 0"
"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"


Counter Strike

My main reason for installing Wine was to see how Counter Strike would work. Gaming remains my last tie with Windows. Once gaming on Linux is as good as on Windows, I think I'll be abandoning Windows for good. However, given my experiences with CS, it isn't there yet.

[[1]] are some basic run throughs for installing Counter Strike. And some help with a myriad of possible issues you may encounter are [[2]].

It took me a few days on and off to get it working. The graphics are still not up to Windows standard, which is to be lamented. I'll keep trying. For the moment, I'm happy enough that I got it working.

My story of getting Counter Strike: Source working on Feisty 7.04 64 bit is at my [other site].

Personal tools
KARA Logo