i recently learned eject is a binary which is called by the filemanagers
you can even remove it
sudo apt-get -y --purge remove eject
maybe thereafter a script with the same name stored at the same place would work
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 :I identify the Mass Storage Device, then use the command:Code:for device in $(ls /sys/bus/usb/devices/*/product); do echo $device;cat $device;doneand the LED switches off, which is an evidence that the drive is powered off.Code:echo 'x-y' | sudo tee /sys/bus/usb/drivers/usb/unbind
One could also have used:then use the `unbind` code.Code:dmesg | grep -e "Mass Storage"
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.
i recently learned eject is a binary which is called by the filemanagers
you can even remove it
sudo apt-get -y --purge remove eject
maybe thereafter a script with the same name stored at the same place would work
Intel Xeon Gold 6244 SRF8Z 3.60GHz 24.75MB 8-cores LGA3647 CPU server
$1499.00
Intel Xeon Platinum 8356H Processors 8-Core CPU 3.90GHz-4.40GHz 190W LGA4189
$3882.12
24" APPLE iMAC M1 4.5K RETINA 1TB SSD 16GB RAM 8-CORE 8-CORE GPU BLUE TOUCH ID
$1795.00
2020/2022 Apple iMac 5K 27" 3.8GHz 8-Core i7/ 64GB RAM / 1TB SSD / Nano Texture
$1795.00
NEW OEM Tray AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor
$139.00
Intel Core i9-12900KF - 12th Gen Alder Lake 16-Core (8P+8E) 3.2GHz LGA CPU
$262.99
Intel Core i7-13700K - 13th Gen Raptor Lake 16-Core (8P+8E) 3.4GHz LGA 1700 CPU
$314.99
Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU
$295.99
NVIDIA Quadro 8GB, Intel 12 Core, 128GB RAM, 1TB SSD Video Audio Editing PC
$664.99
Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11
$119.49