我正在尝试在我的 Archlinux 系统上用 Nemo 替换 Nautilus。
我遵循了这个指南:https://wiki.archlinux.org/index.php/Nemo
我能够通过 pacman 安装 Nemo,但是当我尝试启动 Nemo 时,出现错误:
[jet@jetArch /etc]$ nemo
(nemo:7863): GLib-GIO-ERROR **: Settings schema 'org.nemo.preferences' is not installed
[1] 7863 trace trap (core dumped) nemo
我可以成功看到 nemo 的版本:
[jet@jetArch /etc]$ nemo --version
nemo 3.0.5
这样nemo就安装好了。但:
[jet@jetArch /etc]$ gsettings list-schemas | grep nemo
没有返回结果,所以我猜 nemo 没有模式。
在里面/usr/共享/应用程序有。桌面文件
[jet@jetArch applications]$ pwd
/usr/share/applications
[jet@jetArch applications]$ ls *nemo*
nemo-autorun-software.desktop nemo-autostart.desktop nemo.desktop
但不是org.nemo.desktop
[jet@jetArch applications]$ gsettings set org.nemo.desktop show-desktop-icons true
No such schema 'org.nemo.desktop'
也不
[jet@jetArch applications]$ gsettings set nemo.desktop show-desktop-icons true
No such schema 'nemo.desktop'
但如果我打开dconf 编辑器有一个条目org.nemo.desktop也org.nemo.compact-view,org.nemo.icon-view, ETC。
那么为什么 dconf-editor 可以找到 nemo 模式,而其他任何东西都不能找到,包括 nemo。
谢谢你的帮助。
PS 跑步尼莫因为 root 没有帮助:
[jet@jetArch applications]$ sudo nemo
[sudo] password for jet:
(nemo:9909): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(nemo:9909): GLib-GIO-ERROR **: Settings schema 'org.nemo.preferences' is not installed
[1] 9908 trace trap sudo nemo
[jet@jetArch applications]$ sudo nemo -c
running nemo_self_check_file_utilities
running nemo_self_check_file_operations
running nemo_self_check_directory
(nemo:9922): GLib-GIO-ERROR **: Settings schema 'org.nemo.preferences' is not installed
[1] 9921 trace trap sudo nemo -c
答案1
确认您的系统有以下文件:
/usr/share/glib-2.0/schemas/org.nemo.gschema.xml
如果是这样,请运行(以 root 身份):
# glib-compile-schemas /usr/share/glib-2.0/schemas/org.nemo.gschema.xml