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
    271

    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
  •  


Dell PowerEdge R620 Server | 2x E5-2670 = 16 Cores | 32GB RAM | H710 | 2x 600GB picture

Dell PowerEdge R620 Server | 2x E5-2670 = 16 Cores | 32GB RAM | H710 | 2x 600GB

$312.00



DELL Poweredge E10S R210 4GB RAM 2.4GHZ 1U Server MW3H2 picture

DELL Poweredge E10S R210 4GB RAM 2.4GHZ 1U Server MW3H2

$39.00



Dell PowerEdge R720 Server / 2x E5-2670 V2 =20 Cores / 128GB RAM / 4x Trays picture

Dell PowerEdge R720 Server / 2x E5-2670 V2 =20 Cores / 128GB RAM / 4x Trays

$558.40



Dell PowerEdge T610 Tower Server - CTO Wholesale Custom to Order picture

Dell PowerEdge T610 Tower Server - CTO Wholesale Custom to Order

$180.19



Dell Poweredge R410 2 X SIX CORE 2.40GHZ E5645 32GB RAM 500GB HHD SERVER QTY picture

Dell Poweredge R410 2 X SIX CORE 2.40GHZ E5645 32GB RAM 500GB HHD SERVER QTY

$159.99



Dell PowerEdge R620 1U Server - 2X E5-2630 Hex Core/64GB/H310 RAID/2X 300GB SAS picture

Dell PowerEdge R620 1U Server - 2X E5-2630 Hex Core/64GB/H310 RAID/2X 300GB SAS

$174.99



Dell PowerEdge R720 Server 2x Xeon E5-2680 2.7ghz 32GB H710p 2x 1100w picture

Dell PowerEdge R720 Server 2x Xeon E5-2680 2.7ghz 32GB H710p 2x 1100w

$259.99



Dell PowerEdge R620 Server | 2x E5-2670 16 Cores | 96GB | H710 | 2x 600GB 10K  picture

Dell PowerEdge R620 Server | 2x E5-2670 16 Cores | 96GB | H710 | 2x 600GB 10K

$372.80



Dell PowerEdge T320 Tower Server 8-Bay LFF Six-Core E5-2430 2.2GHz 8GB PERC H310 picture

Dell PowerEdge T320 Tower Server 8-Bay LFF Six-Core E5-2430 2.2GHz 8GB PERC H310

$269.99



Dell PowerEdge R720 Server / 2x E5-2690 = 16 Cores / 96GB / H710 / 2x 900GB SAS picture

Dell PowerEdge R720 Server / 2x E5-2690 = 16 Cores / 96GB / H710 / 2x 900GB SAS

$481.60