Windows programs in WINE

For those of us who are switching to linux, there are often quite a few programs that we want or need to keep. WINE now works great for running a lot of windows programs seamlessly, and you can browse their application directory for specific guidance with some of the trickier programs.

One trick that seems to matter – especially with “registered” shareware of any type – is having it run in in a specific directory. Running these requires creating a small shell script – think of it like creating a PIF file or setting compatibility under XP and Vista. Once you know what to do, it’s easy. (And I’m hoping this saves someone the need to research this themselves.)

I recommend creating a sub-directory under your home directory to hold these scripts (a lot of people call that directory ~/scripts). For each Windows program, open your favorite editor (Ubuntu default: gedit), and paste these lines (and editing them where appropriate):

# put the program’s directory below.
# default WINE directory is ~/.wine/drive_c/
cd ~/.wine/drive_c/ProgramDirectory
# put program name here after the word wine. Capitalization counts
wine ProgramName.exe

Save it as in your scripts directory. Open a terminal window, and type the following, one line at a time to make your script executable:

cd ~/scripts
chmod +x

Then create a launcher (either through the menu – terminal command is “alacarte” without the quotes in Ubuntu) or on the desktop. The “command” portion should be:

bash ~/scripts/

Assign whatever icon you like, and go to town!

Popular posts:

  • Link Salad: References From The Digital Publishing Talk
  • Who Knew - A 100 Word Story
  • Quantity, quality, and Alliteration Ink's increased publication schedule for 2014
  • Are You Built For Monogamy, Or Should You Trust An Expert Outside of Their Field? (ATTN @drroshiniraj )
  • Gods - A 100 Word Story
  • A Mess of Reviewing Going On
  • The Only Thing That Needs To Be Said About A Gay Character In Beauty And The Beast