Re: How swap Caps lock with Control for Emacs
- Inicie sesión ou rexístrese para enviar comentarios
Hi!
I know you asked for Emacs specifically, but I want to mention this, in
case you could make use of it system wide:
I use the following in my ~/.profile file:
#############
# SWAP KEYS #
#############
setxkbmap -layout de -option ctrl:nocaps
setxkbmap -layout de -option ctrl:swapcaps
I don't remember having to install anything extra, but I might have
forgotten.
Regards,
Zelphir
On 24.06.20 12:00, name at domain wrote:
> I installed Trisquel Mini and it comes with LXDE and not MATE. I checked but
> no such options is availble in LXDE in graphically.
On Wed, 24 Jun 2020 23:01:38 +0200
Zelphir Kaltstahl <name at domain> wrote:
> ...
> I know you asked for Emacs specifically, but I want to mention this, in
> case you could make use of it system wide:
> ....
> I use the following in my ~/.profile file:
> .....
> setxkbmap -layout de -option ctrl:nocaps
> setxkbmap -layout de -option ctrl:swapcaps
> ...
Wow, Thank you very much. It works! I modified the command a little
as I am using the English US keyboard. So I used the following lines:
setxkbmap -option ctrl:nocaps
setxkbmap -option ctrl:swapcaps
And then sourced the file `source ~/.profile`. The effect was
immediate. Thanks again.
--
Starfish <name at domain>
- Inicie sesión ou rexístrese para enviar comentarios