Questions tagged [keyboard-event]

68 questions
64
votes
19 answers

Ubuntu 18.04 won't wake after screen lock and blank / suspend / sleep

I am trying to run Ubuntu 18.04 on a laptop with an AMD A12 processor and Radeon R7 graphics. I am having nothing but problems and am very discouraged with Ubuntu though I used 12.04 for years without such problems. I have two problems that are…
ubuntu_user7
  • 761
  • 1
  • 6
  • 4
9
votes
1 answer

How to get MS Natural Ergonomic 4000 slider work on Linux Mint?

I'm trying to make slider on MS keyboard working, but still it doesn't. What I've tried already: in /etc/udev/hwdb.d/61-keyboard-local.hwdb keyboard:usb:v045Ep00DB* KEYBOARD_KEY_c022d=up KEYBOARD_KEY_c022e=down and evdev:input:b0003v045Ep00DB* …
user3033648
  • 93
  • 1
  • 4
5
votes
2 answers

KeyBoard Monitoring without display

Working on a project that uses a little keyboard and an E-ink display which will run on a raspberry pi Zero. I have tried a couple of keyboard packages for python (pynput, pyxhook) and have written/tested simple keystroke loggers that work fine on…
Chad G
  • 270
  • 1
  • 2
  • 11
4
votes
1 answer

setxkbmap conflicting with xmodmap

So initially I had the following in my ~/.Xmodmap which mapped CapsLock+HJKL to left/down/up/right like in vim: keycode 66 = Mode_switch keysym h = h H Left keysym j = j J Down keysym k = k K Up keysym l = l L Right Everything worked just fine…
4
votes
1 answer

BASH question: using read, can I capture a single char OR arrow key (on keyup)

So here's my deal: working in BASH, I have already built out a function which works just fine that accepts an array or any number of parameters, and spits out an interactive menu, navigable by arrows up or down, and concluding with the user hitting…
ZenAtWork
  • 43
  • 4
4
votes
2 answers

How to prevent the keyboard from being interpreted by the current application?

I have 3 USB-keyboards attached to the Linux. Normally, when writing on any one, the characters "going" to the currently active application, e.g. to terminal or any other app. But, me reading the keyboard events from two keyboards directly by…
clt60
  • 297
  • 2
  • 8
4
votes
1 answer

How to disable JavaScript key events (and theft) in Firefox by websites?

I use Mozilla Firefox to browse the web. When I look at a site and wish to search text on the page, I use the slash / character to initiate incremental search (which is the default Firefox behaviour). However, when I visit a site…
Ned64
  • 8,486
  • 9
  • 48
  • 86
3
votes
1 answer

What device drivers are needed to fully recognize a USB Keyboard?

My problem is I have an embedded system normally headless. It has a serial console I use for debugging, but will not be present in production. It has no vga/graphics/monitor/whatever. It doesn't have a proper keyboard or mouse. So far, so good. Now…
ZioByte
  • 830
  • 1
  • 10
  • 22
3
votes
0 answers

Disable repeat keys only for function keys e.g. (fn + f10)

Sometimes function keys e.g. Fn+F10 gets stuck. How do I disable repeat keys only for these type of keys e.g. Fn+any function key)
vib_29
  • 114
  • 5
3
votes
0 answers

setkeycodes: ioctl KDSETKEYCODE: Invalid argument

I'm trying to map Win + Left-Arrow to Home. When I run showkey --scancodes (on console) and press Win + Left-Arrow, I get: 0xe0 0x5b 0xe0 0x4b 0xe0 0xdb 0xe0 0xcb showkey (also at console) tells me that Home has keycode 102. So I try: % sudo…
Tom Hale
  • 28,728
  • 32
  • 139
  • 229
3
votes
2 answers

Merge two usb ports/two keyboards into one

I use two keypads (Koolertron AE-SMKD72 Type A), that I use as one split keyboard. But they are recognized as two separate keyboards, what causes some problems: I use an alternative keyboard layout but have a program running that maps keys back to…
MaxGyver
  • 289
  • 2
  • 8
3
votes
1 answer

Can emacs running under urxvt recognize the Hyper modifier key?

Can emacs running under urxvt be made to recognize Hyper? From what I can tell, it doesn't distinguish hyper+something from just plain unmodified something. urxvt itself does recognize the modifier, I am told. But I cannot work out whether emacs…
Toothrot
  • 3,255
  • 3
  • 24
  • 47
3
votes
1 answer

Keys are not detected in Xorg using xev

I have a new mechanical keyboard and I want to use some custom key build-in (C1, C2, C3, C4, C5). The problem I encounter is that those keys are not detected in Xorg when I run xev. I am able to see them when I run : $ sudo showkey --keycodes …
hg8
  • 1,420
  • 3
  • 16
  • 25
3
votes
1 answer

How to investigate X11 not seeing a key press?

I just installed Debian 9 (Stretch) this morning and I can't get my Meta key working. It used to work completely fine in Debian 8 (Jessie) and I don't remember having any problem. The X server seems not to see the key at all. xev sees nothing at all…
Jean
  • 175
  • 5
3
votes
3 answers

Redragon Asura USB keyboard maps all Ctrl, Alt, Win keys to Shift_L

Status: This is fixed as of Kernel 4.18, see the accepted answer for details. I just started using a Redragon Asura USB Keyboard. The keyboard works at a basic level, but unfortunately all the Ctrl, Alt keys and the Win key are mapped to the left…
Robert Munteanu
  • 900
  • 1
  • 14
  • 31
1
2 3 4 5