nautilus出现一闪而过现象

linux相关问题:

  1.这几天在使用乌班图时,出现文件夹打开一闪而过现象,于是我试着使用命令行来启动:   

sudo nautilus

  出现下面这一堆错误(error_info):

  

(nautilus:5942): 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
sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded. (nautilus:5942): Gtk-WARNING **: Theme parsing error: <broken file>:1:0: Failed to import: 位于 “/org/gnome/libgd/tagged-entry/default.css”的资源不存在 ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_file_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_file_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_file_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_file_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_file_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed
Nautilus-Share-Message: Called "net usershare info" but it failed: 执行子进程“net”失败(没有那个文件或目录) ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_file_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_file_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_file_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_file_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus:5942): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed
**
ERROR:nautilus-canvas-container.c:6032:finish_adding_new_icons: assertion failed: (!container->details->auto_layout)

解决方法:

gksudo nautilus

  使用这种命令打开nautilus,正常启动了文件夹,然后使用上面命令也可以开启文件夹了,在桌面也可以点开文件夹了,唉,莫名其妙的就解决了~

补充:

上面这种使用了root的nautilus,只能治标不治本,治本的路子使用这个:

 sudo rm -rf ~/.config/nautilus $

nautilus出现一闪而过现象

参考资料:

https://ubuntuforums.org/showthread.php?t=2324256

https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1622880

上一篇:主板BIOSCOMS故障解决三例


下一篇:cluster,network