将系统从 16.04 更新到 16.10 后,桌面不显示文件,nautilus 启动但 1 秒后关闭。
这是来自终端的错误消息:
(nautilus:6577): Gtk-WARNING **: Theme parsing error: <broken file>:1:0: Failed to import: The resource at '/org/gnome/libgd/tagged-entry/default.css' does not exist
Nautilus-Share-Message: Called "net usershare info" but it failed: Failed to execute child process "net" (No such file or directory)
**
ERROR:nautilus-canvas-container.c:6032:finish_adding_new_icons: assertion failed: (!container->details->auto_layout)
Aborted (core dumped)
我使用以下命令更新了 Ubuntu:
sudo apt update
sudo apt dist-upgrade
sudo apt install update-manager-core
然后我编辑了该文件/etc/update-manager/release-upgrades
:
从Prompt=lts
到Prompt=normal
进而sudo do-release-upgrade -d
答案1
通过此命令解决:
sudo rm -rf ~/.config/nautilus