From a CD, I
installed
Microsoft Office 2007 under
Wine, so that
my wife could edit her
Microsoft
Publisher files on an
Ubuntu Linux system. I also installed
Microsoft Excel
and Microsoft Word.
All three seemed to be working OK when I checked them after the
installation completed. I was able to open the programs from the
File Explorer by
issuing the command wine explorer from a
shell prompt in
a Terminal window
and then navigating to the directory,
C:\Program Files (x86)\Microsoft Office\Office12, where the
applications were located. I could also start Publisher by issuing the command
below in a Terminal window:
wine "/home/alice@Wonderland/.wine/drive_c/Program Files (x86)/Microsoft Office/Office12/MSPUB.EXE"
To make it easer for my wife to open Publisher, though, I created a shortcut on her Ubuntu desktop. To create a shortcut you can take the following steps:
Open a Terminal
window and create a new .desktop file on your desktop. You can use
the nano
editor or another text
editor to create the file. E.g., nano
~/Desktop/AppName.desktop.
You then need to have lines like the following ones in the file:
[Desktop Entry] Name=Name of Your Application Exec=wine "/home/username/.wine/drive_c/Program Files/AppName/app.exe" Type=Application Icon=wine Terminal=false StartupNotify=true
You need to use the absolute path the the .exe file for the program and, if the directory path contains a space, you must enclose the path within quotes. Also, you need to replace username with your username on the system. For Publisher, I could use the following lines:
[Desktop Entry] Name=Publisher Exec=wine "/home/alice@Wonderland/.wine/drive_c/Program Files (x86)/Microsoft Office/Office12/MSPUB.EXE" Type=Application Icon=wine Terminal=false StartupNotify=true
If you use the nano text editor, you can hit Ctrl+X, the
Y, then Enter to save the file. You then need to make
the shortcut executable, which you can do by right-clicking on the file
on the desktop, selecting Properties, and then makng sure "Executable
as Program" is on. Or you can use the
chmod command to make
the file excutable by a command like chmod +x ~/Desktop/AppName.desktop
. You then need to permit launching of the application from the shortcut
by right-clicking on it and selecting Allow Launching.
[ More Info ]
