Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How to safely remove drives with pcmanfm?

  1. #1
    Join Date
    Jan 2014
    Beans
    12

    How to safely remove drives with pcmanfm?

    Hi,

    With nautilus, drives can be safely removed: just right click on the drive, and choose the option "Safely Remove Drive".

    I couldn't however figure out how this can be done with pcmanfm, although it reads explicitly that pcmanfm can safely remove drives:
    https://help.ubuntu.com/community/Lubuntu/PCManFM

    Any help is appreciated.

  2. #2
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: How to safely remove drives with pcmanfm?

    Do not you have the remove drive symbol when inserting, for ex, an usb thumb drive ?
    Please have a look at PCManFM > Prefs > Volume Management.
    Attached Images Attached Images
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests by PM, thanks |

  3. #3
    Join Date
    Jan 2014
    Beans
    12

    Re: How to safely remove drives with pcmanfm?

    Thanks for the reply bapoumba!

    >>Do not you have the remove drive symbol when inserting, for ex, an usb thumb drive ?
    No, I don't get the removable drive symbol in pcmanfm, but I do get it in nautilus.
    In my pcmanfm, the removable drive appears under /media.

    Attached is my volume management settings. For some reason, it seems to be different than yours. (I use Lubuntu, and pcmanfm is its default file manager).
    Attached Images Attached Images

  4. #4
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: How to safely remove drives with pcmanfm?

    It gets mounted in /media here too, that is normal. Can you right click and get an "Eject" option ?
    What is you PCManFM version and the lubuntu release you are on ? (I'm on 14.04 so PCManFM is 1.2.0, that may explain the different menus you get).
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests by PM, thanks |

  5. #5
    Join Date
    Jan 2014
    Beans
    12

    Re: How to safely remove drives with pcmanfm?

    No, I don't get ANY option (nautilus gives 8 different options, including Open, Open in New Tab, Open in New Window, etc).
    I'm on 13.10 and my PCManFM is 1.1.2.
    I didn't update my PCManFM since I don't know how to do that
    Last edited by peysun1; March 31st, 2014 at 08:47 PM.

  6. #6
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: How to safely remove drives with pcmanfm?

    My version is different because I use a later ubuntu release. You cannot "upgrade" PCManFM without upgrading the whole distribution. Of course, there are ways to install a later application release on a previous ubuntu release, but I do not think that 1- it is necessary, 2- I'd like to be playing with that.

    If you open /home/<your_user>/.config/pcmanfm/lubuntu/pcmanfm.conf, do you have these under the [volume] section ?
    Code:
    [volume]
    mount_on_startup=1
    mount_removable=1
    autorun=1
    If nautilus mounts and ejects the removable media fine, I suppose the system is doing what is required.

    Would you happen to have another user on this computer ? Do you see the same issue ?

    Edit : can you eject it by command line ?
    Code:
    sudo eject /media/<your_user>/<your_thum_drive_UUID>
    You can find the thumb drive UUID with
    Code:
    sudo blkid
    It is usually on /dev/sdb1 but that can vary.
    Last edited by bapoumba; March 31st, 2014 at 09:44 PM.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests by PM, thanks |

  7. #7
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    5,857
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: How to safely remove drives with pcmanfm?

    Quote Originally Posted by peysun1 View Post
    Hi,

    With nautilus, drives can be safely removed: just right click on the drive, and choose the option "Safely Remove Drive".

    I couldn't however figure out how this can be done with pcmanfm, although it reads explicitly that pcmanfm can safely remove drives:
    https://help.ubuntu.com/community/Lubuntu/PCManFM

    Any help is appreciated.
    I have the same version of PCManFM as you do (1.1.2). My external drive is named "TOSHIBA EXT" and if I right-click on its icon in the side-panel, I see options to mount or to unmount it. IMO, unmount is the same (?) as eject safely provided you wait for a few seconds before yanking it out

    BTW, Thunar 1.6.3 also just has the mount/unmount without the "eject safely". The image below is from PCManFM 1.1.2:
    Attached Images Attached Images
    de gustibus et coloribus non est disputandum -- Wiktionary

  8. #8
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    4,334
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to safely remove drives with pcmanfm?

    This should give you a good idea of what the differences between unmount, eject and safely remove mean in terms of Ubuntu
    http://askubuntu.com/questions/5845/...-drive-and-the

    Maybe?
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  9. #9
    Join Date
    Jan 2014
    Beans
    12

    Re: How to safely remove drives with pcmanfm?

    Quote Originally Posted by vasa1 View Post
    I have the same version of PCManFM as you do (1.1.2). My external drive is named "TOSHIBA EXT" and if I right-click on its icon in the side-panel, I see options to mount or to unmount it. IMO, unmount is the same (?) as eject safely provided you wait for a few seconds before yanking it out
    As I mentioned above (#5), the problem is that I don't get ANY option.

  10. #10
    Join Date
    Jan 2014
    Beans
    12

    Re: How to safely remove drives with pcmanfm?

    Quote Originally Posted by bapoumba View Post
    My version is different because I use a later ubuntu release. You cannot "upgrade" PCManFM without upgrading the whole distribution. Of course, there are ways to install a later application release on a previous ubuntu release, but I do not think that 1- it is necessary, 2- I'd like to be playing with that.

    If you open /home/<your_user>/.config/pcmanfm/lubuntu/pcmanfm.conf, do you have these under the [volume] section ?
    Code:
    [volume]
    mount_on_startup=1
    mount_removable=1
    autorun=1
    Yes I do.


    Quote Originally Posted by bapoumba View Post
    Would you happen to have another user on this computer ? Do you see the same issue ?
    Bingo! No, they don't see the same issue! Everything seems to work fine for them!

    Quote Originally Posted by bapoumba View Post
    Edit : can you eject it by command line ?
    Code:
    sudo eject /media/<your_user>/<your_thum_drive_UUID>
    You can find the thumb drive UUID with
    Code:
    sudo blkid
    It is usually on /dev/sdb1 but that can vary.
    Yes I can.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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