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
+10 -4
View File
@@ -91,6 +91,8 @@
# Gather again in case missing programs have now been installed. # Gather again in case missing programs have now been installed.
- include_tasks: facts/general/gather.yml - include_tasks: facts/general/gather.yml
- include_tasks: tasks/general/settings/keyboard.yml
- include_tasks: tasks/general/acct_mgmt/groups.yml - include_tasks: tasks/general/acct_mgmt/groups.yml
- include_tasks: tasks/general/acct_mgmt/users.yml - include_tasks: tasks/general/acct_mgmt/users.yml
- include_tasks: tasks/general/acct_mgmt/sudo.yml - include_tasks: tasks/general/acct_mgmt/sudo.yml
@@ -120,7 +122,8 @@
- include_tasks: facts/workstation/package.yml - include_tasks: facts/workstation/package.yml
# Set Up Desktop Environments # ## Desktop Environments ##
- include_tasks: tasks/workstation/freebsd/software/gpu.yml - include_tasks: tasks/workstation/freebsd/software/gpu.yml
when: ansible_system == "FreeBSD" and bsd_gpu == true when: ansible_system == "FreeBSD" and bsd_gpu == true
@@ -140,7 +143,8 @@
- include_tasks: tasks/workstation/linux/software/lxqt.yml - include_tasks: tasks/workstation/linux/software/lxqt.yml
# Software Tasks # ## Software Tasks ##
- include_tasks: tasks/workstation/linux/software/packages.yml - include_tasks: tasks/workstation/linux/software/packages.yml
when: ansible_system == "Linux" when: ansible_system == "Linux"
@@ -162,7 +166,8 @@
- include_tasks: tasks/workstation/mac-os/software/brew.yml - include_tasks: tasks/workstation/mac-os/software/brew.yml
when: ansible_system == "Darwin" when: ansible_system == "Darwin"
# Configuration Tasks # ## Configuration Tasks ##
- include_tasks: tasks/workstation/shared/settings/gnome.yml - include_tasks: tasks/workstation/shared/settings/gnome.yml
when: not mobile when: not mobile
@@ -183,7 +188,8 @@
- include_tasks: tasks/workstation/shared/settings/templates.yml - include_tasks: tasks/workstation/shared/settings/templates.yml
# Final Tasks (SLOW) # ## Final Tasks (SLOW) ##
- include_tasks: tasks/workstation/linux/software/flutter.yml - include_tasks: tasks/workstation/linux/software/flutter.yml
when: ansible_system == "Linux" when: ansible_system == "Linux"
+12 -14
View File
@@ -2,17 +2,15 @@
# 20260716 - Hyperling # 20260716 - Hyperling
# Ensure the correct International AltGr keyboard setting is always chosen. # 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:
#- name: General | Settings | Keyboard | Default Config path: "/etc/default/keyboard"
# lineinfile: regexp: '{{ item.key }}'
# path: "/etc/default/keyboard" line: '{{ item.value }}'
# regexp: '{{ item.key }}' state: present
# line: '{{ item.value }}' create: yes
# state: present backup: yes
# create: yes loop:
# backup: yes #- { "key": '^[\#]?XKBMODEL', "value": 'XKBMODEL="pc105"'}
# loop: - { "key": '^[\#]?XKBLAYOUT', "value": 'XKBLAYOUT="us"'}
# - { "key": '^[\#]?XKBMODEL', "value": 'XKBMODEL="pc105"'} - { "key": '^[\#]?XKBVARIANT', "value": 'XKBVARIANT="altgr-intl"'}
# - { "key": '^[\#]?XKBLAYOUT', "value": 'XKBLAYOUT="us"'}
# - { "key": '^[\#]?XKBVARIANT', "value": 'XKBVARIANT="altgr-intl"'}