Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work
On Fri, Sep 15, 2017 at 08:48:21AM +0200, Peter Smith wrote:
> Hi,
>
> I have tried to change the behavior of the CapsLock key to make it an
> additional Escape key. In order to do this I read the advice on
> https://wiki.debian.org/Keyboard
>
> Specifically I did:
> I changed the file /etc/default/keyboard to:
>
> XKBLAYOUT="us,at"
> XKBVARIANT=","
> BACKSPACE="guess"
> XKBMODEL="pc105"
> XKBOPTIONS="caps:escape"
>
> Then I tried to execute the commands
>
> # service keyboard-setup restart
>
> and rebooting the the whole system. Nothing worked. After rebooting
> the CapsLock key behaved in exactly the same manner as before
> rebooting. It is still a CapsLock key.
>
> Maybe this is helpful:
> I use Debian Testing with Gnome.
>
> Does anyone have any tips on why this does not work? Or how to inform
> the Wiki team that this page contains wrong information?
>
> Best regards,
> Peter
>
> P.S.: I actually was able to change the keyboard layout later on by
> the Gnome Tweak tool, but nevertheless I do not unterstand why the
> official information does not work and it should be rectified.
I don't do this change, but when I do change my config as you've done
(/etc/default/keyboard), I always run this:
sudo dpkg-reconfigure xkb-data keyboard-configuration
and then restart Xorg
(I also run this from a Linux console, to make sure it's up to date
with my config too:
sudo setupcon
)
Good luck,
Reply to: