[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stop gnome3 from auto-mounting usb devices?



Michael Biebl <biebl@debian.org> writes:
>> How can I stop gnome 3 from auto-mounting USB devices when they are
>> inserted?  [e.g. I plug my ipod into the computer with a USB cable]
>
> $ gsettings list-recursively | grep mount
> org.gnome.desktop.media-handling automount true
> org.gnome.desktop.media-handling automount-open false
>
> $ gsettings set org.gnome.desktop.media-handling automount false
>
> If you want to hide/ignore particular devices/partitions, you can do
> that via udev rules, e.g. I have:
> $ cat /etc/udev/rules.d/99-hide-partitions.rules
> KERNEL=="sda1",ENV{UDISKS_PRESENTATION_HIDE}="1"
>
> You can use arbitrary rules to refine the match for the device.

Thanks!

-miles

-- 
"Most attacks seem to take place at night, during a rainstorm, uphill,
 where four map sheets join."   -- Anon. British Officer in WW I


Reply to: