nautilus出現一閃而過現象

linux相關問題:php

  1.這幾天在使用烏班圖時,出現文件夾打開一閃而過現象,因而我試着使用命令行來啓動:   css

sudo nautilus

  出現下面這一堆錯誤(error_info):linux

  

(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)

解決方法:canvas

gksudo nautilus

  使用這種命令打開nautilus,正常啓動了文件夾,而後使用上面命令也能夠開啓文件夾了,在桌面也能夠點開文件夾了,唉,莫名其妙的就解決了~ubuntu

補充: ide

     上面這種使用了root的nautilus,只能治標不治本,治本的路子使用這個:ui

 sudo rm -rf ~/.config/nautilus $

 

 參考資料:.net

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

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

相關文章
相關標籤/搜索