如何透過終端機命令列實現Libreoffice圖示樣式?

如何透過終端機命令列實現Libreoffice圖示樣式?

是否可以實施Libreoffice 圖示樣式透過終端命令列?如果是,我該怎麼做?

為了澄清,我想在 cmdline 中實現超連結中「如何在 LibreOffice 中應用圖示樣式」部分中描述的內容。

答案1

圖示樣式位於/usr/share/libreoffice/share/config

$ ls -1
images_breeze_dark.zip
images_breeze_svg.zip
images_breeze.zip
images_colibre.zip
images_helpimg.zip
images_tango.zip
$ 

LibreOffice 將大多數使用者設定值儲存在〜/.config/libreoffice/4/user/registrymodifications.xcu

使用的圖示名稱〜/.config/libreoffice/4/user/registrymodifications.xcu排除圖片_並且與在工具 > 選項 > 視圖 > 圖示樣式落下。

在此輸入影像描述

目前,我正在使用微風_黑暗:

$ grep -i breeze registrymodifications.xcu 
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="SymbolStyle" oor:op="fuse"><value>breeze_dark</value></prop></item>
$

所以如果我想使用科利布爾相反,我會跑

sed -ie 's/breeze_dark/colibre'

警告sed:只有在確保沒有LibreOffice進程在運作的情況下才需要執行該指令。


LibreOffice 6.3.1 中的過程與 LibreOffice 6.0.7 中的過程相同。

相關內容