Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #186829 > unrolled thread
| Started by | Peter Smith <peter.smith3102@gmail.com> |
|---|---|
| First post | 2017-09-15 09:10 +0200 |
| Last post | 2017-09-24 06:20 +0200 |
| Articles | 7 — 7 participants |
Back to article view | Back to linux.debian.user
Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work Peter Smith <peter.smith3102@gmail.com> - 2017-09-15 09:10 +0200
Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work Dejan Jocic <jodejka@gmail.com> - 2017-09-15 09:20 +0200
Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work Mariusz Gronczewski <mgronczewski@efigence.com> - 2017-09-15 10:40 +0200
Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work <tomas@tuxteam.de> - 2017-09-15 11:10 +0200
Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work Zenaan Harkness <zenaan@freedbms.net> - 2017-09-15 13:20 +0200
Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work Erik Christiansen <dvalin@internode.on.net> - 2017-09-16 11:50 +0200
Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work David Wright <deblis@lionunicorn.co.uk> - 2017-09-24 06:20 +0200
| From | Peter Smith <peter.smith3102@gmail.com> |
|---|---|
| Date | 2017-09-15 09:10 +0200 |
| Subject | Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work |
| Message-ID | <upSVb-7Vq-13@gated-at.bofh.it> |
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.
[toc] | [next] | [standalone]
| From | Dejan Jocic <jodejka@gmail.com> |
|---|---|
| Date | 2017-09-15 09:20 +0200 |
| Subject | Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work |
| Message-ID | <upT4T-7Zg-13@gated-at.bofh.it> |
| In reply to | #186829 |
On 15-09-17, 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. > In case of Gnome, use gnome tweak tool, typing, caps lock key behaviour. Set it there and that's it.
[toc] | [prev] | [next] | [standalone]
| From | Mariusz Gronczewski <mgronczewski@efigence.com> |
|---|---|
| Date | 2017-09-15 10:40 +0200 |
| Subject | Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work |
| Message-ID | <upUkh-iF-7@gated-at.bofh.it> |
| In reply to | #186829 |
On Fri, 15 Sep 2017 08:48:21 +0200, Peter Smith <peter.smith3102@gmail.com> 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" > > I did it by xmodmap, just to different key than escape: keycode 66= Hyper_L then just load xmodmap via xmodmap filename -- Mariusz Gronczewski, Administrator Efigence S. A. ul. Wołoska 9a, 02-583 Warszawa T: [+48] 22 380 13 13 F: [+48] 22 380 13 14 E: mariusz.gronczewski@efigence.com <mailto:mariusz.gronczewski@efigence.com>
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2017-09-15 11:10 +0200 |
| Subject | Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work |
| Message-ID | <upUNj-JO-5@gated-at.bofh.it> |
| In reply to | #186838 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Sep 15, 2017 at 10:09:27AM +0200, Mariusz Gronczewski wrote: [...] > I did it by xmodmap, just to different key than escape: Perhaps the problem is an interaction with the original poster's desktop environment (it is Gnome, iirc). Desktop environments have their own mechanisms to manage those things and it is pretty difficult to find out how they interact with the "basic" X configuration interfaces (besides reading source code, that is). Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlm7mMEACgkQBcgs9XrR2kZ7iQCfZHmO1uHn+//0PxP5gcqpcvju QacAmwRSsEzlTW8T88yOL1N1lJplFaVi =wnwi -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Zenaan Harkness <zenaan@freedbms.net> |
|---|---|
| Date | 2017-09-15 13:20 +0200 |
| Subject | Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work |
| Message-ID | <upWP7-22A-1@gated-at.bofh.it> |
| In reply to | #186829 |
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,
[toc] | [prev] | [next] | [standalone]
| From | Erik Christiansen <dvalin@internode.on.net> |
|---|---|
| Date | 2017-09-16 11:50 +0200 |
| Subject | Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work |
| Message-ID | <uqhTz-886-5@gated-at.bofh.it> |
| In reply to | #186829 |
On 15.09.17 08:48, Peter Smith wrote:
> 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.
It is depressing to see the linux community succumb to unwarranted
creeping complexity. For nearly two decades, this has done it for me:
$ more ~/.Xmodmap
keycode 0x42 = Escape
clear Lock
That's consulted as X fires up, so if you copy your useful dot-files
across upgrades and reinstalls, it's done from here on out.
Erik
--
The meta-problem here is that the configuration wizard does all the approved
rituals (GUI with standardized clicky buttons, help popping up in a browser,
etc. etc.) but doesn't have the central attribute these are supposed to achieve:
discoverability. That is, the quality that every point in the interface has
prompts and actions attached to it from which you can learn what to do next.
- Eric Raymond, in "The Luxury of Ignorance."
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2017-09-24 06:20 +0200 |
| Subject | Re: Make CapsLock an additional Escape key - Problem: https://wiki.debian.org/Keyboard advice does not work |
| Message-ID | <ut6yB-3Zx-5@gated-at.bofh.it> |
| In reply to | #186886 |
On Sat 16 Sep 2017 at 19:45:50 (+1000), Erik Christiansen wrote: > On 15.09.17 08:48, Peter Smith wrote: > > 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. > > It is depressing to see the linux community succumb to unwarranted > creeping complexity. For nearly two decades, this has done it for me: > > $ more ~/.Xmodmap > keycode 0x42 = Escape > clear Lock > > That's consulted as X fires up, so if you copy your useful dot-files > across upgrades and reinstalls, it's done from here on out. … which is a bit late for me. OTOH if one follows the wiki and edits XKBOPTIONS in /etc/default/keyboard, the Caps Lock will behave as ESC in the linux console as well as X. (Of course, I don't use Gnome.) XKBMODEL="pc105" XKBLAYOUT="gb" XKBVARIANT="" XKBOPTIONS="caps:escape,compose:menu,terminate:ctrl_alt_bksp" BACKSPACE="guess" Cheers, David.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web