主题说我无法在 nautilus 中查看我的垃圾文件夹。我已经阅读了这里针对同一错误的所有提示,但任何答案都有效解决了我的问题。这个问题自升级到 precise 以来一直存在....当我导航到 ./local/share/Trash/* 时,我可以访问垃圾文件夹,但当我单击 nautilus 中的垃圾图标时则不能。也可以从 unity-dash 访问文件夹。此外,root nautilus 在尝试访问垃圾文件夹时会出错:“无法显示文件夹内容。”
安慰:
sudo nautilus
** Message: Initializing gksu extension...
Intializing nautilus-pastebin extension...
Initializing nautilus-dropbox 1.4.0
Initializing nautilus-gdu extension
** (nautilus:10971): 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 usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
** (nautilus:10971): CRITICAL **: nautilus_menu_provider_get_background_items: assertion `NAUTILUS_IS_MENU_PROVIDER (provider)' failed
sys:1: Warning: /build/buildd/glib2.0-2.32.1/./gobject/gsignal.c:2572: instance `0x1ac0000' has no handler with id `3281'
Shutting down nautilus-gdu extension
xssession 错误: http://www.pasteall.org/31880
感谢您的帮助
答案1
进入~/.local/share/Trash,将目录‘files’改为其他名称(例如‘.files’)。然后进入重命名后的目录(例如~/.local/share/Trash/.files),选择所有文件,然后删除。