在 Ubuntu Mac Style 中改使用 LibreOffice

在 Ubuntu Mac Style 中預設是安裝 Apache OpenOffice,不過用起來有些不太習慣,所以改安裝 LibreOffice。
[@more@]首先先移除 Apache OpenOffice
$ sudo apt-get remove –purge openoffice-calc openoffice-core01 openoffice-debian-menus openoffice-ure openoffice.org-hyphenation

 安裝 LibreOffice
$ sudo apt-get install libreoffice libreoffice-l10n-zh-tw

移除 Apache OpenOffice 功能表
$ rm -rf ~/.local/share/applications/openoffice4-*

如果功能表上找不到 LibreOffice
$ rm -rf ~/.local/share/applications/libreoffice*
$ cd /usr/share/applications
$ cp libreoffice-base.desktop libreoffice-calc.desktop libreoffice-draw.desktop libreoffice-impress.desktop libreoffice-math.desktop libreoffice-writer.desktop ~/.local/share/applications/

在功能表上的 LibreOffice