csd-automount: Disable autostart.#445
Merged
mtwebster merged 1 commit intolinuxmint:masterfrom Apr 9, 2026
Merged
Conversation
Moving its responsibilities to cinnamon, this will only be needed during 'fallback' mode for now. ref: linuxmint/cinnamon#13145.
mtwebster
added a commit
to linuxmint/cinnamon
that referenced
this pull request
Apr 9, 2026
Certain aspects of GtkMountOperation are broken under Wayland in Gtk3 and won't be fixed. Fortunately it can also use a dbus interface (org.gtk.MountOperationHandler) if a provider exists. This allows us to: - provide the 'device is in use' popup and showing which application is using it, when trying to eject a device. - provide the password/question dialog when mounting devices that require interaction before mounting. - eliminate a lot of code and translations from placesManager, and make the behavior identical when interacting with a device whether from a file manager or Cinnamon's drives applet. Translations are provided by Gtk, Gvfs instead (as when ejecting a device from a file manager). - Adds testMountDialogs.js for theme/dialog testing (activatable via looking-glass). Also replace mount-detection handling in cinnamon-settings-daemon. It was originally part of Cinnamon but mostly removed early on when Cinnamon was forked, and we've relied on csd-automount. With the implementation of CinnamonMountOperation for handling unmount operations, we can bring in the autorun dialog as well. - csd-automount is still used in fallback mode and managed by cinnamon-launcher in those situations (nm-applet, polkit agents are already handled here also). - linuxmint/cinnamon-settings-daemon#445 disables autostarting csd-automount at session startup. - Adds testAutorunDialog.js for theme/dialog testing (activatable via looking-glass).
mtwebster
added a commit
to linuxmint/cinnamon
that referenced
this pull request
Apr 9, 2026
Certain aspects of GtkMountOperation are broken under Wayland in Gtk3 and won't be fixed. Fortunately it can also use a dbus interface (org.gtk.MountOperationHandler) if a provider exists. This allows us to: - provide the 'device is in use' popup and showing which application is using it, when trying to eject a device. - provide the password/question dialog when mounting devices that require interaction before mounting. - eliminate a lot of code and translations from placesManager, and make the behavior identical when interacting with a device whether from a file manager or Cinnamon's drives applet. Translations are provided by Gtk, Gvfs instead (as when ejecting a device from a file manager). - Adds testMountDialogs.js for theme/dialog testing (activatable via looking-glass). Also replace mount-detection handling in cinnamon-settings-daemon. It was originally part of Cinnamon but mostly removed early on when Cinnamon was forked, and we've relied on csd-automount. With the implementation of CinnamonMountOperation for handling unmount operations, we can bring in the autorun dialog as well. - csd-automount is still used in fallback mode and managed by cinnamon-launcher in those situations (nm-applet, polkit agents are already handled here also). - linuxmint/cinnamon-settings-daemon#445 disables autostarting csd-automount at session startup. - Adds testAutorunDialog.js for theme/dialog testing (activatable via looking-glass).
mtwebster
added a commit
to linuxmint/cinnamon
that referenced
this pull request
Apr 9, 2026
Certain aspects of GtkMountOperation are broken under Wayland in Gtk3 and won't be fixed. Fortunately it can also use a dbus interface (org.gtk.MountOperationHandler) if a provider exists. This allows us to: - provide the 'device is in use' popup and showing which application is using it, when trying to eject a device. - provide the password/question dialog when mounting devices that require interaction before mounting. - eliminate a lot of code and translations from placesManager, and make the behavior identical when interacting with a device whether from a file manager or Cinnamon's drives applet. Translations are provided by Gtk, Gvfs instead (as when ejecting a device from a file manager). - Adds testMountDialogs.js for theme/dialog testing (activatable via looking-glass). Also replace mount-detection handling in cinnamon-settings-daemon. It was originally part of Cinnamon but mostly removed early on when Cinnamon was forked, and we've relied on csd-automount. With the implementation of CinnamonMountOperation for handling unmount operations, we can bring in the autorun dialog as well. - csd-automount is still used in fallback mode and managed by cinnamon-launcher in those situations (nm-applet, polkit agents are already handled here also). - linuxmint/cinnamon-settings-daemon#445 disables autostarting csd-automount at session startup. - Adds testAutorunDialog.js for theme/dialog testing (activatable via looking-glass).
mtwebster
added a commit
to linuxmint/cinnamon
that referenced
this pull request
Apr 9, 2026
Certain aspects of GtkMountOperation are broken under Wayland in Gtk3 and won't be fixed. Fortunately it can also use a dbus interface (org.gtk.MountOperationHandler) if a provider exists. This allows us to: - provide the 'device is in use' popup and showing which application is using it, when trying to eject a device. - provide the password/question dialog when mounting devices that require interaction before mounting. - eliminate a lot of code and translations from placesManager, and make the behavior identical when interacting with a device whether from a file manager or Cinnamon's drives applet. Translations are provided by Gtk, Gvfs instead (as when ejecting a device from a file manager). - Adds testMountDialogs.js for theme/dialog testing (activatable via looking-glass). Also replace mount-detection handling in cinnamon-settings-daemon. It was originally part of Cinnamon but mostly removed early on when Cinnamon was forked, and we've relied on csd-automount. With the implementation of CinnamonMountOperation for handling unmount operations, we can bring in the autorun dialog as well. - csd-automount is still used in fallback mode and managed by cinnamon-launcher in those situations (nm-applet, polkit agents are already handled here also). - linuxmint/cinnamon-settings-daemon#445 disables autostarting csd-automount at session startup. - Adds testAutorunDialog.js for theme/dialog testing (activatable via looking-glass).
mtwebster
added a commit
to linuxmint/cinnamon
that referenced
this pull request
Apr 9, 2026
Certain aspects of GtkMountOperation are broken under Wayland in Gtk3 and won't be fixed. Fortunately it can also use a dbus interface (org.gtk.MountOperationHandler) if a provider exists. This allows us to: - provide the 'device is in use' popup and showing which application is using it, when trying to eject a device. - provide the password/question dialog when mounting devices that require interaction before mounting. - eliminate a lot of code and translations from placesManager, and make the behavior identical when interacting with a device whether from a file manager or Cinnamon's drives applet. Translations are provided by Gtk, Gvfs instead (as when ejecting a device from a file manager). - Adds testMountDialogs.js for theme/dialog testing (activatable via looking-glass). Also replace mount-detection handling in cinnamon-settings-daemon. It was originally part of Cinnamon but mostly removed early on when Cinnamon was forked, and we've relied on csd-automount. With the implementation of CinnamonMountOperation for handling unmount operations, we can bring in the autorun dialog as well. - csd-automount is still used in fallback mode and managed by cinnamon-launcher in those situations (nm-applet, polkit agents are already handled here also). - linuxmint/cinnamon-settings-daemon#445 disables autostarting csd-automount at session startup. - Adds testAutorunDialog.js for theme/dialog testing (activatable via looking-glass).
mtwebster
added a commit
to linuxmint/cinnamon
that referenced
this pull request
Apr 9, 2026
Certain aspects of GtkMountOperation are broken under Wayland in Gtk3 and won't be fixed. Fortunately it can also use a dbus interface (org.gtk.MountOperationHandler) if a provider exists. This allows us to: - provide the 'device is in use' popup and showing which application is using it, when trying to eject a device. - provide the password/question dialog when mounting devices that require interaction before mounting. - eliminate a lot of code and translations from placesManager, and make the behavior identical when interacting with a device whether from a file manager or Cinnamon's drives applet. Translations are provided by Gtk, Gvfs instead (as when ejecting a device from a file manager). - Adds testMountDialogs.js for theme/dialog testing (activatable via looking-glass). Also replace mount-detection handling in cinnamon-settings-daemon. It was originally part of Cinnamon but mostly removed early on when Cinnamon was forked, and we've relied on csd-automount. With the implementation of CinnamonMountOperation for handling unmount operations, we can bring in the autorun dialog as well. - csd-automount is still used in fallback mode and managed by cinnamon-launcher in those situations (nm-applet, polkit agents are already handled here also). - linuxmint/cinnamon-settings-daemon#445 disables autostarting csd-automount at session startup. - Adds testAutorunDialog.js for theme/dialog testing (activatable via looking-glass).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moving its responsibilities to cinnamon, this will only be needed during 'fallback' mode for now.
ref: linuxmint/cinnamon#13145.