Running Windows programs on Linux with Wine
Tell Me Your Name
By default, Wine stores any Windows programs that think they are installing on drive C: in a hidden subdirectory below your home directory. To display the hidden files, select View | Show Hidden Files in Konqueror or Dolphin. Change directory to .wine in your home directory. One level below this, you will see a drive_c subdirectory, and below this Program Files and Windows. The former contains the application you just installed. For WinRAR, you click on WinRAR.exe in the WinRAR folder. On openSUSE, you also must type wine.
Unlike Windows, Linux does not use drive letters, so Wine must use a workaround: Each drive letter maps to a Linux directory. Although a Windows program running on Wine thinks it is storing data on drive C:, it is writing to a subdirectory called .wine/drive_c below the home directory. The Wine control center shows which letter maps to which directory. In a quick launcher (Alt+F2) type winecfg, then visit the Drives tab (Figure 7). The list at the top shows you which drive letter maps to which Linux directory. Normally, C: maps to .wine/drive_c, and Z: lets the Windows application access the whole directory tree because it maps to the root directory. Here, you can Add mappings by defining new virtual drive letters and typing the Path the letter should point to.
Dead as a Dodo
If a Windows program fails to launch when you click it, some manual attention might make it see reason. Start by opening a terminal window. On Kubuntu, select System | Konsole in the start menu; if you have openSUSE, select the System | Terminals | Konsole item in the menu. Then type
where directory represents the full path to your installation program. If the setup.exe file is on a DVD, you can access the DVD via the /media/ path. The command line looks like this:
Replace DVD_name with the entry in your media directory, and then climb down the directory tree until you find the directory with the .exe file you need (in WinRAR's case, this is /programs/other/winrar). When you get there, type
replacing file with the name of the application you want to run, say, setup.exe. Make sure you stick to the exact spelling, remembering that upper- and lowercase letters are vital. To tell Wine to run the Windows program, press Enter again. If you experience difficulty launching the program, check the terminal window for error messages – you should not close the terminal window or you will terminate the Windows program running in it. If the Windows program crashes, you can try relaunching it.
Some Windows programs require the characteristics of a specific version of Windows. The Applications tab can help you cater to this. For each application, you can individually define the Windows version that Wine should emulate. To do so, click Add application and look for the executable for your application (in .wine/drive_c).
Now click Open, select the application in the list, and then select the required version of Windows in the Windows Version drop-down list. The configuration in Default Settings is valid for all Windows applications, unless you define an exception.
Apps Gone Bad
The Wine MIT license gives users many privileges, a fact that has helped TransGaming generate huge profits. TransGaming just grabbed the package, added DirectX capabilities, which are required for gaming, and started to sell the results as Cedega  (formerly WineX). The Wine developers were unhappy about this, and thus changed the licensing terms to the LGPL in March 2002. The LGPL ensures that you can continue to use Wine for commercial purposes, but that changes and additions must be given back to the project. CodeWeavers is exemplary in this respect; the company bundled Wine with its own commercial components to create the CrossOver  package, while actively promoting the ongoing development of Wine.
Buy this article as PDF
Klaus Knopper announces the latest version of his iconic Live Linux system.
All websites that use these popular CMS tools could be vulnerable to denial of service attacks if users don't install the updates.
According to a report, many potential victims of the Heartbleed attack have patched their systems, but few have cleaned up the crime scene to protect themselves from the effects of a previous intrusion.
DARPA and NICTA release the code for the ultra-secure microkernel system used in aerial drones.
Should you trust an online service to store your online passwords?
New B+ board lets you build cool things without the complication of a powered USB hub.
Redmond rushes in to root out alleged malware haven.
New initiative will bring futuristic virtual reality effects to the web surfing experience.
Dyreza malware launches a man-in-the-middle attack that compromises SSL.
New cloud combines worldwide access with local attention to data security.