Wine

Differences between revisions 10 and 11
Revision 10 as of 2005-12-30 02:10:33
Size: 4083
Editor: 200141095084
Comment:
Revision 11 as of 2005-12-30 02:15:05
Size: 4066
Editor: 200141095084
Comment:
Deletions are marked like this. Additions are marked like this.
Line 48: Line 48:
TIP: It's good procedure before setting up your menu entry to launch your Windows program to first make sure the program runs properly. An example of how to launch your new Windows program in a terminal - although your example will be different because of your program name and its pathname - is {{{ wine "C:\Program Files\GetDiz\getdiz.exe" }}} . Once you are satisfied all is okay, copy-&-paste this line - just another example for you to pay close attention to the double quotes surrounding each pathname - {{{ wine "C:\Program Files\GetDiz\getdiz.exe" }}} from your terminal into the Command field of the Entry Editor in Edit Menus as explained in Step 5. above to avoid typos. Then click OK and test the launcher to load your new Windows program. TIP: It's good procedure before setting up your menu entry to launch your Windows program to first make sure the program runs properly. An example of how to launch your new Windows program in a terminal - although your example will be different because of your program name and its pathname - is {{{ wine "C:\Program Files\GetDiz\getdiz.exe" }}} . Once you are satisfied all is okay, copy-&-paste this line - repeated so you pay close attention to the double quotes surrounding the pathname - {{{ wine "C:\Program Files\GetDiz\getdiz.exe" }}} from your terminal into the Command field of the Entry Editor in Edit Menus as explained in Step 5. above to avoid typos. Then click OK and test the launcher to load your new Windows program.

Wine allows you to run Windows programs on Linux. Its homepage can be found at http://www.winehq.org.

Installing Wine

Ubuntu versions of Wine

The versions that Ubuntu ships are unfortunately quite out of date. If you wish to use them, add Universe (see AddingRepositoriesHowto if you don't know how) and then install wine.

Newer versions of Wine

Fortunately, Wine provides newer versions packaged for Ubuntu. You need to add the repository and then install wine from there.

  1. Add the following repository deb http://wine.sourceforge.net/apt binary/ (See AddingRepositoriesHowto if help is needed)

  2. Update the package cache using sudo apt-get update or reload in Synaptic

  3. Install wine

Configuring Wine

On the commandline or in Run Application, type winecfg

Adding the Cdrom drive to Wine

  1. Run winecfg
  2. Navigate to the drives tab

  3. Click on Add...

  4. In the path bar, type /media/cdrom

  5. Click OK

If you have more than one CD/DVD device on your computer you will need to identify each one differently. Use /media/cdrom0 for the first CD/DVD device, and /media/cdrom1 for the second one. If in doubt, type ls -la ~/.wine/dosdevices/ in a terminal to check your CD/DVD device details after wine is installed. Another alternative is to use the Autodetect... button to populate the drives list on the same tab in Wine.

Running Windows programs/installers

To run most programs or installers, type wine name_of_program.exe

Configuring specific Windows programs

Adding applications to the menu

To add a Desktop launcher to the menu, you need to find out where in the pseudo-C drive the program exists.

  1. Right-click on the panel near the menu on the Desktop and choose "Edit Menus"
  2. In the Menu Editor select the section you wish the entry to be under, such as Games
  3. Click File --> New Entry or press the New Entry button

  4. In the Entry Editor, in Name field enter the application name, such as "World of Warcraft"
  5. In the Command field enter  wine "C:\PATHTOPROGRAM\Program.exe"  such as  wine "C:\Program Files\WoW\WoW.exe" 

Take care your pathname is absolutely correct. If there is anything mistyped or missing, you can double-check your pathname when adding an application in winecfg later. Finally, make certain the path to the program is enclosed in double quotes before clicking OK in the Menu Editor.

TIP: It's good procedure before setting up your menu entry to launch your Windows program to first make sure the program runs properly. An example of how to launch your new Windows program in a terminal - although your example will be different because of your program name and its pathname - is  wine "C:\Program Files\GetDiz\getdiz.exe"  . Once you are satisfied all is okay, copy-&-paste this line - repeated so you pay close attention to the double quotes surrounding the pathname -  wine "C:\Program Files\GetDiz\getdiz.exe"  from your terminal into the Command field of the Entry Editor in Edit Menus as explained in Step 5. above to avoid typos. Then click OK and test the launcher to load your new Windows program.

Changing application specific settings

  1. Start winecfg

  2. Click on Add Application...

  3. Navigate to where the exe is and choose that program
  4. The dropdown at the bottom allows you to choose which version of Windows Wine should emulate. Also any changes to the Libraries and Graphics tabs will only affect the chosen application in the Applications tab.

Instructions for specific Windows programs

Some Windows programs have been tested on Ubuntu. They are listed below:

Also, see Wine's Application Database at http://appdb.winehq.org/

CategoryDocumentation CategoryNeedsExpansion

Wine (last edited 2010-02-19 16:03:11 by dsl)