Turning off automount

Kevin O'Gorman kogorman at gmail.com
Tue Aug 6 20:43:30 UTC 2019


I do a lot of stuff with drives from other systems, mostly from an outfit I
volunteer with.  It's annoying to have some of the partitions automounted,
sometimes in the middle of an ongoing operation.

I have a script that successfully turned off automounting on my Xubuntu
boxen (most of my boxen run Xubuntu), but it does not work on my one true
Ubuntu box, a System76 server.

The code I used for Xubuntu is

    gsettings set org.gnome.desktop.media-handling automount false
    gsettings set org.gnome.desktop.media-handling automount-open false

Is there equivalent code that works on Ubuntu 18.04.2??

++ kevin

-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20190806/656d6087/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 441 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20190806/656d6087/attachment.gif>


More information about the ubuntu-users mailing list