:: Re: [DNG] Artistic decisions - keyb…
Página Inicial
Delete this message
Reply to this message
Autor: Irrwahn
Data:  
Para: dng
Assunto: Re: [DNG] Artistic decisions - keyboard mappings
On Thu, 19 May 2016 21:35:54 +0200, Arnt Karlsen wrote:
> On Thu, 19 May 2016 12:37:54 -0400, Hendrik wrote in message
> <20160519163754.GA12990@???>:
>
>> On Thu, May 19, 2016 at 06:18:17PM +0200, Irrwahn wrote:
>>> On Thu, 19 May 2016 12:03:57 -0400, Hendrik Boom wrote:
>>> <snip>
>>>> I would love a wayy to diable CAPSLOCK entirely. The few times I
>>>> actually need it I can hold the shift key down, but turing caps
>>>> lock on is a cocmmon typo for 'a'. It I'm in mutt (as I am now)
>>>> that has serious consequences.
>>>
>>> You mean something like this:
>>>
>>> setxkbmap -option caps:none
>>
>> Yes, and where should I put this command?
>
> ..and, can it be disabled or reset automagically after e.g.
> 30 seconds? Or on e.g. leaving the text editor briefly?


Since setxkbmap simply modifies the X keyboard layout [1]
on the fly, I sincerely doubt it comes with any magic
strings attached. For that I'm afraid you'd have to come
up with something that fits your needs. Impromptu, I
have unfortunately not the faintest idea how one would
have to proceed to accomplish what you ask for.

FWIW, the reverse of above command should be:
setxkbmap -option caps:capslock

[1] See man xkeyboard-config for a full list of available
options. Beware, it's huge!
Regards
Urban