NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "F1" key in xorg Linrad program does not work as expected





El 4/1/25 a las 16:56, Martin Husemann escribió:
On Sat, Jan 04, 2025 at 04:36:51PM +0100, Ramiro Aceves wrote:
I have tested both XFCE4 and CTWM window managers, just in case F1 key was
captured as a keyboard shortcut. I think I am missing something. Could F1
key be captured by another program and not working in Linrad as expected?

You can probably configure the window manager to act on it, but it should
nevertheless be passed to applications.

You can test with xev(1), for me it works just fine:

KeyPress event, serial 37, synthetic NO, window 0x3600001,
     root 0x3af, subw 0x0, time 27666792, (345,2), root:(1232,76),
     state 0x0, keycode 67 (keysym 0xffbe, F1), same_screen YES,
     XLookupString gives 0 bytes:
     XmbLookupString gives 0 bytes:
     XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3600001,
     root 0x3af, subw 0x0, time 27666992, (345,3), root:(1232,77),
     state 0x0, keycode 67 (keysym 0xffbe, F1), same_screen YES,
     XLookupString gives 0 bytes:
     XFilterEvent returns: False



Thanks Martin for pointing me to the xev command. I tried "xev -id windowid", after getting the windowid with xwininfo when running Linrad program.

I see F1 key press and release events like you told me. I will tell upstream for trying to find why Linrad does not respond to F1 under NetBSD. It is not a big problem because anyway "!" key works for getting Linrad help menus.


Thanks.
Ramiro.



Martin



Home | Main Index | Thread Index | Old Index