Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keymap is not set in gnome #21

Open
frankenstein91 opened this issue Apr 24, 2021 · 1 comment
Open

keymap is not set in gnome #21

frankenstein91 opened this issue Apr 24, 2021 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@frankenstein91
Copy link
Owner

# The keymap to set for the system
# Tries to take the host keymap in case this variable is empty
keymap:

grafik

@frankenstein91 frankenstein91 added bug Something isn't working enhancement New feature or request labels Apr 24, 2021
TimL20 added a commit to TimL20/Arch-Ansible-Install that referenced this issue Apr 27, 2021
This hopefully fixes issue frankenstein91#21
Untested though
TimL20 added a commit to TimL20/Arch-Ansible-Install that referenced this issue Apr 27, 2021
Proper gnome keymap setting (frankenstein91#21)
Improved dconf settings for:
- Disabling sleep (frankenstein91#22)
- Enabling appindicator (frankenstein91#19)
@TimL20 TimL20 mentioned this issue Apr 27, 2021
TimL20 added a commit to TimL20/Arch-Ansible-Install that referenced this issue May 28, 2021
In gnome_shell role
Add tasks to find out keymap
Set keymap if var is not empty
@frankenstein91
Copy link
Owner Author

still not fixed
we should check

- name: Try to find out host keymap
command: localectl status
delegate_to: localhost
failed_when: false
changed_when: false
when: keymap|default('', true)|length == 0
register: localectl_status
tags:
- gnome_shell
- keymap
- name: Store found host keymap
set_fact:
keymap: "{{ localectl_status.stdout | regex_search('Keymap:\\s*(.*)$', '\\1', multiline=True) | first }}"
when: (keymap | default('', true) | length == 0) and (localectl_status.rc == 0)
tags:
- gnome_shell
- keymap
- name: Set gnome keyboard layout
dconf:
key: "/org/gnome/desktop/input-sources/sources"
value: "[('xkb', '{{ keymap }}')]"
when: keymap|default('', true)|length != 0
tags:
- gnome_shell
- keymap

TimL20 added a commit to TimL20/Arch-Ansible-Install that referenced this issue Jun 3, 2021
Setup dconf settings using a user profile
And dconf database called local
This is another attempt to fix the dconf issues
frankenstein91#19 frankenstein91#20 frankenstein91#21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant