[Pkg-lxde-maintainers] Replacing `pcmanfm→side pane→Right Clk→Eject Removable Media` with script?

Susmita/Rajib bkpsusmitaa at gmail.com
Mon Aug 21 02:46:31 UTC 2017

The detailed email:
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 at

I first run :

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:
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:
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`?

More information about the Pkg-lxde-maintainers mailing list