如何匯出 Ubuntu 終端機的配色方案以在其他計算機上使用?

如何匯出 Ubuntu 終端機的配色方案以在其他計算機上使用?

如何匯出 Ubuntu 終端機的配色方案以在其他計算機上使用?

我已經設定了一個我喜歡的配色方案,我想將其放入 git 儲存庫中,以便於從其他機器加載。有什麼策略可以讓它在其他終端應用程式中也起作用,例如 Konsole?

答案1

在具有所需顏色和設定的系統上,運行:

gconftool-2 --dump '/apps/gnome-terminal' > gnome-terminal-conf.xml

然後gnome-terminal-conf.xml到你的git倉庫。

然後在其他機器上運行

gconftool-2 --load gnome-terminal-conf.xml

來設定它。

如果您不確定如何使用git,請參閱git教學, 和github.com流行的 git 託管服務。

請注意,此方法會覆蓋全部設定.嘗試跑步

gconftool-2 -R '/apps/gnome-terminal'

查看所有受影響的設定。

相關內容