No 'safely remove' option is present in the unity menu when a usb disk is inserted
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Unity |
Fix Released
|
Medium
|
Marco Biscaro | ||
| unity-2d |
Fix Released
|
Medium
|
Felix H. Dahlke | ||
| unity (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
| unity-2d (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: unity
When you put a USB stick into the netbook, it appears on the unity dock, but when you right click it you do not have the option to safely remove from the computer on that screen, which seems illogical, as it is a really good place to have it.
J
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: unity 0.2.46-0ubuntu5
ProcVersionSign
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Wed Oct 13 16:41:15 2010
InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
PATH=(custom, no user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: unity
Related branches
- Neil J. Patel (community): Approve
-
Diff: 91 lines (+54/-0) 2 files modifiedapisrc/DeviceLauncherIcon.cpp (+51/-0)
src/DeviceLauncherIcon.h (+3/-0)
- Florian Boucault (community): Approve
- Marco Biscaro (community): Approve
-
Diff: 157 lines (+77/-21) 2 files modifiedapilibunity-2d-private/src/launcherdevice.cpp (+73/-21)
libunity-2d-private/src/launcherdevice.h (+4/-0)
there is an option 'eject' that does the same.
On Wed, Oct 13, 2010 at 8:43 PM, James Clemence
<email address hidden>wrote:
>
> ** Attachment added: "Dependencies.txt"
>
> https:/
>
> --
> No 'safely remove' option is present in the unity menu when a usb disk is
> inserted
> https:/
> You received this bug notification because you are subscribed to unity
> in ubuntu.
>
> Status in "unity" package in Ubuntu: New
>
> Bug description:
> Binary package hint: unity
>
> When you put a USB stick into the netbook, it appears on the unity dock,
> but when you right click it you do not have the option to safely remove from
> the computer on that screen, which seems illogical, as it is a really good
> place to have it.
>
> J
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.10
> Package: unity 0.2.46-0ubuntu5
> ProcVersionSign
> Uname: Linux 2.6.35-22-generic i686
> Architecture: i386
> Date: Wed Oct 13 16:41:15 2010
> InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Release i386
> (20101007)
> ProcEnviron:
> PATH=(custom, no user)
> LANG=en_GB.utf8
> SHELL=/bin/bash
> SourcePackage: unity
>
>
>
I think there is a subtle difference between Eject and Safely Remove,
that's material for disks with multiple partitions. Personally, I think
we should consolidate all of it to one menu entry, but the GNOME
Nautilus view does have both.
I'll ask MPT to comment directly.
Mark
you can see https:/
Interesting.
Would it not be true that an internal-only device would be visible at
boot, while a device that becomes visible during the session must by
definition be removable and re-pluggable?
Could we use that?
Mark
Not sure, I'm Cc-ing pitti who did work on that previous cycle already and knows what we can do there or not
It's not really about "system internal". The difference is that "ejection" is for media, while "removal" is for drives. I. e. you usually eject a CD from a drive, and you usually remove an USB stick. It becomes more interesting with devices which are both hotpluggable and removable, such as USB card readers or USB CD-ROMs.
On a technical level the difference manifests like this: Suppose you have a drive (/dev/sdb) with a medium with one partition in it (/dev/sdb1). After eject, /dev/sdb1 will go away, and you can use /dev/sdb to query the drive status. Also, the drive remains powered. After "safe removal", both medium and drive will go away (no /dev/sdb* any more), and the drive will also be powered off properly (which also helps saving energy).
In general, using "Eject" on USB sticks and other hotpluggable drives will usually work fine, and never cause a problem with data integrity. The main reason why we still have it separately is for things like iPods, which really want to be removed (not just media ejected), otherwise they make a big fuss about "Wah! Wah! Don't unplug me yet!". Conversely, we can't just have "save removal" only, since that would stop the drive from being able to be ever used again until the next boot.
.. so yes, from my perspective we should add "Savely remove drive" to the menu, like in nautilus. GIO provides those as g_drive_
Martin, jut my 2c: I had different experience with iPods. They stopped flashing the message about being "not safe to remove" after executing eject (either from CLI or from Nautilus). If "Safely remove hardware" was selected either power was cut device altogether or nothing happened (looks like it depended on gvfs, udisks and/or kernel versions).
I must add: the corresponding /dev node definitely disappeared in the latter case (when "Safely remove hardware" was selected), it's just that power to the corresponding USB port was not always cut.
I was about to report a bug on this but will add my two penny's worth here. I really, really like Unity. I think it's a great development, but this issue makes using it difficult. One of the things I would really miss from Gnome is the way that removable media like USB sticks and the like are displayed as an icon on the desktop - and can be ejected safely by right-clicking that icon. It's so easy and intuitive that I think it would be a shame to ditch it. Could it be possible to reintegrate this behaviour in Unity?
James, yes we can do this if the team can dream up an effective way to
do it only for devices which are inserted during the users' session. By
definition, those devices are not going to be hardwired on the motherboard.
Mark
I'll take a deeper look into this and try and include it into the first cut of the removable media support in the launcher.
Is this a candidate for a bitesize bug?
Ingo: I don't think Neil has had the time to look into that, so feel free to investigate and propose a patch.
This bug was fixed in the package unity - 3.6.2-0ubuntu1
---------------
unity (3.6.2-0ubuntu1) natty; urgency=low
* New upstream release:
- unity-window-
g_
- blinking screen at searching "gn" (LP: #674022)
- Top panel isn't multimonitor aware (LP: #675862)
- Leaving fullscreen causes the launcher to rapidly appear and then
disappear (LP: #718054)
- migrate_
directory name: "/desktop/
Shows.
(LP: #722403)
- does not display icons until hovered (LP: #726033)
- Unintuative Application Matching (LP: #726711)
- icons missing in the dash recent files and directory search returns
(LP: #727824)
- some result cache broke the dash search (LP: #728961)
- Protect against conflicts with unity super keys (LP: #729166)
- not installed apps sorting in global search (LP: #636996)
- No 'safely remove' option is present in the unity menu when a usb disk
is inserted (LP: #660010)
- Dash - Implement new Dash design! (LP: #683762)
- Expose or add missing nux functions for a11y support (LP: #701672)
- Launcher - A single finger 'hold' on a Launcher app icon should open the
quicklist (LP: #702486)
- No "Search" default entry (LP: #710794)
- Icon in Launcher should be home folder icon (LP: #721121)
- Launcher bindings require Super to be held down to work (LP: #727580)
- compiz crashed with SIGSEGV in nux::CairoGraph
(LP: #727636)
- Unity "Lens" do not scroll to bottom (LP: #719616)
- Double-click on panel to unmaximize only works in right half
(LP: #725529)
- clicking multiple time on the bfb makes the logo darker and darker
(LP: #727146)
- the launcher should go away if it has been open using the keyboard and
the mouse is not moved while the cursor is on it (LP: #727746)
- migrate_
Permission denied: '/home/
- No feedback when unmounting busy device in Unity (LP: #730638)
-- Didier Roche <email address hidden> 2011年3月07日 19:10:27 +0100
It's a headache to eject each partition when a portable hard disk is attached to the system. I'm surprised to see that this bug hasn't been fixed yet. :/
This bug was fixed in the package unity-2d - 4.0.0-0ubuntu1
---------------
unity-2d (4.0.0-0ubuntu1) oneiric; urgency=low
* New upstream release:
- [launcher] Impossible to keep KDE Apps in Launcher (LP: #741129)
- [dash] Background should be blurred (LP: #823326)
- No 'safely remove' option is present in the unity menu when a usb disk
is inserted (LP: #660010)
- Quicklist item "Keep In Launcher" should be "Keep in launcher" as design
(LP: #795422)
- [launcher] ESC doesn't dismiss launcher when activated with Alt+F1
(LP: #812792)
- [dash] Background wallpaper shifted when using a non compositing window
manager (LP: #823295)
- [launcher] Bottom gradient appears too early (LP: #823877)
- mute/unmute sound when user clicks on sound applet using scroll button
or middle mouse button (LP: #609860)
- Secondary activate (i.e. middle click) support for indicators advanced
usage (LP: #812933)
- Unused GConfItemQmlWrapper dep found (LP: #821880)
* debian/control:
- bump libunity-
- recommends lenses and not places anymore. Adding music lens
-- Didier Roche <email address hidden> 2011年8月11日 21:22:18 +0200