Groups | Search | Server Info | Login | Register


Groups > comp.windows.x > #581

Re: how to make the pause key switch keyboard variants?

From vallor <vallor@cultnix.org>
Newsgroups comp.windows.x
Subject Re: how to make the pause key switch keyboard variants?
Date 2025-02-07 07:20 +0000
Organization A noiseless patient Spider
Message-ID <vo4c89$314vf$2@dont-email.me> (permalink)
References <871pwa7gnc.fsf@example.com> <yd5xlmgyom.fsf@UBEblock.psr.com>

Show all headers | View raw


On Thu, 06 Feb 2025 23:34:49 -0500, Winston <wbe@UBEBLOCK.psr.com.invalid>
wrote in <yd5xlmgyom.fsf@UBEblock.psr.com>:

> Salvador Mirzo <smirzo@example.com> writes:
>> I wish I could toggle the variant using the pause key and not the menu
>> key as it is currently set on my OpenBSD system---see below.
> 
> I'm not sure, but this sounds more like something xmodmap(1) would do.
> man xmodmap.
> 
> However, since I usually see "Pause" as "Break"+Shift on keyboards, you
> may need to look at references to Break's keycode as well as Pause.
>  -WBE

xev(1) shows the keycode on my Linux system:

KeyPress event, serial 34, synthetic NO, window 0xd800001,
    root 0x1ee, subw 0xd800002, time 152673378, (38,41), root:(1869,1073),
    state 0x10, keycode 127 (keysym 0xff13, Pause), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0xd800001,
    root 0x1ee, subw 0xd800002, time 152673450, (38,41), root:(1869,1073),
    state 0x10, keycode 127 (keysym 0xff13, Pause), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Don't know if it would be different in BSD, but worth a try with xev(1).

-- 
-v

Back to comp.windows.x | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

how to make the pause key switch keyboard variants? Salvador Mirzo <smirzo@example.com> - 2025-02-06 21:16 -0300
  Re: how to make the pause key switch keyboard variants? Winston <wbe@UBEBLOCK.psr.com.invalid> - 2025-02-06 23:34 -0500
    Re: how to make the pause key switch keyboard variants? vallor <vallor@cultnix.org> - 2025-02-07 07:20 +0000
      Re: how to make the pause key switch keyboard variants? Winston <wbe@UBEBLOCK.psr.com.invalid> - 2025-02-07 15:28 -0500
        Re: how to make the pause key switch keyboard variants? Salvador Mirzo <smirzo@example.com> - 2025-03-01 22:41 -0300
          Re: how to make the pause key switch keyboard variants? Winston <wbe@UBEBLOCK.psr.com.invalid> - 2025-03-15 09:18 -0400

csiph-web