Add and use AutomountManager
The AutomountManager handles automatic mounting of volumes depending on the value of "org.gnome.desktop.media-handling automount"
For automount to work, services like gvfs-udisks2-volume-monitor should be running.
The AutomountManager handles automatic mounting of volumes depending on the value of "org.gnome.desktop.media-handling automount"
For automount to work, services like gvfs-udisks2-volume-monitor should be running.