Install MSOffice on Ubuntu

Install Microsoft Office 2010 on Ubuntu

Requirements

We ‘ll install MSOffice using the PlayOnLinux sorcerer. additionally, MSOffice requires samba and winbind to properly ferment .
sol, if not installed, install them :

sudo apt-get install playonlinux samba winbind

Of course, you ‘ll need the MSOffice installer files ( either DVD/folder files ), in the 32 bits adaptation. even if you ‘re under Ubuntu 64, we ‘ll use a 32 bits wine installation .
then open POL ( PlayOnLinux ) from command line ( playonlinux & ) or using Dash.

Pre Install

In the POL window menu, go to Tools > Manage Wine versions and install Wine 2.13. Versions below it will crash after click on a document hyperlink. Versions above it will not properly handle the launcher picture ( due missing WM_CLASS when window is maximized ) .

Install

In the POL window, cluck on Install at top ( the one with a asset sign ) .

1. PlayOnLinux Install menu

At the Install window, at the bottom, choose Office and make certain Commercial ( at top ) is marked .
now blue-ribbon Microsoft Office 2010 and click on Install .

2. Welcome to PlayOnLinux Installation Wizard

nothing to do here other then click on the Next clitoris .

3. Please Choose an Installation Method

now it ‘s up to you : select DVD or file initiation according your MSOffice initiation .
then snap on Next .
Browse the files or the DVD : the goal here is blue-ribbon the MSOffice setup.exe, from the 32 bits translation .
immediately, after snap on Next : you ‘ll see a sequence of PlayOnLinux installation windows, configuring the new Windows virtual drive, installing components, etc .

4. The MSOffice Install Wizard

mechanically the MSOffice installer will be displayed .
Install the MSOffice as on Windows : agree with EULA, select install type, etc .
In the death Install window, pawl on Close in the MSOffice installer : you ‘ll see a PlayOnLinux window still running some extra configurations .
then, a successful message : chink on Next and the install windowpane will be closed .
now you can close PlayOnLinux .

Post Install

1. Desktop Files

Current PlayOnLinux Office2010 script already creates the below shortchuts.

But in case you deleted them or want to fix something …
Let ‘s create some .desktop files to provide better integration into Ubuntu : you can associate typical MSOffice files, like .docx to Word ; at Dash, type winword to run Word, etc .
Open a text editor program ( like gedit, nano or vim ) and create 3 files under ~/.local/share/applications, with the take after names and contents .
Please, replace /home/ ( at the Icon line ) by your home folder path :

  • Word.desktop
#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Categories=Office;WordProcessor;
StartupWMClass=WINWORD.EXE
Name=Microsoft Office Word 2010
Comment=winword
Exec=env XMODIFIERS='' playonlinux --run "Microsoft Word 2010" %F
Icon=/home//.PlayOnLinux/icones/full_size/Microsoft Word 2010
  • Excel.desktop
#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Categories=Office;Spreadsheet;
StartupWMClass=EXCEL.EXE
Name=Microsoft Office Excel 2010
Comment=excel
Exec=env XMODIFIERS='' playonlinux --run "Microsoft Excel 2010" %F
Icon=/home//.PlayOnLinux/icones/full_size/Microsoft Excel 2010
  • PowerPoint.desktop
#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Categories=Office;Presentation;
Terminal=false
StartupWMClass=POWERPNT.EXE
Name=Microsoft Office PowerPoint 2010
Comment=powerpnt
Exec=env XMODIFIERS='' playonlinux --run "Microsoft Powerpoint 2010" %F
Icon=/home//.PlayOnLinux/icones/full_size/Microsoft Powerpoint 2010
  • OneNote.desktop
#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Categories=Office;Documentation;
Terminal=false
StartupWMClass=ONENOTE.EXE
Name=Microsoft Office OneNote 2010
Comment=onenote
Exec=env XMODIFIERS='' playonlinux --run "Microsoft OneNote 2010" %F
Icon=/home//.PlayOnLinux/icones/full_size/Microsoft OneNote 2010

After create those 4 files, open a terminal ( Ctrl+Alt+T ) and run this command to refresh the Dash entries :
sudo update-desktop-database
One clarification : the env XMODIFIERS='' command in the Exec tune is to prevent wine to change keyboard behavior ( sometimes while using wine the keyboard uses a unlike layout, so accents will not work properly, etc ) .

2. Printers

If you have a printer properly configured under Ubuntu, probably it’ll be automatically available to MSOffice under wine .
If not, we can make it available. Basically, your printer must be installed using cups. No problem if the printer is installed using other softwares/drivers, but to get it available for wine, it must be installed under cups besides .
If cups box is not installed, install it :

sudo apt-get install cups

then, open http://localhost:631/ and add your printer .
After configure it, print a test page using the associate printer in Printers from System Settings .
now, make sure you have this file : /etc/printcap. If it ‘s not give, create it this way :

ln -sf /var/run/cups/printcap /etc/printcap

boot wine : open PlayOnLinux, pawl Configure, blue-ribbon Office2010, chatter on Wine check and snap on Windows reboot push button.

3. Fix Alternate between Excel windows

When you open 2 files in Excel, and suction stop on Excel picture in the launcher by the second time to see open files ( Expose ), you ‘ll see a wyrd demeanor : one window by rights rendered, and the second base with just a single icon .
To fix this, open Excel, then File > Options > Advanced > General and check Ignore other applications that use Dyanamic Data Exchange (DDE) .
then, to alternate between Excel files, on Excel click on View yellow journalism and then click on Alternate Windows .

source : https://swivelcard.info
Category : Tech FAQ

Related Posts

Leave a Reply

Your email address will not be published.