50
votes
gvfsd-admin daemon authentication forces me to restart Ubuntu - VERY annoying!
This worked for me:
... a workaround (from Aleksandar Nikolic):
I managed to remove it by pressing the Alt + F2, type "r" in the command box, and press enter. GNOME should restart and the ...
19
votes
Accepted
How to restart gvfs?
It shows that gvfs is automatically started with the first Nautilus instance (I still don't know how, but it does).
So to restart gvfs, just kill all the remaining process (killing the "master" gvfsd ...
17
votes
Accepted
Mount Google Drive automatically at startup (as in Nautilus)
To automount, you will need to find a command that does that through the command line. Try mounting a Google drive that is correctly configured through Gnome control center through the command line ...
15
votes
Accepted
What is /run/user/1000/gvfs/
All roads lead to Gnome
Ubuntu is based upon many things plus home-grown programming from Canonical (the owners of Ubuntu). Most people know it is based on Linux kernel and provides a "GNOME"...
14
votes
Accepted
How to switch to gain root privileges in Nautilus file browser by typing in the addressbar in GUI while it's being used
You may want to use the GVfs admin backend, just add admin:// to the beginning of the full path to your preferred directory.
Open Nautilus the usual way and press Ctrl+L to enable typing in the ...
13
votes
Nautilus occasionally stops working
I had the same problem this morning! For no apparent reason.
I manage to restart nautilus by
killall nautilus
nautilus -q
nautilus
I'm trying to figure out what caused the mysterious failure.
11
votes
Accepted
How to tell Gigolo / GVFS to use SMBv2 for Windows shares?
Yes, but it comes at a price. Unlike mount.cifs gvfs and thunar use libsmbclient to access shares and it limits itself to the NT1 (SMB1) dialect.
But you can change that by editing /etc/samba/smb....
11
votes
Accepted
Saving a file in gedit prints a warning in terminal
This is not critical, the metadata seems to be only the last line number you were on, so the file will reopen in the same position. You can check with gio info <path>.
Don't sudo gnome apps.
...
9
votes
Accepted
GVFS-WARNING **: can't init metadata tree /home/user/.local/share/gvfs-metadata/home: open: Permission denied
This should be owned by you, so do one of two things:
Change owner to your user:
sudo chown user.user ~/.local/share/gvfs-metadata/home
Delete it:
sudo rm ~/.local/share/gvfs-metadata/home
Source:...
8
votes
Mount SMB share with gvfs from command line
At least with Ubuntu 18.04, the following works:
$ gio mount smb://<server>/<share>
Password required for share <share> on <server>
User [<user>]:
Domain [<workgroup&...
7
votes
Saving a file in gedit prints a warning in terminal
Whenever you want to open a GUI application with sudo privileges from the terminal CLI, you must use sudo -H, else you probably create a login loop.
sudo -H gedit /etc/default/grub
From man sudo we ...
6
votes
gvfs-trash fails to trash
When you trash a file that's not on the same partition on your home directory, it's moved to the .Trash-1000 directory on the root of whatever partition you are.
Make sure that directory .Trash-1000 ...
5
votes
Accepted
x-nautilus-desktop error message when opening Nautilus from desktop
I had the same problem with fresh install of 17.10 when opening a new window of Nautilus using CTRL+N shortcut. I avoid that message creating an additional shortcut for Nautilus:
Go to keyboard ...
5
votes
Accepted
Is it possible to insert icons on folders with the "gio set" command?
As solved in the comments, gio set command uses same form of parameters that the gvfs-set-attribute uses, except set in gio is a separate command-line parameter, instead of gvfs-set-attribute being ...
5
votes
Accepted
The meaning of computer:///
The computer:/// scheme is provided by GVfs:
List of drives, volumes and mounts
That's all it really means. It's one of the schemes understood by the file manager. The Ubuntu's file manager ...
5
votes
Accepted
gvfs how to disable a certain backend?
The different backends of gvfs are installed as user services, you can manage them using systemctl --user.
You can stop the afc backend using this command (Ubuntu 20.04):
systemctl --user stop gvfs-...
4
votes
How to make nautilus forget SMB session passwords without logging out
Try
gnome-keyring-daemon -r
it worked for me.
source:
https://security.stackexchange.com/questions/108242/how-does-nautilus-store-passwords-on-ubuntu
4
votes
Accepted
How do I restore (or change) the default folder icon for special folders?
I finally figured it out. This metadata is not stored with the directories, but in a single file. You can edit this file and even set directories outside of your home, in case you have directories ...
4
votes
Mount Google Drive automatically at startup (as in Nautilus)
google-drive-ocamlfuse seems to be what you’re looking for. You can use that to authenticate and mount Google Drive to your system. You can then use something like systemd to mount it on startup. ...
3
votes
Accepted
Disabling gvfs directory monitoring on specific share
I was suffering from the same problem, did try changing GVFS enviroment variables and related dconf keys, but didn't get any good results, so decided to look at the source code. I found the next code ...
3
votes
Accepted
gvfs metadata through ssh
Ok so I found an answer after a few hours.
It seems that the dbus daemon is not launched for the remote ssh session.
So using the existing DBUS_SESSION_BUS_ADDRESS was failing, but I found a ...
3
votes
Mitigation for gvfs memory leak?
It should be solved in upcoming release of gvfs (version 1.39.90, if I understand the version scheme). The fixing commit is this.
I had the same bug but with gvfsd-google, as I use GDrive as storage ...
3
votes
ls: cannot access .gvfs: Permission denied
Just give the user permissions to the .gvfs/ and it should fix it.
sudo chown -R $USER:$USER ~/.gvfs/
3
votes
Installing Atom on Ubuntu encounters errors with gvfs-bin
Known issue with package depending on deprecated no longer available gvfs-bin.
Been fixed in beta and nightly.
If you still want to install atom release 1.52.0 on newer Ubuntu, then download the deb ...
3
votes
Nautilus occasionally stops working
killall nautilus didn't work for me.
I ran :
ps aux |grep nautilus
To list all the process containing nautilus
And I stopped them by using the following command:
kill -9 <PID>
3
votes
Mount SMB share with gvfs from command line
The mount point should be in ~/.gvfs. At least by me it was there with this name: smb-share\:domain\=WORKGROUP\,server\=192.168.0.186\,share\=asmedia-hdd\,user\=root/. If you still cannot find it, you ...
3
votes
How to view list of files in Google Drive?
Use:
gio list -d
More info here: https://medium.com/@naufhalrenjira/how-to-use-google-drive-in-your-ubuntu-20-04-f3f279cb9b02
3
votes
How to build Deja Dup for Ubuntu
Here is how I just build it on Ubuntu 20.04:
Clone source code
git clone https://gitlab.gnome.org/World/deja-dup.git
and cd ./deja-dup into the folder.
Switch to older branch with gtk3 support for ...
3
votes
Saving a file in gedit prints a warning in terminal
Having gvfs installed does not prevent the error message. In my own case, "gvfs is already the newest version (1.44.1-1ubuntu1)" but the error still pops up warning whenever I "gedit&...
3
votes
How to find what icon file nautilus is choosing to display?
In my case, I copied the icon (a .png file; but a .svg file will be better) into the directory /usr/share/icons/Adwaita/scalable/mimetypes/, where Adwaita is my current icon scheme, and ran:
$ sudo ...
Only top scored, non community-wiki answers of a minimum length are eligible