The xkeyboard-config update today overwrote my ‘/usr/share/X11/xkb/symbols/pc’ file, thus causing a significant amount of distress, because some rather mission critical buttons stopped working in my game and I ended up dying because of that.
Isn’t pacman supposed to create a pacnew file in this situation? Is the ‘pc’ file so special that this -often annoying but useful- behavior does not work?
I guess the file in that location is considered to be a system file and therefore will be overwritten when the package owning it will be updated.
xkeyboard-config have a config file under /etc ?
An user should never touch anything under /usr/share, all the files there WILL be overwritten on package updates. Most sane packages include a warning about this in a comment of each config file. If you need to modify anything, you should copy it to either /etc or .config. Programs should use the config with the highest priority (.config > /etc > /usr/share) and ignore the rest or merge them with settings from higher priority config taking precedence.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.