Skip to content

Instantly share code, notes, and snippets.

@pazthor
Last active March 24, 2023 19:05
Show Gist options
  • Save pazthor/5b5324530eedfb4b28a8505d1ccbf75c to your computer and use it in GitHub Desktop.
Save pazthor/5b5324530eedfb4b28a8505d1ccbf75c to your computer and use it in GitHub Desktop.
habilita la opción de usar acentos y la letra ñ en distribución de teclado 'us'
#!/usr/bin/env bash
##? supuestos:
##? Use Linux, systemd, tengas permisos de super usuario
##? source: https://wiki.archlinux.org/title/Xorg/Keyboard_configuration#Using_X_configuration_files
localectl status
localectl --no-convert set-x11-keymap us "" altgr-intl ctrl:swapcaps
# para ver opciones
grep -E "(escape|caps):" /usr/share/X11/xkb/rules/base.lst
## archivo modificado:
## /etc/X11/xorg.conf.d/00-keyboard.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment