[Bug 608774] Re: Nautilus should honor the HAL setting 'storage.automount_enabled_hint'

2010-10-06 Thread Tom H. Miller
I realize this is not truly the place for this, but this bug report is
the closest thing to an answer I've found.

Is there a way to do this for PTP (GPHOTO2_DRIVER=PTP) cameras? I'm
trying to stop a Canon from asking if I want to launch Fstop every time
I plug it in. It needs to be done via a file or setting somewhere, so
I'm trying to write a udev rule to handle it.

It seems that the UDISKS_* keys are ignored for cameras (or at least for
cameras that use PTP by default). How do I tell Lucid to stop
automounting the camera?

-- 
Nautilus should honor the HAL setting 'storage.automount_enabled_hint'
https://bugs.launchpad.net/bugs/608774
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 608774] Re: Nautilus should honor the HAL setting 'storage.automount_enabled_hint'

2010-07-22 Thread Sebastien Bacher
thank you for your bug report but that's not a bug, hal has been
deprecated in favor of udev in lucid

** Changed in: nautilus (Ubuntu)
   Importance: Undecided = Low

** Changed in: nautilus (Ubuntu)
   Status: New = Invalid

-- 
Nautilus should honor the HAL setting 'storage.automount_enabled_hint'
https://bugs.launchpad.net/bugs/608774
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 608774] Re: Nautilus should honor the HAL setting 'storage.automount_enabled_hint'

2010-07-22 Thread Cédric Dufour
Thanks for the quick feedback.

So, for others who may be lost like me, the new 'udev' way is (in 
/etc/udev/rules.d/99-my-rule.rules):
# Exclude my USB token (cf. pamusb) from automount
# NOTE: use 'udevadm test /sys/block/sdX' to find the ENV{ID_SERIAL} parameter
SUBSYSTEM==block, ENV{ID_SERIAL}=, ENV{UDISKS_PRESENTATION_NOPOLICY}=1

(See http://manpages.ubuntu.com/manpages/lucid/man7/udisks.7.html ,
http://manpages.ubuntu.com/manpages/lucid/man7/udev.7.html, and
http://manpages.ubuntu.com/manpages/lucid/man8/udevadm.8.html for
further info)

Cheers

-- 
Nautilus should honor the HAL setting 'storage.automount_enabled_hint'
https://bugs.launchpad.net/bugs/608774
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs