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
  •  


Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New) picture

Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)

$129.99



Samsung Galaxy Tab A8 10.5

Samsung Galaxy Tab A8 10.5" 64GB Gray WiFi Tab SM-X200NZAZXAR 2022 Model Bundle

$130.00



Samsung Galaxy Tab A 8

Samsung Galaxy Tab A 8" SM-T387V 32GB Verizon Tablet (No SIM Tray) Grade B

$31.99



Samsung XE310XBA Chromebook 4 11.6

Samsung XE310XBA Chromebook 4 11.6" w/Celeron 1.1GHz/4GB/16GB SSD - Used

$38.00



NEW Samsung Galaxy Tab A8 10.5-in 32GB Tablet - Gray SM-X200 picture

NEW Samsung Galaxy Tab A8 10.5-in 32GB Tablet - Gray SM-X200

$129.98



Samsung Chromebook Computer 11.6

Samsung Chromebook Computer 11.6" Celeron 2GB 16GB SSD WiFi Webcam Bluetooth

$44.99



Samsung Galaxy Tab A9+ 11.0

Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Tablet Bundle SM-X210NZAYXAR 2023

$170.00



Samsung Chromebook 2 503C XE503C12-K01US (Octa 5420 1.9GHz - 4GB RAM - 16GB SSD) picture

Samsung Chromebook 2 503C XE503C12-K01US (Octa 5420 1.9GHz - 4GB RAM - 16GB SSD)

$17.92



Samsung Official Book Cover Keyboard Slim for Galaxy Tab S9 / S9 5G - Black picture

Samsung Official Book Cover Keyboard Slim for Galaxy Tab S9 / S9 5G - Black

$98.95



Samsung Official Book Cover Keyboard Slim for Galaxy Tab S9 / S9 5G - Black picture

Samsung Official Book Cover Keyboard Slim for Galaxy Tab S9 / S9 5G - Black

$87.95