Skip to content

Move ~/.lmmsrc.xml to canonical config location#8264

Open
sqrvrt wants to merge 1 commit intoLMMS:masterfrom
sqrvrt:canonical-config-dir
Open

Move ~/.lmmsrc.xml to canonical config location#8264
sqrvrt wants to merge 1 commit intoLMMS:masterfrom
sqrvrt:canonical-config-dir

Conversation

@sqrvrt
Copy link
Contributor

@sqrvrt sqrvrt commented Feb 17, 2026

Moves $HOME/.lmmsrc.xml to $XDG_CONFIG_HOME/lmms/lmmsrc.xml (and similar dirs in other platforms) to conform to modern standards.

Currently in this PR, if file doesn't exist in new location, old one gets copied, and if directory doesn't exist it gets created on startup instead of on write like the file does. Should i move it? Creation also silently fails if directory is somehow unable to be created, though i'm not crazy enough to test if writing a file would still emit a warning.

Worthy of note, since it's now a proper config file, the leading dot is removed. Instead of copying old file could be moved. Current behavior is for testing convenience.

@Monospace-V
Copy link
Member

I would copy and not move because in my case (and I think at least some other users do this too) I'm running multiple versions of LMMS. I think this could be more likely in the future if there are changes that break backward compatibility. I know a lot of other users who switch from nightly back to alpha, etc, or try out nightly and go back to stable.

@sqrvrt
Copy link
Contributor Author

sqrvrt commented Feb 18, 2026

My main argument for moving was just somewhat of a clarification that file being observed has moved, but i see the problem. Would probably be good to get the point across in some way though without reading the patch notes, maybe a popup after file copying.

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