Skip to content

Keep desktop shortcuts out of home - #9562

Open
rookepoole wants to merge 1 commit into
omacom:quattrofrom
rookepoole:fix/xdg-desktop-dir
Open

Keep desktop shortcuts out of home#9562
rookepoole wants to merge 1 commit into
omacom:quattrofrom
rookepoole:fix/xdg-desktop-dir

Conversation

@rookepoole

@rookepoole rookepoole commented Sep 1, 2026

Copy link
Copy Markdown

Summary

  • redirect the XDG desktop from $HOME to ~/.local/share/desktop for new users and Omarchy 3 upgrades
  • migrate existing users only when their desktop directory still resolves exactly to $HOME
  • preserve customized desktop directories and keep the migration idempotent
  • document the hidden desktop target

Testing

  • bash test/shell.d/provision-user-test.sh
  • bash test/shell.d/xdg-desktop-dir-migration-test.sh
  • ./test/all (the changed tests pass; six unrelated environment-dependent tests fail because this checkout lacks omarchy-pkgs fixtures or the sandbox lacks the required terminal, network, or privilege state)

Closes #9556

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

Labels

None yet

1 participant