我发现了一个模式的例子,它以两种不同的方式被引用,只是大小写不同,这让我感到困惑。
Gsettings 将架构名称视为com.canonical.Unity.Launcher,并且不接受com.canonical.unity.launcher作为有效架构名称。另一方面,dconf-editor 只能看到com.canonical.unity.launcher所有小写字母,如截图所示。
如果我更改favoritesGsettings 中的密钥,该更改将反映在 dconf-editor 中,反之亦然。
这是怎么回事?哪个是正确的架构名称com.canonical.Unity.Launcher,或com.canonical.unity.launcher?
$ gsettings list-schemas | grep -i com.canonical.unity.launcher
com.canonical.Unity.Launcher
david@david-Aspire-5735:~$ $ gsettings list-recursively com.canonical.Unity.Launcher
com.canonical.Unity.Launcher favorite-migration '3.2.10'
com.canonical.Unity.Launcher favorites ['application://firefox.desktop', 'application://thunderbird.desktop', 'unity://running-apps', 'unity://expo-icon', 'unity://devices']
david@david-Aspire-5735:~$ gsettings list-recursively com.canonical.unity.launcher
No such schema 'com.canonical.unity.launcher'
Run Code Online (Sandbox Code Playgroud)

亲爱的社区!
我不小心从通知气泡中禁用了一些应用程序。我想知道,我怎样才能再次启用隐藏的应用程序?我在 askubuntu 和 ubuntu 论坛上找到了一些答案,但不幸的是,这些信息不再与实际的文件系统正确对应(例如:dconf-editor -> apps -> nm-applet -> "disable-connected-notifications" 和 " disable-disconnected-notifications”被禁用“unchecked”,不再适用,除了stamp = value 3之外,我看不到任何东西。
任何帮助将不胜感激!
祝你今天过得愉快!