Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 41

Thread: Two processes attempt to mount blank optical discs

  1. #31
    Join Date
    Apr 2008
    Beans
    11,707

    Re: Ot - automount for media but not partitions

    I'm not quite following - I assume you're edits apply to "org/gnome/desktop" but I really don't know where to do that.

    I know for instance though with the existing dconf bits & pieces in "org/gnome/desktop" that if I set 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.

    On another note - a lot of simple things that should work just don't - like changing the default video player from Totem to VLC. Why even provide a GUI if it doesn't work?

    Quote Originally Posted by mc4man View Post
    My bigger issue is I don't want internal partitions automounted but do want optical media with something on it to respond to a set action, be it a vid dvd, audio cd, data disk, ect.
    So because upstream could care less I do this -
    2 autostart .desktops, first one is immediate & disables automount, 2nd one is delayed a bit & re-enables it.
    ex.
    Code:
    [Desktop Entry]
    Type=Application
    Name=Disable automount
    Exec=gsettings set org.gnome.desktop.media-handling automount false
    Hidden=false
    NoDisplay=false
    X-GNOME-Autostart-enabled=true
    Code:
    [Desktop Entry]
    Type=Application
    Name=Enable automount
    Exec=gsettings set org.gnome.desktop.media-handling automount true
    Hidden=false
    NoDisplay=false
    X-GNOME-Autostart-enabled=true
    X-GNOME-Autostart-Delay=4

  2. #32
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Ot - automount for media but not partitions

    Quote Originally Posted by kansasnoob View Post
    I'm not quite following - I assume you're edits apply to "org/gnome/desktop" but I really don't know where to do that.

    I know for instance though with the existing dconf bits & pieces in "org/gnome/desktop" that if I set 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.

    On another note - a lot of simple things that should work just don't - like changing the default video player from Totem to VLC. Why even provide a GUI if it doesn't work?
    That post was an Ot (off-topic) as the issue you are into here isn't solved by having the automount option enabled.
    (- it is somewhat by disabling automount but that isn't a solution
    So in other words ignore.. at least as far as the double pop up..

    Though I do think if all optical media was seperated from the Gnome automount function then it would be good for all.

    The issue you are seeing with changing default video player thru the Details panel *may* another bug that has been filed quite some time ago, figured out to some extent & .... zilch
    Rather than go into some verbose descript., it revolves around the fact that some mimes have multiple types, this causes that option severe issues. The most common is mp4 which has 3.

    Easiest solution is to delete ~/.local/share/applications/mimeapps.list, then either don't use the option, do manually per mime type via context menu > properties Or just do once & don't touch or use the context menu > properties on a mime with multiple listings like mp4
    Here's one report about
    https://bugs.launchpad.net/ubuntu/+s...s/+bug/1280794

    (- I myself will no longer file any Gnome bugs upstream for various reasons, least of which is they don't care about bugs from Ubuntu users on a Gnome 1 or more versions behind what they use. Has become most times a waste of time..

  3. #33
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Two processes attempt to mount blank optical discs

    Using Xubuntu 14.04. I just tried inserting a blank dvd into my usb optical drive. I didn't get any pop-up, but it is mounted:
    Code:
    $ gvfs-mount -o
    Monitoring events. Press Ctrl+C to quit.
    Drive connected:    'Optiarc DVD RW AD-7231S5'
    Drive changed:      'Optiarc DVD RW AD-7231S5'
    Drive changed:      'Optiarc DVD RW AD-7231S5'
    Volume added:       'Blank DVD-R Disc'
    Mount added: 'Blank DVD-R Disc'
    Mount changed: 'Blank DVD-R Disc'
    Mount added: 'Blank DVD-R Disc'
    Mount changed: 'Blank DVD-R Disc'
    Then when I opened the "door" to remove the media, I got this:
    Code:
    Drive changed:      'Optiarc DVD RW AD-7231S5'
    Mount changed: 'CD Drive'
    Volume changed:     'CD Drive'
    Mount changed: 'CD Drive'
    Mount changed: 'CD Drive'
    Volume changed:     'CD Drive'
    Mount changed: 'CD Drive'
    Mount changed: 'CD Drive'
    Drive changed:      'Optiarc DVD RW AD-7231S5'
    Volume removed:     'CD Drive'
    Mount removed: 'CD Drive'
    Mount removed: 'CD Drive'
    Mount changed: 'CD Drive'

  4. #34
    Join Date
    Apr 2008
    Beans
    11,707

    Re: Two processes attempt to mount blank optical discs

    Quote Originally Posted by VMC View Post
    Using Xubuntu 14.04. I just tried inserting a blank dvd into my usb optical drive. I didn't get any pop-up, but it is mounted:
    Code:
    $ gvfs-mount -o
    Monitoring events. Press Ctrl+C to quit.
    Drive connected:    'Optiarc DVD RW AD-7231S5'
    Drive changed:      'Optiarc DVD RW AD-7231S5'
    Drive changed:      'Optiarc DVD RW AD-7231S5'
    Volume added:       'Blank DVD-R Disc'
    Mount added: 'Blank DVD-R Disc'
    Mount changed: 'Blank DVD-R Disc'
    Mount added: 'Blank DVD-R Disc'
    Mount changed: 'Blank DVD-R Disc'
    Then when I opened the "door" to remove the media, I got this:
    Code:
    Drive changed:      'Optiarc DVD RW AD-7231S5'
    Mount changed: 'CD Drive'
    Volume changed:     'CD Drive'
    Mount changed: 'CD Drive'
    Mount changed: 'CD Drive'
    Volume changed:     'CD Drive'
    Mount changed: 'CD Drive'
    Mount changed: 'CD Drive'
    Drive changed:      'Optiarc DVD RW AD-7231S5'
    Volume removed:     'CD Drive'
    Mount removed: 'CD Drive'
    Mount removed: 'CD Drive'
    Mount changed: 'CD Drive'
    Good to know .............. I have a dumb question though, does Xubuntu use gvfs? If you don't mind post the output of:

    Code:
    apt-cache policy gvfs
    I plan on checking Lubuntu soon.

  5. #35
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Two processes attempt to mount blank optical discs

    Yes, it does. I believe gvfs is used across the board. I wouldn't know its counterpart.
    Code:
    $ apt-cache policy gvfs
    gvfs:
      Installed: 1.20.3-0ubuntu1
      Candidate: 1.20.3-0ubuntu1
      Version table:
     *** 1.20.3-0ubuntu1 0
            100 /var/lib/dpkg/status

  6. #36
    Join Date
    Jun 2005
    Beans
    Hidden!

    Re: Two processes attempt to mount blank optical discs

    Great Minds Think Alike.LOL
    I had borrowed a USB CD/DVD writer and got no errors mounting or ejecting and remounting multiple times.
    I have a USB install of Lubuntu that i am going to boot to now and see if it shows the same with onboard CD/DVD Drive.
    And Drum Roll Please No Errors on Lubuntu
    Probably of no concern but when I open the file manager I get "burn:///"
    Code:
    apt-cache policy gvfs
    gvfs:
      Installed: 1.24.1-1ubuntu1
      Candidate: 1.24.1-1ubuntu1
      Version table:
     *** 1.24.1-1ubuntu1 0
            500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
            100 /var/lib/dpkg/status
    Code:
    $ gvfs-mount -o
    Monitoring events. Press Ctrl+C to quit.
    Drive changed:      'PIONEER DVD-RW DVRTD11RS'
    Drive changed:      'PIONEER DVD-RW DVRTD11RS'
    Volume added:       'Blank DVD+RW Disc'
    Mount added: 'Blank DVD+RW Disc'
    Mount changed: 'Blank DVD+RW Disc'
    Mount added: 'Blank DVD+RW Disc'
    Mount changed: 'Blank DVD+RW Disc'
    And after ejecting
    Code:
    Mount changed: 'CD Drive'
    Volume changed:     'CD Drive'
    Mount changed: 'CD Drive'
    Volume changed:     'CD Drive'
    Mount changed: 'CD Drive'
    Mount changed: 'CD Drive'
    Drive changed:      'PIONEER DVD-RW DVRTD11RS'
    Volume removed:     'CD Drive'
    Mount removed: 'CD Drive'
    Mount removed: 'CD Drive'
    Mount changed: 'CD Drive'
    So when mounting a USB CD/DVD writer what changes?(Clue?)
    Attached Images Attached Images
    Last edited by QDR06VV9; June 4th, 2015 at 09:30 PM. Reason: add info

  7. #37
    Join Date
    Apr 2008
    Beans
    11,707

    Re: Two processes attempt to mount blank optical discs

    I have a USB optical drive also and it's not affected, sorry I forgot to mention that earlier. But every PC I've tested on that has an internal SATA or IDE optical drive complains when a blank disc is mounted.

  8. #38
    Join Date
    Apr 2008
    Beans
    11,707

    Re: Two processes attempt to mount blank optical discs

    I've been reading some of the gvfs info:

    https://wiki.gnome.org/Projects/gvfs/doc

    This jumped out at me:

    Mount spec

    Mount spec is a tiny class that helps to identify and match mounts. It carries key-value pairs, e.g. information about URI scheme used, backend type, hostname, port, username, domain etc.

    Specifically during mount operation two instances of mount spec are used. The source one carries requested information and is handed over to the backend's GVfsJobMount operation. It is a backend responsibility to process this mount spec, create a new one based on the source one and send it back to the mount tracker for registration. Backend can filter out some information that are not strictly required and only sets those values required for unique mount identification.

    Mount spec matching is done by comparing all its values, it must be completely equal. In practice, this also means that e.g. scheme://hostname/ and scheme://username@hostname/ may result in two mounts even if user enters the same username in a credential prompt. There's another limitation in real applications at the moment, requesting mount on scheme://hostname/ wouldn't match with scheme://username@hostname/ at the beginning, when mount tracker is trying to find existing mount since we don't know what username to use at this point. Consequently, when going through the mount process and username is known, we don't have a tool for canceling current mount operation and redirecting ourselves to an active mount.
    Now, if only I had a brain

  9. #39
    Join Date
    Sep 2010
    Beans
    9,205
    Distro
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: Two processes attempt to mount blank optical discs

    Quote Originally Posted by runrickus View Post
    Great Minds Think Alike.LOL
    I had borrowed a USB CD/DVD writer and got no errors mounting or ejecting and remounting multiple times.
    I have a USB install of Lubuntu that i am going to boot to now and see if it shows the same with onboard CD/DVD Drive.
    And Drum Roll Please No Errors on Lubuntu
    Probably of no concern but when I open the file manager I get "burn:///"
    Code:
    apt-cache policy gvfs
    gvfs:
      Installed: 1.24.1-1ubuntu1
      Candidate: 1.24.1-1ubuntu1
      Version table:
     *** 1.24.1-1ubuntu1 0
            500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
            100 /var/lib/dpkg/status
    Code:
    $ gvfs-mount -o
    Monitoring events. Press Ctrl+C to quit.
    Drive changed:      'PIONEER DVD-RW DVRTD11RS'
    Drive changed:      'PIONEER DVD-RW DVRTD11RS'
    Volume added:       'Blank DVD+RW Disc'
    Mount added: 'Blank DVD+RW Disc'
    Mount changed: 'Blank DVD+RW Disc'
    Mount added: 'Blank DVD+RW Disc'
    Mount changed: 'Blank DVD+RW Disc'
    And after ejecting
    Code:
    Mount changed: 'CD Drive'
    Volume changed:     'CD Drive'
    Mount changed: 'CD Drive'
    Volume changed:     'CD Drive'
    Mount changed: 'CD Drive'
    Mount changed: 'CD Drive'
    Drive changed:      'PIONEER DVD-RW DVRTD11RS'
    Volume removed:     'CD Drive'
    Mount removed: 'CD Drive'
    Mount removed: 'CD Drive'
    Mount changed: 'CD Drive'
    So when mounting a USB CD/DVD writer what changes?(Clue?)
    That's an awesome lubuntu theme you got there sorry for off topic ..

    Regards..
    Last edited by ventrical; June 8th, 2015 at 04:42 PM.

  10. #40
    Join Date
    Jun 2008
    Beans
    9

    Re: Two processes attempt to mount blank optical discs

    Ubuntu 15.10 64-bits and this bug is still present. My hardware is a Lenovo GP60NB50 External USB.

Page 4 of 5 FirstFirst ... 2345 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •