Xev is a program that creates an x window, records any input from the x server within that window and then displays it in the terminal. It is an important tool used for debugging purposes and for deciphering the misconfiguation of input devices such as keyboards.

learn more… | top users | synonyms

1
vote
1answer
20 views

How to debug keyboard shortcuts not working?

I'm on XUbuntu 15.10. I noticed that some keyboard shortcuts don't reach my application (Sublime Text). Ctrl+Alt+p is not visible by the application, while for example Ctrl+Alt+i is recognised ...
0
votes
0answers
11 views

How can I access events from all buttons on Logitech MXMaster mouse?

I appreciate that there have been questions on this theme over the years but they haven't helped me. I recently purchased an MXMaster mouse, knowing that I would have to work to program it for my ...
0
votes
0answers
12 views

ubuntu lenovo twist super_l tablet button keydown not working correcty

I have a Lenovo twist running Ubuntu 15.04 and i have remapped the super_L key on the monitor to control_l using xmodmap. but it's not working properly. when i look at it in xev i see that the ...
9
votes
1answer
110 views

Meaning of the output of “xev”

I need some clarification: When I start xev in a terminal, and use Super, I get the following output. What is the meaning of this? KeymapNotify event, serial 36, synthetic NO, window 0x0, keys: ...
1
vote
0answers
36 views

xev Alt key change, but Alt key doesn't work

I want to chage special key alt, crtl, hanja(in the multy language) because I Used ibus, I try to change my keymap by Xkb not xmap. after searching on internet I just to exchange my keycode on ...
3
votes
0answers
96 views

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, ...
1
vote
0answers
445 views

Enabling Logitech G400 mouse DPI buttons

I am trying to use a Logitech G400 Mouse on a PC with Ubuntu 14.04. However, I can't make Ubuntu recognise two of its buttons (DPI+ and DPI-). How can I make these buttons recognised? Apparently, ...
0
votes
0answers
153 views

Special buttons on Lenovo X200 Tablet not recognized by xev

My Lenovo X200 Tablet has four buttons just below the display (flip, rotate, hold, full) which should map to keycode 162 = XF86LaunchA keycode 161 = XF86LaunchB keycode 149 = XF86LaunchC according ...
1
vote
0answers
94 views

Can I make a script to prevent mouse bounce clicks?

Recently my mouse has started bounce clicking, single clicks act as double and even tipple clicks most if the time. Holding left click tends to spam click and trying to do anything has become ...
8
votes
1answer
2k views

Some keys are not detected in my keyboard (multimedia keys?) by either xev or xbindkeys or keytouch: how to detect them?

It is one more attempt to get Fn keys to volume up/down, brightness, etc. working. Those controls are simply not working in my non-branded ultrabook. I want to detect them to modify ...
3
votes
3answers
6k views

Remap side touch button on Microsoft Sculpt Comfort Mouse

I recently purchased a Microsoft Sculpt Comfort Mouse. It uses Bluetooth to connect to my laptop and all regular mouse buttons work perfect under both Linux and Windows 7. What's different about this ...
1
vote
1answer
563 views

Trying to remap PrtSc key in laptop, no keycode

I'm trying to remap PrtSc key to Insert (to use it in vim), with /usr/bin/xmodmap -e "keycode XXX = Insert" for it, I need to figure out what keycode for PrtSc is. I'm doing xev -event keyboard and ...
1
vote
2answers
131 views

How can I identify which device/keycode is being used?

I am trying to reassign the functions on the buttons of my Logitech G700 mouse. Using xinput --list, I see that this counts as two devices (four if you include the wired/wireless differences). 48 ...
1
vote
2answers
1k views

How can I set a certain keycode to a key and bind it to the right action?

I have a laptop with Swedish keyboard layout, everything works well with the keyboard. Due to injuries I am using an external ergonomic USB keyboard, this is where I am experiencing difficulties. The ...
0
votes
1answer
231 views

back/forward buttons don't show up in xev (pcmanfm doesn't work)

xinput test 9 results in the buttons being identified as 8 and 9. However, the results in xev are the following: LeaveNotify event, serial 33, synthetic NO, window 0x2e00001, root 0xa2, subw ...
2
votes
1answer
375 views

HP Pavilion G6 numpad not working in Ubuntu 13.04

I have just done a fresh install of Ubuntu 13.04 on a HP Pavilion G6 and having a little bit of difficulty getting Ubuntu to recognise the numpad. So far I have tried running numlockx on with no luck ...
0
votes
0answers
14 views

Fn function on Das Keyboard Model S doesn't work [duplicate]

I tried to test Fn with xev — pressing it or any combination like Fn + F1 for Mute doesn't show anything in output. What can I do?
0
votes
1answer
645 views

Tilt of laptop causing “Unknown key pressed” syslog entries

While trying to figure out another crash on a new HP Probook 4340s, Ubuntu 12.04, I noticed my syslog was getting continuously spammed by this: Jan 14 06:50:02 localhost kernel: [ 1070.536686] atkbd ...
5
votes
0answers
6k views

How to fix an error relating to no keyboard input accepted in gnome desktop, though keycode shows scancodes? [closed]

Running Ubuntu 11.04 x86 guest under VirtualBox 4.2.6 in a Win7 X64 host. Bear with me... this is a strange one. Once booted into Ubuntu nothing inside the Ubuntu guest seems to recognize keyboard ...
2
votes
1answer
368 views

Fixing Two key events on single key press by xmodmap

I'm using a Dell Latitude D620. Whenever I press the space key, the down arrow key is also triggered to perform its action. Here is the log: KeyPress event, serial 30, synthetic NO, window 0x3200001, ...
2
votes
0answers
819 views

Volume control slider isn't working on Sony Vaio VGN CS170F

I have just installed Ubuntu 12.04, I'm taking the big step, the problem is that I am new with Linux systems and I am really having a hard time getting it work with all the options of my Vaio machine. ...
0
votes
1answer
427 views

If a key press doesn't trigger anything in xev, is it still possible to use it for a key binding?

I'd like to register keypresses that aren't visible on xev. These are basically "special" keys on my keyboard. If the event does show up on xev, is it possible to get at?