Questions tagged [keycodes]

22 questions
16
votes
4 answers

How do I fix F10, F11 and F12?

What software are related to the Keyboard? or the Keyboard configuration? Problem It's local, only at my account. It doesn't help If I try the reassign the keys they still won't work. Info My laptop. If I type xev in a terminal I notice that the key…
Alvar
  • 17,038
13
votes
1 answer

How to find keycodes for Fn + keys?

I'm trying to find out the keycode for Fn+← keypress (left arrow). Xev outputs FocusOut event, serial 36, synthetic NO, window 0x3c00001,    mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 36, synthetic NO, window 0x3c00001,    mode…
BudwiseЯ
  • 265
  • 1
  • 2
  • 11
7
votes
3 answers

How do I correct this mismapped stylus button?

I'm running Kubuntu 15.10 on an HP Spectre x360, which has a non-Wacom active digitizer built into the display. I'm using a two-button stylus with this, but the second button doesn't work. I couldn't get xinput to show any state change when the…
8675Thr
  • 81
6
votes
1 answer

Get keyboard scancodes in Ubuntu 13.10

I'm trying to find out the scancodes for a set of foot pedals so that I can rebind them to more useful keys. In older versions of Ubuntu I was able to do this using /lib/udev/keymap as discussed here, but the program seems to no longer exist!…
dshepherd
  • 358
5
votes
1 answer

atkbd.c spamming the logs. How to get rid? what is this?

On my Vostro 1000 notebook the following messages spam my dmesg: [18678.728936] atkbd.c: Unknown key released (translated set 2, code 0x8d on isa0060/serio0). [18678.728941] atkbd.c: Use 'setkeycodes e00d ' to make it known. [18679.831109]…
turbo
  • 4,712
4
votes
2 answers

setkeycodes does not change keycode

I have a fresh install of 16.04 on a new Levono Ideapad 500S. I've been trying to make the brightness keys work and have finally managed to hook up the brightness up key to work as expected. However, I need to change the keycode of my brightness…
3
votes
1 answer

Get key name from keycode

I am writing a shell script that uses xinput, and I would like to get a human-readable description of what the user has typed using the keycode from xinput. For example, A generates 38. Ctrl is 37. How can I get those key names from the codes?
Nonny Moose
  • 2,315
3
votes
0 answers

Multiple keycodes not working at the same time

I'm using xubuntu 14.04. I'm having a problem when pressing some keybinds (specifically with some keycodes). Thus, show you the result of xev when pressing first Alt_R and then Alt_L. KeyPress event, serial 37, synthetic NO, window 0x1e00001, …
silgon
  • 320
3
votes
2 answers

Bind command lines to keys

Is there a way to make this command line to activate every time i press a certain button? xdotool key XF86MonBrightnessDown I mean how can I bind it to a key? Also, which one of the keycodes are important and need to be used when binding? Scancode…
3
votes
0 answers

`evtest` does not report scancode for TPPS/2 Elan TrackPoint on ThinkPad X1 C6

I am trying to identify scancodes for the three buttons below the space bar (above the trackpad) on my ThinkPad X1C6 using evtest as well as evemu-record. The buttons are working fine but no scancodes are reported. Output: Input driver version is…
Lungten
  • 31
2
votes
0 answers

How to convert keycodes to key?

It's easy to get the keycode of a given key (showkey,xev etc) but how can one convert this keycode back to a key, for different keyboard layouts? (key->keycode, and back) For example: keycode(MetaKey)=125 <=> key(125)=MetaKey
2
votes
1 answer

Ubuntu 16.04.01 LTS: How to show scancodes?

I want to show my scancodes, because Ubuntu doesn't map my keyboard correctly. (Multiple keys (Alt, Alt Gr and Strg) have the same keycode and act like Caps Lock). Windows 10 maps my keyboard correctly... showkey --scancodes and sudo…
2
votes
1 answer

22.04 Airplane mode activated whenever lid closes/opens, screen switches orientation, or tablet mode is activate/deactivated

I have a 2022 HP 14" Spectre x360, which can flip into tablet mode and has an accelerometer to switch the screen orientation. However, when I installed Ubuntu 22.04 on it, I found that switching it in or out of tablet mode, switching the orientation…
heduncook
  • 45
  • 5
1
vote
0 answers

Explain the internal mechanism of the "Keyboard Layout Options" from the aspect of the remapping of scancode, keycode, or keysym

I would like you to explain the internal mechanism of the "Keyboard Layout Options" from the aspect of the remapping of scancode, keycode, or keysym. I am talking about the GUI "Keyboard Layout Options" control panel. I am particularly interested…
UB89BVHZG
  • 127
1
vote
1 answer

Laptop Fn key code for bindsym in i3wm

I am using i3wm with ubuntu 20.04. I would like to Fn+Left/Right work as End/Home like in my previous laptop. I know how to make bindsyn in i3wm config but I cannot find Fn code. I used xev but it show nothing after click Fn button. On my laptop…
1
2