如何导出我的 Ubuntu 终端的配色方案以在其他计算机上使用?

Emp*_*nes 13 linux terminal vim color-profiles ubuntu

如何导出我的 Ubuntu 终端的配色方案以在其他计算机上使用?

我已经设置了一个我喜欢的配色方案,我想把它放在一个 git repo 中,以便从其他机器上轻松加载。有什么策略可以让它在其他终端应用程序中也能工作,比如 Konsole?

Mik*_*kel 20

在具有所需颜色和设置的系统上,运行:

gconftool-2 --dump '/apps/gnome-terminal' > gnome-terminal-conf.xml
Run Code Online (Sandbox Code Playgroud)

然后gnome-terminal-conf.xml到你的git回购。

然后在其他机器上,运行

gconftool-2 --load gnome-terminal-conf.xml
Run Code Online (Sandbox Code Playgroud)

设置它。

如果您不确定如何使用git,请参阅git 教程github.com以获取流行的 git 托管服务。

请注意,此方法会覆盖所有设置。尝试跑步

gconftool-2 -R '/apps/gnome-terminal'
Run Code Online (Sandbox Code Playgroud)

查看将受到影响的所有设置。

  • 这不再起作用了。[请检查我的问题](http://askubuntu.com/q/668227/148451) 看看您是否有任何解决方案。谢谢! (2认同)