<div dir="ltr"><div>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.</div><div><br></div><div>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.</div><div><br></div><div>The code I used for Xubuntu is</div><div><br></div><div>    gsettings set org.gnome.desktop.media-handling automount false<br>    gsettings set org.gnome.desktop.media-handling automount-open false<br></div><div><br></div><div>Is there equivalent code that works on Ubuntu 18.04.2??</div><div><br></div><div>++ kevin</div><div><br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Kevin O'Gorman<br></div>#define QUESTION ((bb) || (!bb))   /* Shakespeare */<br><br><div><span style="line-height:normal;font-variant:normal;font-size:10pt;font-style:normal;font-weight:normal"><span style="line-height:normal;font-variant:normal;font-size:10pt;font-style:normal;font-weight:normal"></span></span><table width="448" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td width="25"><img src="cid:XVHDKDFDBURW.IMAGE_60.gif" width="25" height="21"></td>
<td width="423"><span style="FONT-FAMILY:Verdana,Geneva,sans-serif;COLOR:rgb(0,153,0);MARGIN-LEFT:5px;FONT-SIZE:10px">Please consider the environment before printing this email.</span></td></tr></tbody></table><br></div></div></div></div></div>