Skip to content

Add gsettings option to automatically merge directories during conflicts - #3818

Open
bones99-hub wants to merge 1 commit into
linuxmint:masterfrom
bones99-hub:always-merge-directories
Open

Add gsettings option to automatically merge directories during conflicts#3818
bones99-hub wants to merge 1 commit into
linuxmint:masterfrom
bones99-hub:always-merge-directories

Conversation

@bones99-hub

Copy link
Copy Markdown

What does this patch do?

This patch adds a gsettings option that automatically chooses the "Merge" action during file conflicts involving only directories. It does not have a corresponding UI element in Preferences.

What problem does this solve?

Currently, when a copied or moved directory already exists, Nemo always prompts the user to choose how to resolve the conflict. Users who routinely merge directory trees currently need to confirm the "Merge" action every time a directory conflict occurs. This setting allows those users to opt into automatically selecting the merge action.

Does it change existing behavior?

No. The default remains exactly the same. Only users who explicitly enable the setting see different behavior.

Why a gsettings key?

A gsettings option was chosen so that existing behavior remains unchanged while allowing users who prefer automatic directory merging to opt in.

Why no UI element?

This patch intentionally adds only the underlying gsettings key. Whether it should be exposed through the Preferences dialog is a separate UI decision, so this change keeps the implementation focused and leaves that discussion open.

@Jeremy7701

Jeremy7701 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Surely, it must be time for some nemo documentation of gsettings.
dconf works for me as a GUI interface, but is it widely known about by new users?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants