Can't unmount things mounted with gtk programs

I use KDE and whenever I mount anything, such as a usb stick or cd, with a gtk program through it’s file chooser, I am unable to unmount it through the normal KDE ways. I can open a terminal and successfully umount it, but trying to do it with dolphin or the Device Notifier widget results in the following:

Could not unmount the device.
One or more files on this device are open within an application.

I know there’s nothing using any files on said volume, since issuing umount from a terminal works ok. Also, it’ll unmount ok if I mount it through a KDE/Qt app or widget. I also noticed that when mounting it through a gtk program, the folder that it gets mounted to is a random string, such as /media/XXXX-XXXX, while when done through KDE it shows up as /media/disk, or something similar.

Any ideas?


I had the same problem I guess.

I seems that it have to do with gvfs thingy, the GNOME virtual file system. There is daemon started when I log on graphically:

$ ps -ef | grep gvfs
sochsenk     2333     1  0 16:15 ?        00:00:00 /usr/lib/gvfs/gvfsd

I couldn’t find any way to deactivate this daemon or process from being started (its not started at bootup).
Anyway, there were several other gvfs processes running coming from a package named gvfs-backends, this one I deinstalled and additionally I put following line to my ~/.profile:


Now, the unmount works correctly with the plasmoid.

I couldn’t remove the gvfs package because that would mean to remove several other GNOME packages which have dependencies on gvfs.

I you find a way to prevent gvfs from beeeing started … please post :-).

Anyhow, my proposed workaround should help.


Take a look at yast2 system services(runlevel) if it is in the list try disabling it.

Thanks for everybody’s replies.

It isn’t in the list.

I tried un-installing gvfs, which it did without any problems since I don’t have gnome installed, but then all removable media disappeared from the places box in the gtk file chooser, so I’m still trying to figure this one out.

… and gvfsd is running with user id, its started during login process. NOT on boot started by root.