Results 1 to 2 of 2

Thread: Replacing `pcmanfm→side pane→Right Clk→Eject Removable Media` with script

Threaded View

  1. #1
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    Replacing `pcmanfm→side pane→Right Clk→Eject Removable Media` with script

    Sorry for being absent from the forum for so long.
    I have an ancient pendrive that still works well, but is irresponsive to `pcmanfm→side pane→Right Clk→Eject Removable Media` . It has an LED lamp that keeps glowing even when "Eject..." is clicked.
    I have had the solution for a long time. I had found it from elsewhere then also from here: Ask Ubuntu 447471
    and here: Karl's Code
    I first run :
    Code:
    for device in $(ls /sys/bus/usb/devices/*/product); do echo $device;cat $device;done
    I identify the Mass Storage Device, then use the command:
    Code:
    echo 'x-y' | sudo tee /sys/bus/usb/drivers/usb/unbind
    and the LED switches off, which is an evidence that the drive is powered off.
    One could also have used:
    Code:
    dmesg | grep -e "Mass Storage"
    then use the `unbind` code.
    Is there a possibility of adding these two lines of codes as script in `pcmanfm→side pane→Right Clk→Eject Removable Media`?

    I will also write to pcmanfm user-group for a solution and will post the responses, if any, here too. I still use Knoppix 7.2.0
    Last edited by rajibando; 08-11-2017 at 08:27 AM.

Posting Permissions

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


Seagate ST6000NM0044 6TB 128MB Cache 7200RPM SATA 6Gb/s 3.5

Seagate ST6000NM0044 6TB 128MB Cache 7200RPM SATA 6Gb/s 3.5" Internal Hard Drive

$69.99



WD My Passport 2TB Certified Refurbished Portable Hard Drive Red picture

WD My Passport 2TB Certified Refurbished Portable Hard Drive Red

$34.99



500 GB SATA 3.5

500 GB SATA 3.5" Desktop Hard Drives MIXED BRANDS Tested (6A4)

$10.25



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive Laptop with Windows 10 Pro / Home Legacy 64

$67.59



WL 4TB 64MB Cache 7200RPM (Enterprise Grade) SATA 6Gb/s 3.5

WL 4TB 64MB Cache 7200RPM (Enterprise Grade) SATA 6Gb/s 3.5" Internal Hard Drive

$48.88



Team Group CX2 2.5

Team Group CX2 2.5" 512GB SATA III 3D NAND Internal Solid State Drive (SSD) T253

$31.99



USED 500GB Laptop Hard Drive HDD WIPED - TESTED AND WORKING - VARIOUS BRANDS picture

USED 500GB Laptop Hard Drive HDD WIPED - TESTED AND WORKING - VARIOUS BRANDS

$8.44



*LOT OF 10 DRIVES* 500GB Desktop PC Internal 3.5

*LOT OF 10 DRIVES* 500GB Desktop PC Internal 3.5" SATA Hard Drive HDD *Tested*

$49.99



WD Elements 1TB Certified Refurbished Portable Hard Drive Black picture

WD Elements 1TB Certified Refurbished Portable Hard Drive Black

$24.99



HUH721010AL4200/42C0 HGST Ultrastar He10 10TB 7200RPM SAS 12Gbps 256MB 2018 picture

HUH721010AL4200/42C0 HGST Ultrastar He10 10TB 7200RPM SAS 12Gbps 256MB 2018

$99.95