Caps lock to esc?

15 views
Skip to first unread message

Erik

unread,
Sep 26, 2023, 7:53:47 AM9/26/23
to autokey-users
Hello does anyone have a script that makes caps lock into esc and shift caps lock to caps lock? Or something similar?

Cole Tuininga

unread,
Sep 26, 2023, 10:09:30 AM9/26/23
to autoke...@googlegroups.com
On 9/26/23 07:53, Erik wrote:
Hello does anyone have a script that makes caps lock into esc and shift caps lock to caps lock? Or something similar?
--
You received this message because you are subscribed to the Google Groups "autokey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autokey-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/autokey-users/e3ae3595-8379-4347-83e8-aa5b9210fcean%40googlegroups.com.

Presuming you're on linux, I suspect you'd be better off trying to do that with something like xmodmap instead.

-- 
Cole Tuininga
cole.t...@gmail.com
http://www.tuininga.org/

jos...@main.nc.us

unread,
Sep 26, 2023, 4:38:57 PM9/26/23
to autoke...@googlegroups.com
Welcome to the AutoKey community, Erik!

Yes and if you do, be sure to set AutoKey to Ignore capslock.

Joe

> On 9/26/23 07:53, Erik wrote:
>> Hello does anyone have a script that makes caps lock into esc and
>> shift caps lock to caps lock? Or something similar?
>> --
>> You received this message because you are subscribed to the Google
>> Groups "autokey-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to autokey-user...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/autokey-users/e3ae3595-8379-4347-83e8-aa5b9210fcean%40googlegroups.com
>> <https://groups.google.com/d/msgid/autokey-users/e3ae3595-8379-4347-83e8-aa5b9210fcean%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> Presuming you're on linux, I suspect you'd be better off trying to do
> that with something like xmodmap instead.
>
> --
> Cole Tuininga
> cole.t...@gmail.com
> http://www.tuininga.org/
>
> --
> You received this message because you are subscribed to the Google Groups
> "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to autokey-user...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/autokey-users/b408137f-1c50-9ef4-4853-3d101be75fe9%40gmail.com.
>

Keith Bainbridge

unread,
Sep 26, 2023, 6:44:27 PM9/26/23
to autoke...@googlegroups.com
I used to use this as a guide:

reassign caps lock

    setxkbmap -option caps:none

    setxkbmap -option caps:swapescape

You can also use other options instead of “caps:none”:

    caps:numlock – Caps Lock becomes an additional Num Lock.

    caps:swapescape – Caps Lock becomes Escape, and Escape becomes Caps Lock

    caps:escape – Caps Lock becomes an additional Escape.

    caps:backspace – Caps Lock becomes an additional Backspace.

    caps:super – Caps Lock becomes an additional Super. (Super is also known as the Windows key.)

All the best

Keith BAINBRIDGE

+61 (0)447 667 468
keit...@gmail.com

UTC + 10

From my Apad

Reply all
Reply to author
Forward
0 new messages