prefer [spacefm] automount default to off, as it can get very annoying when partitioning drives ready for installing
I agree -- in order to preclude confusion, spacefm automount default should be set to "off".
For me, while betatesting the live-usb-maker script, the (by default, spacefm forced automount) effect was maddening.
It is possible to set spacefm to not automount from the current automount-config gui
You've found a magic bullet? When I investigated, my takeaway was:
spacefm, when launched, reads automount directive from its preferences file.
For an "enhanced" controlCentre utility script to be effective in editing the spacefm preferences file,
it would need to "killall spacefm" before writing to the spacefm prefs file
(or refuse to proceed, prompting the user to manually close all running spacefm instances).
A further complication: detecting/handling case where "spacefm -d" is currently managing the desktop
In any event, editing that prefs file (even if it is not locked / in use) is probably inadvisable.
(fileS plural. See the list below. Separate files are referenced by sudo-launched instances of spacefm)
Careful, don't wreck the session, session-last, session-prior spacefm files!
A possible approach would be to customize spacefm's default .../hand_fs_+def
but IMO that would just shift (and further compound) spacefm users' confusion regarding automount governance.