手动安装LibreOffice 4.0后如何修复图标?
我删除了先前版本的Libreoffice并从libreoffice.org/download安装了当前的Libreoffice 4.0。 但现在图标和全球菜单栏都处于非活动状态:请参见截图。
单击图像以打开全分辨率版本。
在第一次之后,我删除了Libreoffice 4.0,然后重新启动,然后再次手动安装它。 下面的脚本是我两次使用的。
sudo apt-get -y remove libreoffice* cd /tmp wget http://download.documentfoundation.org/libreoffice/stable/4.0.0/deb/x86_64/LibreOffice_4.0.0_Linux_x86-64_deb.tar.gz tar -xvf LibreOffice_4.0.0_Linux_x86-64_deb.tar.gz cd LibreOffice_4.0.0.3_Linux_x86-64_deb/DEBS sudo dpkg -i *.deb cd desktop-integration sudo dpkg -i *.deb cd /tmp wget http://download.documentfoundation.org/libreoffice/stable/4.0.0/deb/x86_64/LibreOffice_4.0.0_Linux_x86-64_deb_langpack_nl.tar.gz tar -xvf LibreOffice_4.0.0_Linux_x86-64_deb_langpack_nl.tar.gz cd LibreOffice_4.0.0.3_Linux_x86-64_deb_langpack_nl/DEBS sudo dpkg -i *.deb cd /tmp wget http://download.documentfoundation.org/libreoffice/stable/4.0.0/deb/x86_64/LibreOffice_4.0.0_Linux_x86-64_deb_helppack_nl.tar.gz tar -xvf LibreOffice_4.0.0_Linux_x86-64_deb_helppack_nl.tar.gz cd LibreOffice_4.0.0.3_Linux_x86-64_deb_helppack_nl/DEBS sudo dpkg -i *.deb
问题 : 如何获取标准图标?
我认为如果LibreOffice不喜欢你的gtk主题,你会得到LibreOffice的高对比度图标。 您可以在工具>选项>查看中进行检查。 请注意,下图来自LibreOffice 3.6而不是4.0:
以下是两个链接,指示需要Unity集成:
- LibreOffice 4.0 Unity集成于12.04
- Ubuntu 12.04中的LibreOffice 4.0 Unity集成
要在启动器上重新获得标准图标,请按照说明操作: 如何更改新用户的默认设置?
Ubuntu的默认collections夹是:
['ubiquity-gtkui.desktop', 'nautilus-home.desktop', 'firefox.desktop', 'libreoffice-writer.desktop', 'libreoffice-calc.desktop', 'libreoffice-impress.desktop', 'ubuntu-software-center.desktop', 'ubuntuone-installer.desktop', 'gnome-control-center.desktop']
但是在安装LO 4.0之后,正确的名称将是libreoffice4.0-writer.desktop
, libreoffice4.0-calc.desktop
和libreoffice4.0-impress.desktop
。
编译方案后,您可以使用以下命令将启动器图标重置为默认值:
gsettings reset com.canonical.Unity.Launcher favorites
或通过设置favorites
键的值来自定义当前用户的启动器图标,例如:
gsettings set com.canonical.Unity.Launcher favorites "['ubiquity-gtkui.desktop', 'nautilus-home.desktop', 'firefox.desktop', 'libreoffice4.0-writer.desktop', 'libreoffice4.0-calc.desktop', 'libreoffice4.0-impress.desktop', 'ubuntu-software-center.desktop', 'ubuntuone-installer.desktop', 'gnome-control-center.desktop']"
用于新的默认图标。
0投票
您可能想尝试专门为Ubuntu构建的版本。 在ricotz的LibreOffice Backports中有4.0.1-rc1包PPA https://launchpad.net/~ricotz/+archive/ppa
然而,它说:
这是正式的LIBREOFFICE PPA的标志。 如果他们结果很好,那么pacakges将被复制到那里。
INPROGRESS:LibreOffice 4.0 for Precise / 12.04和Quantal / 12.10
显然他们正在为我正在撰写本文时正式的LibreOffice PPA构建Quantal版本(Raring已经完成)。 你很快就会在这里找到它: https : //launchpad.net/~libreoffice/+archive/libreoffice-4-0