Results 1 to 5 of 5

Thread: Can't unmount things mounted with gtk programs

  1. #1
    Join Date
    Nov 2009
    Location
    Detroit
    Posts
    15

    Default 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:
    Code:
    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?

  2. #2
    sochsenk NNTP User

    Default Re: Can't unmount things mounted with gtk programs

    Hi,

    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:

    Code:
    $ 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:

    Code:
    GVFS_DISABLE_FUSE=1
    export GVFS_DISABLE_FUSE
    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.

    Cheers

  3. #3

    Default Re: Can't unmount things mounted with gtk programs

    Quote Originally Posted by sochsenk View Post
    Hi,

    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:

    Code:
    $ 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:

    Code:
    GVFS_DISABLE_FUSE=1
    export GVFS_DISABLE_FUSE
    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.

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

  4. #4
    Join Date
    Nov 2009
    Location
    Detroit
    Posts
    15

    Default Re: Can't unmount things mounted with gtk programs

    Thanks for everybody's replies.

    Quote Originally Posted by joerione View Post
    Take a look at yast2 system services(runlevel) if it is in the list try disabling it.
    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.

  5. #5
    sochsenk NNTP User

    Default Re: Can't unmount things mounted with gtk programs

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •