Wine

Differences between revisions 7 and 8
Revision 7 as of 2005-12-27 20:50:14
Size: 2485
Editor: S010600131016cf6f
Comment: fix link to adding repos howto
Revision 8 as of 2005-12-29 20:40:43
Size: 3323
Editor: 200141095084
Comment:
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
 1. Click Ok  1. 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.
Line 30: Line 33:
To run most programs or installers, type {{{wine Programtorun.exe}}} To run most programs or installers, type {{{wine name_of_program.exe}}}
Line 36: Line 39:
To add a launcher to the menu, you need to find out where in the pseudo-C drive the program exists. To add a Desktop launcher to the menu, you need to find out where in the pseudo-C drive the program exists.
Line 38: Line 41:
 1. Right-click on the panel near the menu and choose "Edit menus"
 1. Open the section you wish the entry to be under, such as Games
 1. Open File --> New Entry
 1. In the Name field, enter the application name, such as "World of Warcraft"
 1. In the command field, enter {{{ wine "C:\PATHTOPROGRAM\Program.exe" }}} such as "C:\Program Files\WoW\WoW.exe" (Make certain the path to the program is inclosed in double quotes)
 1. Right-click on the panel near the menu on the Desktop and choose "Edit Menus"
 1. In the Menu Editor select the section you wish the entry to be under, such as Games
 1. Click File --> New Entry or press the New Entry button
 1. In the Entry Editor, in Name field enter the application name, such as "World of Warcraft"
 1. 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.)
Line 59: Line 63:
 * GetDiz
 * NoteTab Pro
 * Quick View Plus

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.)

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 CategoryCleanup

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