-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate $HOME/.xkb path in favor of XDG_CONFIG_HOME/xkb #572
Comments
While I agree It would break the keyboard configuration of people relying on this and it’s quite difficult to debug if one is not familiar with XKB. Indeed, some people may install their files in Added to that, XDG Base Directory Specification is more a convention than a standard, so it’s difficult to know if all setups using xkbcommon support it. Supporting We already promote the XDG specification by looking its directories up first. |
I believe the change is inevitable. The XDG's Specification is a standard de-facto for quite a long time, and our lib has already adopted it. Alternatively, we could declare that legacy path as deprecated for some time in the docs/release notes, and then remove after. |
Ack for deprecating it in the documentation (potentially mostly hiding it) but removal of the functionality is just going to cause potential breakage for now good technical reason.
|
I would ask to make runtime |
Hiding is not good. We should emphasize the path support could be deleted any time in the future versions. |
I think
$HOME/.xkb
is not necessary any more,the random dotstyle-configs/dirs in $HOME are deprecated nowadays, being fully replaced by XDG_CONFIG_HOME path which renders to something like
${XDG_CONFIG_HOME:-$HOME/.config}
:https://specifications.freedesktop.org/basedir-spec/latest/#variables
So I would suggest just drop
$HOME/.xkb
as legacy one to teach people good practice.Originally posted by @bam80 in #162 (comment)
The text was updated successfully, but these errors were encountered: