I run a number of Xubuntu 18.04 machines, and set up more from time to time. I want to be able to turn off automounting of USB sticks with commands, so that it becomes an automatic part of my setup.
I've seen the questions asked about 16.04, but the accepted answers mostly seem to be about GUI programs. Some attempts were made to use the gsettings command, but it required environment variables that are not automatically set up, and the procedures given to set them up were also GUI commands. At least in the questions I looked at.
I need a way to do this entirely on the command line.