Autore: Hendrik Boom Data: To: dng Oggetto: Re: [DNG] Artistic decisions - keyboard mappings
On Thu, May 19, 2016 at 06:48:26PM +0200, Irrwahn wrote: > 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 ;-).
I created an .xsessionrc and put the command in it.
Works great!