Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-02-24 09:49:31

paolo321
Member
Registered: 2011-06-26
Posts: 121

safely remove drive

In Gnome 2 I was used to right click on a drive icon on the desktop to unmount or safely remove drive, where I used safely remove drive to unmount and poweroff external drives before removing them.

Moved to xubuntu 11.10 , I cannot find Safely Remove Drive, I can unmount drive but it stays powered on, with desktop icon, ready to be mounted again. This is quite confusing imho (I always fear to remove without unmounting) , and I'd like anyway to do a software shutdown to the disk before unmounting it, like I was used to do.

Is there a way to add "safely remove drive" option to right click menu? Or, if there is a way to add custom commands to that menu, probably I could find a shell command to poweroff drive...

Offline

#2 2012-02-24 14:28:15

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: safely remove drive

If your drive is, for instance, /dev/sdb, then

# udisks --detach /dev/sdb

Offline

#3 2012-02-26 16:17:07

paolo321
Member
Registered: 2011-06-26
Posts: 121

Re: safely remove drive

OK, but is there a way to add this action to the right click menu I see on drive icons, where right now I only see "eject" ?

Offline

#4 2012-02-26 19:31:18

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,144
Website

Re: safely remove drive

Eject does the same.

Offline

#5 2012-02-26 21:11:36

paolo321
Member
Registered: 2011-06-26
Posts: 121

Re: safely remove drive

eject unmounts drive, but drive remains powered on, and I still see desktop icon.
"Safely remove" , like that in Disk Utility, power off the drive and the icon disappear.

I know that just unmounting is fine, but I'd like to have choice to "unmount and leave powered on" and "power off"...
I was thinking that right-click menu for drive icons would be customizable somewhere, but I've not found where :-)

Offline

Board footer

Powered by FluxBB