:: Re: [DNG] Artistic decisions - keyb…
Forside
Slet denne besked
Besvar denne besked
Skribent: Irrwahn
Dato:  
Til: dng
Emne: Re: [DNG] Artistic decisions - keyboard mappings
On Thu, 19 May 2016 12:37:54 -0400, Hendrik Boom wrote:
> 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?


Essentially anywhere where it is executed upon X session
start. E.g. ~/.xsessionrc (that's where I like to have
it), or even in your .bashrc (if that is sourced by your
DE's startup sequence!). Or you make a tiny script and
hook that up to your DE's autostart mechanism. Or you
open up an xterm after logging in and type it manually
(not very convenient, I guess ;-).

It all depends a bit on the desktop environment you use,
and your personal preferences for setting things up.
Heck, you could even be bold and put it in a script in
/etc/X11/Xsession.d, thereby making it load for any user
logging into any session.

HTH, Regards
Urban