Where Are Xmodmap Config Files?
Xmodmap keymap files with distro autoload convention.
Last updated
Xmodmap reads keymap files named by convention in home plus system dirs. Distro session scripts autoload both at login. Man pages accept any path explicitly.
Linux X11 throughout. Keep home files; leave system defaults.
Where Xmodmap stores this, by platform
~/.Xmodmap
Home plus system keymap names by distro convention with manpage arbitrariness. Session scripts autoload both.
Frequently asked questions
How do I back up Xmodmap?
Copy the home keymap files with X idle. System defaults stay untouched. Restoring means putting the files back before login.
Enforced or conventional names?
Distro session scripts autoload home plus system names by convention. Man pages take arbitrary files instead. Convention beats enforcement here.
Notice an outdated path? Let us know.