To replace keycode 180 with keycode 9 in Debian 12, you can follow these steps:
- Open a terminal.
- Run the following command to edit the
evdevfile:sudo nano /usr/share/X11/xkb/keycodes/evdev - In the
evdevfile, locate the line that contains180and change it to9. - Save the file by pressing
Ctrl + O, then pressEnterto confirm the filename. - Exit the text editor by pressing
Ctrl + X. - Restart your system for the changes to take effect.
After restarting, the keycode 180 should be replaced with keycode 9 in Debian 12.