Configure keyboard to always be International AltGr.

This commit is contained in:
2026-07-24 14:52:03 -07:00
parent fb4386b418
commit 4adc2d2e7e
2 changed files with 22 additions and 18 deletions
+12 -14
View File
@@ -2,17 +2,15 @@
# 20260716 - Hyperling
# Ensure the correct International AltGr keyboard setting is always chosen.
# Is this really needed, or is it an `st` issue with the NovaCustom keyboard?
#- name: General | Settings | Keyboard | Default Config
# lineinfile:
# path: "/etc/default/keyboard"
# regexp: '{{ item.key }}'
# line: '{{ item.value }}'
# state: present
# create: yes
# backup: yes
# loop:
# - { "key": '^[\#]?XKBMODEL', "value": 'XKBMODEL="pc105"'}
# - { "key": '^[\#]?XKBLAYOUT', "value": 'XKBLAYOUT="us"'}
# - { "key": '^[\#]?XKBVARIANT', "value": 'XKBVARIANT="altgr-intl"'}
- name: General | Settings | Keyboard | Default Config
lineinfile:
path: "/etc/default/keyboard"
regexp: '{{ item.key }}'
line: '{{ item.value }}'
state: present
create: yes
backup: yes
loop:
#- { "key": '^[\#]?XKBMODEL', "value": 'XKBMODEL="pc105"'}
- { "key": '^[\#]?XKBLAYOUT', "value": 'XKBLAYOUT="us"'}
- { "key": '^[\#]?XKBVARIANT', "value": 'XKBVARIANT="altgr-intl"'}