I'm trying to disable the automounting of any usb device. I have this working in Ubuntu 10.04, but I'm trying to do the same in either 12.04 or (ideally) 13.04 but not having any luck.
Everywhere I look tells me to run
dconf-editor, then go to
media-handling and untick
automount-open. This method worked in 10.04 but not in the others. I've also tried ticking
autoopen-never with the other two unticked, but not had any luck.
I'm using VirtualBox VMs to do this in, I don't know if that will have a bearing on my result. I have set-up a blank USB device filter to catch all devices and attach them to the VM. Any suggestions welcomed!
Thanks for all the suggestions. I started again with a clean install and managed to get this working, I think it must have been something to do with my VM settings, but I don't know what!