should display notification when new media are detected

Bug #345317 reported by Nicolò Chieffo on 2009-03-19
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
notify-osd (Ubuntu)
Mirco Müller

Bug Description

There should be a notification bubble whenever a USB/firewire device is plugged in.

gnome-mount should implement these notification bubbles, but does not.

Mirco Müller (macslow) wrote :

That's not a bug in notify-osd, but rather gnome-mount (if I'm not mistaken) to use notifications for such events in the correct way.

Changed in notify-osd (Ubuntu):
assignee: nobody → macslow
status: New → Invalid
Nicolò Chieffo (yelo3) on 2009-03-19
description: updated
Changed in gnome-mount (Ubuntu):
assignee: nobody → desktop-bugs
importance: Undecided → Low
description: updated
tags: added: notifications
Pedro Villavicencio (pedro) wrote :

i can confirm this with my usb stick, thanks for the report.

Changed in gnome-mount (Ubuntu):
assignee: desktop-bugs → canonical-desktop-team
status: New → Triaged
Changed in gnome-mount (Ubuntu):
assignee: canonical-desktop-team → ken-vandine
Ken VanDine (ken-vandine) wrote :

It looks like the work done related to gnome-mount was already completed in bug 332600.

The other portion of that spec was generic device notifications, not just removable media. We could pretty easily patch gnome-mount to display notifications when removable media is detected, but that sort of happens already by opening a nautilus window. I think it would be more useful to have something like hal trigger the notification for devices that are plugged in.


This is a valid bug. The behavior of the system (according to mpt's spec) should be that when the device is plugged in, if the system has not otherwise responded in a very short period of time (probably on the order of 100-250 ms), a generic notification should pop. Then there should be no more notifications, as a window should open, or the device should otherwise start working.

Currently, everything works in Jaunty, it's just the user feedback could be slightly more robust and consistent. Therefore, the important of Low is appropriate. We should consider a proper fix for this in Karmic.

Chris Cheney (ccheney) wrote :

I am not sure if this is related, maybe not? But along with notification that the device is plugged in it would be nice if told you if the device is plugged into a slower port than it should, eg plugging a USB2 hard drive into a port that only support USB1 (12Mbps) when you also have USB2 (480Mbps) ports on the system. Windows does this already but from what I recall Ubuntu does not.

Martin Pitt (pitti) wrote :

Just for the records, this is not for jaunty. Don't waste too much work on gnome-mount, David Zeuthen said it is going away soon. Perhaps this should be implemented in nautilus, which already has all the gvfs integration? gnome-mount is the wrong place for it anyway, since it doesn't provide a permanently running daemon which could listen to hal events.

Tentatively reassigning to nautilus.

affects: gnome-mount (Ubuntu) → nautilus (Ubuntu)

Well, if I've not misread the specification, the problem is that the
icon must be shown even if the plugged device is not mass storage. So
this is also valid for webcams and others.
The conclusion is for me that gvfs/nautilus should not be touched.

Maybe hal?

reading the bug pitti assigned to nautilus on purpose let's keep it there for now, should perhaps go in the new disk manager library that will be used by gvfs next cycle

affects: nautilus (Ubuntu) → gnome-mount (Ubuntu)
affects: gnome-mount (Ubuntu) → nautilus (Ubuntu)
Changed in nautilus (Ubuntu):
status: Triaged → Confirmed
summary: - usb/firewire(?) notifications are not implemented
+ should display notification when new media are detected

Can nautilus detect if a webcam was plugged?

Martin Pitt (pitti) wrote :

It could perhaps go into gvfsd instead of nautilus, but it can't go into gnome-mount or gnome-disk-utility, since these don't run as a daemon in the user's session.

Ken VanDine (ken-vandine) wrote :

I think gvfs is probably the best place for it.

Sorry if I insist, but I still want to point out that you are talking
of usb mass storage devices, while instead the specification includes
all devices.

Changed in nautilus (Ubuntu):
assignee: Ken VanDine (ken-vandine) → nobody
Sense Egbert Hofstede (sense) wrote :

What about putting the code in devicekit-disks, so notifications are also shown for devices that are kept away from Nautilus?

Changed in nautilus (Ubuntu):
importance: Low → Wishlist
Changed in nautilus (Ubuntu):
status: Confirmed → Triaged
Bryan Quigley (bryanquigley) wrote :

This works at least in 17.10 and I believe in 16.04, but it wasn't a nautilus fix so closing as invalid. Thanks!

Changed in nautilus (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers