我应该替换自定义配置文件“/etc/gnome/defaults.list”吗?

我应该替换自定义配置文件“/etc/gnome/defaults.list”吗?

从 14.04 升级到 14.10 时,我面临着一个艰难的决定:

文件之间的差异

--- /etc/gnome/defaults.list    2014-10-13 05:52:59.320350092 +0300
+++ /etc/gnome/defaults.list.dpkg-new   2014-05-13 12:34:12.000000000 +0300
@@ -202,6 +202,9 @@
 text/spreadsheet=libreoffice-calc.desktop
 text/tab-separated-values=libreoffice-calc.desktop
 text/x-comma-separated-values=libreoffice-calc.desktop
+text/x-c++hdr=ubuntusdk.desktop
+text/x-c++src=ubuntusdk.desktop
+text/x-xsrc=ubuntusdk.desktop
 text/x-chdr=gedit.desktop
 text/x-csrc=gedit.desktop
 text/x-dtd=gedit.desktop
@@ -259,4 +262,3 @@
 x-scheme-handler/http=firefox.desktop
 x-scheme-handler/https=firefox.desktop
 x-scheme-handler/mailto=thunderbird.desktop
-x-scheme-handler/bitcoin=armory.desktop;armorytestnet.desktop;armoryoffline.desktop

答案1

由于您添加的内容只有一行,并且无论您选择哪个选项,未选择的版本也会一起保存,因此请用新版本替换自定义版本,并在升级完成后添加您的版本。您添加的唯一一行将是:

x-scheme-handler/bitcoin=armory.desktop;armorytestnet.desktop;armoryoffline.desktop

相关内容