Questions tagged [xev]

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.

Filter by
Sorted by
Tagged with
2
votes
1answer
44 views

Determine if Fn + Key can be made to produce keycode if xev provides none

In relation to the comments on this answer, I am curious about the following: If one does not get a keycode output in the xev Event Tester when pressing Fn + Key, are there ways to determine whether ...
1
vote
1answer
55 views

problem binding arrow keys with xbindkeys

I'm trying to bind ctrl+win+p to act as an "UP" arrow key. I'm going to use xbindkeys so first of all I start xbindkeys -k to see the code for this combination. It gives me such an output: set@set001:...
0
votes
0answers
17 views

ctrl x shortcut stops working randomly on 18.04.02

ctrl+x shortcut stops working on ubuntu system-wide, both for cutting files and text on editors, as well as not working to go into exit mode in vim. trying to debug it in xev I can see that ctrl+x ...
0
votes
0answers
48 views

Pop up keeps appearing in Ubuntu 18.04.2 LTS

I have bound my mouse buttons to certain actions (changing music tracks) using xbindkeys. This pop up appears only when vlc is not running and I click one of the mouse buttons.
1
vote
1answer
412 views

Mapping Left/Right side-buttons using xev

I'm trying to configure my mouse side-buttons to go back/forward on Firefox and Ubuntu. When i run xev | grep ', button' I get the same button code for both side-buttons and scroll. So I clicked ...
2
votes
0answers
81 views

binding left + right mouse button click to different action from middle button?

I want to bind a different action (for example, using xbindkeys) to the simultaneous clicking of my left and right mouse buttons than I get by clicking the middle button. Is this possible? I have ...
1
vote
1answer
408 views

How can I bind logitech mx anywhere side scroll button press to raise and lower volume

I have a logitech MX anywhere (on a thinkpad t480s if that matters) and I have tried following guides like this but I can't seem to get it working. I basically want to control volume down and volume ...
0
votes
0answers
50 views

Remap mouse movement to mouse scrolling using xbindkeys

I'd like to remap the mouse movement (left/right/up/down) to scrolling commands (left/right/up/down) similar to this chrome extension. My idea is to remap the mouse movement when pressing the page-...
0
votes
2answers
30 views

Somehow mapped “-” to escape and can't figure out how to map it back

Really stupid question, how would I remap "-" to its default value (and to turn it into an underscore when I press it with shift). Output of key event with xev: KeyRelease event, serial 34, ...
1
vote
1answer
63 views

xdotool Up displaying extra characters

I'm trying to use xdotool to configure touchpad gestures on Ubuntu 18.04 with Gnome. This works fine: xdotool key ctrl+alt+Down However this: xdotool key ctrl+alt+Up does not change workspaces ...
0
votes
1answer
99 views

xev doesn't record keycode of lock screen key

I just got a lenovo ideapad 720s and installed Ubuntu. It has no media control keys (play/pause, next/prev track), so I wanted to remap some keys I don't use including the lock screen key. But when I ...
1
vote
1answer
262 views

AltGr not working on system but correct output in xev (18.04)

I'm using Xubuntu 18.04 and I'm using an Italian keyboard layout. Until 17.10, I had to manually set up the Alt Gr key with the xmodmap command with the following command: xmodmap -e "keycode 108 = ...
1
vote
1answer
131 views

Xubuntu broken/slow mouse scroll

Since I installed Xubuntu onto my laptop, my mouse has been unable to scroll correctly. On xev, it takes around 5 scrolls of the wheel to register one input, while on mousepad and other applications, ...
1
vote
0answers
61 views

Something is holding ctrl-shift-P combo hostage

ctrl-shift-P is used by Sublime Text for command palette. Something is holding the keyboard shortcut hostage in my Ubuntu. I have disabled all the keyboard shortcuts I could possibly find. ctrl-shift-...
2
votes
0answers
704 views

Configuring non wacom drawing tablet

I am a linux user and I am a total newbie when it comes to input devices and drivers. I have recently bought xp-pen star 06 tablet tablet specifactions the tablet works poorly with evdev. The ...
1
vote
1answer
363 views

After upgrading to 17.10 all function keys map to “XF86WakeUp”

I am using a Lenovo Thinkpad E330 and just upgraded to Ubuntu 17.10 using Unity. Before the upgrade there were no problems with my media keys but now they all seem to be mapped to "XF86WakeUp". ...
2
votes
0answers
657 views

Extra mouse button not recognized

I have an ASUS mouse (ROG Gladius 2) but the extra mouse buttons are not recognized as mouse buttons in Ubuntu. With the software from ASUS (while working in Windows), I can assign a keyboard or mouse ...
2
votes
1answer
372 views

How to disable next key (keycode 117) which is constantly being triggered?

In the past few days whenever I type rapidly a ~ symbol continuously pops up in the terminal window. To resolve the issue I tried running xev -event keyboard This told me that the problem is the ...
3
votes
1answer
702 views

Keyboard shortcuts stop working intermittently

edit: As can be seen from the answer, this actually had nothing to do with standby or hibernation, but rather that it correlated with me often closing the app window (which triggered the bug) before ...
1
vote
1answer
88 views

Chinese Keyboard returned different keycode when pressing F1

Since I don't have much data, I'll just keep this in short. So I bought a mechanical keyboard. Everytime I press F1 the window defocuses. F2 works. Pressing F1 in xev: FocusOut event, serial 48, ...
1
vote
3answers
1k views

Trackpoint middle button not recognized by xev

So I just got a thinkpad e570. Even though the middle trackpoint button was recognized and working out of the box in windows as scroll it can't even be seen in any linux distro. xev returns no ...
1
vote
0answers
122 views

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)=...
5
votes
0answers
419 views

How to remap a key that's not captured by xev?

I have a mechanical keyboard (by Duck) that includes a Fn key used with F10 to trigger Win-lock (disables Windows key so it doesn't bother when playing) and N-Key rollover. As a programmer, I don't ...
2
votes
0answers
27 views

System wide rocker gesture for Ubuntu

Is it possible to add system wide rocker gesture for Ubuntu? Rocker gesture is basically a following sequence of events : ButtonPress event: mouse1 ButtonPress event: mouse3 ButtonRelease event: ...
0
votes
1answer
356 views

Cleaning up the output of xev

OS: Openbox session of Lubuntu 14.04 Let's say I run xev and press the Super key, I get a lot of output (>100 lines) and the relevant information is way down the output as seen when I run xev | ...
1
vote
1answer
1k 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 ...
3
votes
1answer
3k 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
356 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 /usr/...
3
votes
0answers
185 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
1answer
2k 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, ...
2
votes
0answers
187 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 ...
10
votes
1answer
5k 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 /home/username/....
12
votes
3answers
15k 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 ...
2
votes
1answer
2k 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 ...
2
votes
2answers
222 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
3k 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
769 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
487 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
20 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
1k 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
9k 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
456 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
1k views

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

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
548 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?