← Back to team overview

desktop-packages team mailing list archive

[Bug 1069964] Re: Two processes attempt to mount blank optical discs

 

Hi Tim, I assume that Nautilus (or Caja in the case of Ubuntu Mate) is
actually responsible for the "media already mounted" warning because if
you open dconf-editor and go to "org/gnome/desktop/media-handling" (or
"org/mate/desktop/media-handling") and change both "automount" and
"automount-open" to false then the "media already mounted" warning goes
away. The downside is that doing so interferes with mounting usb drives,
cameras, etc so it's not a truly viable workaround.

The descriptions in dconf certainly mention Nautilus and Caja
specifically:

If set to true, then Nautilus will automatically mount media such as
user-visible hard disks and removable media on start-up and media
insertion.

If set to true, then Nautilus will automatically open a folder when
media is automounted. This only applies to media where no known
x-content/* type was detected; for media where a known x-content type is
detected, the user configurable action will be taken instead.

If set to true, then Caja will automatically mount media such as user-
visible hard disks and removable media on start-up and media insertion.

If set to true, then Caja will automatically open a folder when media is
automounted. This only applies to media where no known x-content/* type
was detected; for media where a known x-content type is detected, the
user configurable action will be taken instead.

So I really assume that some file managers (Nautilus, Caja, and possibly
Nemo) attempt to mount the blank media after gvfs has already mounted it
and therefore produce that warning. I'll grant you that it's only a
cosmetic issue but it's certainly one of those bugs that just shouts
"not ready for prime time" and sends users looking elsewhere for a
reliable distro.

I'd think there'd be a way to have Nautilus and Caja just see if media
is already mounted by gvfs and if so say nothing rather than displaying
a useless and meaningless warning.

Since this does also effect the Mate DE I took the liberty of
subscribing Martin Wimpress, so apologies in advance to Martin. My
intention is not to be pushy but only to inform.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1069964

Title:
  Two processes attempt to mount blank optical discs

Status in OEM Priority Project:
  New
Status in glib2.0 package in Ubuntu:
  Confirmed
Status in unity-settings-daemon package in Ubuntu:
  Confirmed

Bug description:
  This behavior can be reproduced using either a live USB or an
  installed version of the effected flavors. Simply insert a blank
  optical disc in the drive.

  The behavior differs slightly in Ubuntu GNOME as the notification to
  either Open with CD/DVD Creator or Eject is displayed twice - that is
  after simply clicking on the X to close that notification it closes
  but a new duplicate notification appaers immediately. The GNOME
  Classic session is not effected at all.

  In all other effected flavors and/or desktop environments a
  notification appears stating "Unable to mount Blank disc. Location is
  already mounted". Effected flavors and DE's include Ubuntu w/Unity,
  gnome-session-flashback, and Ubuntu MATE.

  Versions effected include Trusty, Utopic, and Vivid. I assume that two
  separate processes are actually attempting to mount the blank optical
  media, rather than just the file manager attemting to do so, because
  both Nautilus and Caja are effected (based on some of the comments
  below possibly also Nemo).

  While purely cosmetic in nature I'd certainly be willing to try and
  troubleshoot this if someone more tech savvy would provide some
  debugging instructions.

  Original content begins below:

  This error message comes up, while still able to burn, read/write etc. It occurs in quantal when inserting a CD/DVD into the drive, but it did not happen in precice.
  Screenshot:
  http://i47.tinypic.com/4v0aj6.png

  Burner: LG HL-DT-ST DVDRAM GH24NS90

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: gnome-settings-daemon 3.4.2-0ubuntu14
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  Date: Mon Oct 22 19:50:35 2012
  ExecutablePath: /usr/lib/gnome-settings-daemon/gnome-fallback-mount-helper
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-settings-daemon
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1069964/+subscriptions