Office 2010 via PlayOnLinux installiert

 

# Wir wollwn die neueste Version von PoL:
if [ -z `ls /etc/apt/sources.list.d |grep playonlinux` ]
then
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E0F72778C4676186
sudo wget http://deb.playonlinux.com/playonlinux_trusty.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update >/dev/null
fi
apt_install xterm playonlinux

apt_install ttf-mscorefonts-installer

apt_install winbind # needed for Office2010

# POL installierte automatisch:  wine 1.5.2, gecko 2.40, mono-4.5.6, msxml6

ln -s /dat/B .PlayOnLinux/wineprefix/Office2010/dosdevices/b:

WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/Office2010 ~/.PlayOnLinux/wine/linux-x86/1.7.52/bin/wine /dat/systemwartung/Microsoft.Office.Professional.Plus.2010.x86.SP1.VL.German-Madmax/Madmax/activate_O10_x86.exe
 

WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/Office2010 ~/.PlayOnLinux/wine/linux-x86/1.7.52/bin/wine /dat/B/Downloads/WindowsDesktopSearch-KB917013-V301-XP-x86-deu.exe

OpenOffice-Dokumente aus Outlook via Wine öffnen

Problem

LibreOffice-Dateien (.odt, .ods, .odp) konnten als Mail-Anhänge
aus MS Outlook heraus nicht geöffnet werden.
(Wine 1.7, Outlook 2010, Wine-Windows-Version: Windows XP)

Lösung

cat >regedit-openoffice-winehost.reg <<eot
[HKEY_CLASSES_ROOT\.odt]
@="OpenOffice.Document.winehost"
"Content Type"="application/vnd.oasis.opendocument.text"
"PerceivedType"="document"

[HKEY_CLASSES_ROOT\.odp]
@="OpenOffice.Document.winehost"
"Content Type"="application/vnd.oasis.opendocument.presentation"

[HKEY_CLASSES_ROOT\.ods]
@="OpenOffice.Document.winehost"
"Content Type"="application/vnd.oasis.opendocument.spreadsheet"

[HKEY_CLASSES_ROOT\OpenOffice.Document.winehost\Shell\Open\command]
@="winebrowser \"%1\""

eot

regedit regedit-openoffice-winehost.reg

Funktioniert sofort, ohne Neustart von Wine/Outlook.