From eea10c71415f93bbf9e2eae5a9ef50ffeaf06789 Mon Sep 17 00:00:00 2001 From: Pablo Costa Date: Wed, 5 Apr 2017 00:47:03 +0200 Subject: [PATCH 1/2] Update user-faq.md about keyboard layout I know this feels like a workaround for some misbehaving/missing UI, but it is better than the reference to the ML discussion, and it links to the open issue. I have not done extensive testing to this method. I am sending the PR in a hurry because I have been frustrated (missing my compose-key) for some days after reinstalling, and I think this may prove useful for other users. Please try to reproduce and/or get some community feedback before accepting the PR; Also, feel free to reword, reformat, or discard :) --- basics_user/user-faq.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/basics_user/user-faq.md b/basics_user/user-faq.md index b217b14c..a7e0ef41 100644 --- a/basics_user/user-faq.md +++ b/basics_user/user-faq.md @@ -307,7 +307,17 @@ For details, see the qubes-users mailing list threads [here](https://groups.goog ### My keyboard layout settings are not behaving correctly. What should I do? -Please read [this discussion](https://groups.google.com/d/topic/qubes-devel/d8ZQ_62asKI/discussion). +In `Q` → `System Tools` → `Keyboard` → `Layout`, leave the checkbox `Use system defaults` checked. Do not customize the keyboard layout here. + +Set the system-wide layout and options for `xorg` with the `localectl` command in `dom0`. You can use `localectl --help` as a starting point. + +Example: `localectl set-x11-keymap us dell ,qwerty compose:caps`. + +This generates the appropriate configuration in `/etc/X11/xorg.conf.d/00-keyboard.conf`. + +Restarting `xorg` is required. The easy way is to reboot the system. + +More information in [this discussion](https://groups.google.com/d/topic/qubes-devel/d8ZQ_62asKI/discussion) and [this issue](https://github.com/QubesOS/qubes-issues/issues/1396). ### My dom0 and/or TemplateVM update stalls when attempting to update via the GUI tool. What should I do? From 2b60fc203b5ed18f7bc745c504bfe02968e5249b Mon Sep 17 00:00:00 2001 From: Pablo Costa Date: Wed, 5 Apr 2017 12:21:57 +0200 Subject: [PATCH 2/2] Update user-faq.md about keyboard layout Small improvements --- basics_user/user-faq.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/basics_user/user-faq.md b/basics_user/user-faq.md index a7e0ef41..47444ea6 100644 --- a/basics_user/user-faq.md +++ b/basics_user/user-faq.md @@ -307,15 +307,17 @@ For details, see the qubes-users mailing list threads [here](https://groups.goog ### My keyboard layout settings are not behaving correctly. What should I do? -In `Q` → `System Tools` → `Keyboard` → `Layout`, leave the checkbox `Use system defaults` checked. Do not customize the keyboard layout here. +The best approach is to choose the right keyboard layout during the installation process. But if you want to change things afterwards, you can try this workaround. + +Assuming XFCE desktop: in `Q` → `System Tools` → `Keyboard` → `Layout`, leave the checkbox "`Use system defaults`" checked. Do not customize the keyboard layout here. Set the system-wide layout and options for `xorg` with the `localectl` command in `dom0`. You can use `localectl --help` as a starting point. Example: `localectl set-x11-keymap us dell ,qwerty compose:caps`. -This generates the appropriate configuration in `/etc/X11/xorg.conf.d/00-keyboard.conf`. +This generates the appropriate configuration in `/etc/X11/xorg.conf.d/00-keyboard.conf`. This file is auto-generated. Do not edit it by hand, unless you know what you are doing. -Restarting `xorg` is required. The easy way is to reboot the system. +Restarting `xorg` is required. The most straightforward way is to reboot the system. More information in [this discussion](https://groups.google.com/d/topic/qubes-devel/d8ZQ_62asKI/discussion) and [this issue](https://github.com/QubesOS/qubes-issues/issues/1396).