Questions tagged [keyboard-event]
The keyboard-event tag has no summary.
75 questions
0 votes
1 answer
67 views
Is there any way to trace how a keypress is processed from beginning to end in Linux?
I would like to find out why my power button press isn't handled correctly. I've set power manager in XFCE4 to 'ask' me, but all that happens is I'm getting logged out of my session. I have contacted ...
0 votes
0 answers
78 views
Certain keys are falling asleep on keyboard
My keyboard has a mind of its own and it's driving me crazy. I'm convinced it's not entirely a hardware problem, hence this question. Computer is a low-end laptop, fairly recent model. A group of ...
0 votes
0 answers
48 views
Control_L button randomly not registered in Fedora 42
For around 2-3 weeks I have the problem with Fedora 42 on my Dell Precision 5530 that my Ctrl keystroke is not registered. I did not change recently any keyboard configuration. For example when I try ...
1 vote
1 answer
213 views
What is KEY_KP0 to 9 of Linux input event code definitions?
I noticed that there are KEY_KP{0-9} ten keycodes in the evtest output "Supported events" section, but I don't know what they are. I'm looking for a few keys to use for a particular keyboard(...
0 votes
1 answer
2k views
how to send keyboard strokes programmatically (like "sendkeys" in Windows) to a Wayland Linux window (KDE/GNOME)?
I'm writing a desktop automation software, which drives a GUI desktop, on linux. It works pretty well, but Wayland is blocking inter-window communication, especially when entering non-ASCII characters ...
0 votes
1 answer
249 views
Ctrl-C and Ctrl-V etc. not working when using RemotePC from Win to Ubuntu
When using RemotePC to remote-desktoping from Win 11 to Linux Ubuntu 22.04 over the web, the keyboard isn't working well, and, in particular, Ctrl-key commands and the like don't work. Despite being ...
0 votes
2 answers
2k views
How to disable/enable keyboard?
Is there a command line (CLI) command to disable all keyboards on a machine, and then also a CLI command to re-enable them? I'm on a laptop with an internal and external keyboard, I need to disable/...
1 vote
0 answers
105 views
keyboard FN keys send ctrl+a, ctrl+c, ctrl+v instead of unique events
I have a keyboard whose F2, F3, F4 keys send ctrl+a, ctrl+c, ctrl+v events respectively instead of a unique keycode which could be remapped easily using xmodmap keycode mapping. My goal is to use the ...
0 votes
0 answers
702 views
Read physical state of keyboard modifiers in Linux (preferably in C or C++)
Is there a way to programmatically read, detect or get notified about the actual physical state of a modifier key, without requiring root level access rights? I tried X11, XCB and XKB, but their event ...
0 votes
0 answers
187 views
Keyboard ignores first key pressed on Manjaro Gnome
After one or two minutes, the first key I press is ignored. Which key doesn’t matter, Meta, Alt, Space, Shift, numbers, letters. It is as if the keyboard goes on a dormant mode after about 90 seconds ...
1 vote
0 answers
902 views
keyboard layout switching with ibus
I've had to leave xim behind because of various graphical issues. And I'm trying to set up ibus but having trouble getting it to cycle through keyboards. Other info: Debian Testing Awesome WM This ...
2 votes
1 answer
248 views
Razer keyboard : Use keyboard as mouse under X
OP entirely re-edited. My Razer Cynosa chroma is one physical device (basically no more than a PC_105 keyboard) offering the particularity to offer 3 interfaces (1) one of them for simultaneously ...
2 votes
0 answers
186 views
How to prevent the browser from seeing my keystrokes?
My browser (chrome but I think it doesn't matter) receives events for keystrokes which are not intended for it. For example, I'm doing alt+tab in Mate and then I press escape (while still holding the ...
0 votes
0 answers
74 views
Keepass causes immediate Linux logout when using auto-type
Today I had to restart my computer after a total freeze of Linux. After that I now have the problem that KeepassXC 2.7.1 leads to a immediate logout of my Linux system as soon as I try to use the auto-...
2 votes
0 answers
741 views
/dev/input/event doesn't report keys being pressed
I have an usb keyboard connected to a linux box. I need to capture all keys that have been pressed and released. My keyboard n-key rollover meaning that it doesn't have limits on number of ...