Questions tagged [xinput]

The tag has no usage guidance.

94 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8 votes
1 answer
2k views

How do I get xinputrc to work for login screen?

I have the following lines in /etc/X11/xinit/xinputrc to tame my mouse sensitivity: xinput --set-prop 9 "Device Accel Constant Deceleration" 4.5 xinput --set-prop 9 "Device Accel Velocity Scaling" 1 ...
Leigh Whiting's user avatar
7 votes
1 answer
3k views

syndaemon won't disable touchpad while typing

I am trying to use syndaemon to disable my touchpad while I type. I know that the GUI for this doesn't work for many people but all the posts I've seen online suggest that using syndaemon from the ...
Jessica Hekman's user avatar
5 votes
0 answers
909 views

wireless mouse, very strange behavior

After the most recent apt full-upgrade that included a kernel update, I have now twice encountered a rather strange problem, and more importantly I cannot for the life of me figure out how and why the ...
NetIceCat's user avatar
  • 2,274
5 votes
1 answer
662 views

How can I find and edit the input classes reported by "xinput list --long"

I found these configurations and "classes" using the xinput utility on Linux Mint. Hours of documentation-crawling and googling yielded no information about them. Can anyone tell me what they are, ...
Jared's user avatar
  • 51
4 votes
0 answers
658 views

How to map a sequence of keys to <dead_greek>?

I have mapped Insert to Multi_key (also known as Compose) so I can input ä or µ. I've used xmodmap -e 'keycode 118 = Multi_key' in my wm init script. Now, checking /usr/share/X11/locale/en_US.UTF-8/...
Zeta.Investigator's user avatar
4 votes
1 answer
373 views

Touchpad buttons do not release after press (Debian Gnome and others)

I use a Sony Vaio Tap 11 (Intel based tablet) with Debian Gnome, but experience the same issue under Ubuntu, Arch, Fedora etc. . This tablet has a radio keyboard with touchpad and two buttons ...
ChrisK's user avatar
  • 41
4 votes
0 answers
1k views

Hide individual pointer cursor (because of flicker) in KDE in dual pointer setup with touchscreen

Under Kubuntu 17.04, I'm trying to obtain a dual pointer setup where one is attached to my mouse as usual and the other is attached to the touchscreen that otherwise works correctly while attached to ...
Ayberk Özgür's user avatar
4 votes
1 answer
863 views

TrackPoint problems with latest libinput, Xorg updates (need evdev props)

I'm running Arch Linux. On a recent update of Xorg, evdev was replaced by libinput (by default). When this happened, I lost the xinput properties I use for making my TrackPoint behave properly. ...
MountainX's user avatar
  • 17.9k
4 votes
0 answers
836 views

manipulate multiple windows simultaneously

this is probably a long shot but I've been pondering it for a while. I realize that the actual use-cases of this sort of interaction are quite sparse. The main uses I can think of would be moving ...
erp's user avatar
  • 697
3 votes
0 answers
253 views

What are 'default' props in xinput/libinput for?

I wanted to adjust vertical (two-finger) scrolling speed via xinput because my DE's settings utility does not expose that setting. So, I ran xinput --list-props to fetch a list of available settings ...
InfiniteLoop's user avatar
3 votes
0 answers
1k views

Cannot scroll while moving mouse in Ubuntu VirtualBox guest

Applications in Ubuntu, such as Chromium or the GNOME Terminal, are not responsive to mouse wheel scroll events when moving the mouse cursor at the same time. I am running Ubuntu 18.04.6 LTS as guest ...
Bonilla's user avatar
  • 131
3 votes
0 answers
79 views

Why does my touchpad stop working when I plug in my (normal, non-USB) headphones?

It's the darnedest thing. And only started happening within the last two days. Whenever I plug in my 3.5mm AKG headphones into the appropriate spot on my Acer Chromebook 15 CB3-532 running Ubuntu 18, ...
poutingcavity's user avatar
3 votes
0 answers
710 views

Can I assign two mice to two windows or have two pointers?

I figured out how to put two pointers at the same time and control them with two mice (using xinput), but can I have them both assigned to a window? Since I can only have one window in focus I can't ...
Fran's user avatar
  • 31
3 votes
1 answer
164 views

touch devices across 2 graphic cards

I'm not sure if the following issue is a bug or just a limitation of the xinput usage. The setup is the following. Two nvidia graphic cards, configured on xscreen0 are 4 touchscreens and on xscreen1 ...
Ziazis's user avatar
  • 294
3 votes
0 answers
1k views

xinput shows two trackpoints instead of one (one is libinput)

I have been using a script to configure trackpoint for ages. It worked on my current Lenovo x230 laptop with Gentoo but stopped working probably due to some software update. #!/bin/bash trackpoint="...
Pavel Šimerda's user avatar
3 votes
1 answer
2k views

Prevent Multiple Mouse Middle Click Events

For some weird reason, my mouse is sending multiple middle click events when I do a middle click at times. Happens once in a while - but not always. I'm fairly certain its a hardware issue. Its a ...
Binny V A's user avatar
  • 131
3 votes
1 answer
467 views

Connecting to multiple XServers

I've got a simple xserver setup: Ubuntu workstation running xserver, to which a remote Beaglebone computer running linuxcnc is connecting. So I'm using the mouse, keyboard and screen of the ...
Brecht's user avatar
  • 33
3 votes
0 answers
467 views

Tablet evdev button event calibration

I have a tablet (Genius G-Pen 340 or UC-LOGIC Tablet WP4030U), it's detected and initialized as 'evdev tablet catchall'. Problem is that button event 1, simulated on axis 2, is triggered in very ...
zhur's user avatar
  • 133
2 votes
0 answers
390 views

udev inside lxc container

I am running a privileged Debian LXC Container on Proxmox, and then running Docker inside that. I am attempting to run an Xserver in a Docker container with Sunshine to stream to a Moonlight client. I ...
Dennis George's user avatar
2 votes
0 answers
168 views

Xorg.conf options not staying

I am trying to enable tap to click by default on my trackpad. The device name is "bcm5974". xinput --set-prop "bcm5974" "libinput Tapping Enabled" "1" works a ...
dividabledove's user avatar
2 votes
0 answers
92 views

Inputing accented letters in Qt applications on Cygwin

I am a native Portuguese speaker, and I am having problems when typing accented characters in any Qt application running on Cygwin. Almost always, the result on the screen for any accented letter I ...
Paulo1205's user avatar
  • 183
2 votes
0 answers
570 views

How to enable extra buttons on trackball?

On FreeBSD xev only recognizes clicks from the first 9 buttons from the Elecom Huge trackball. On Arch Linux clicks from all the 12 buttons are recognized. As per recommendation from libinput ...
kolumatani's user avatar
2 votes
0 answers
407 views

Unable to send keypress to Xvfb display using XTestFakeKeyEvent in C

Using this short snipped of code I am able to capture events from the keyboard (/dev/input/event1) and print them properly. However, sending them to the Xvfb display using XTestFakeKeyEvent does not ...
Az ayd's user avatar
  • 21
2 votes
0 answers
368 views

Locking Mouse to a single screen

I want to lock the mouse to a single monitor in a multi-monitor setup. I tried the following: MOUSE=`grep -i 'optical mouse' <(xinput --list --name-only)` MONITOR=`awk '/HDMI.* con/ {print $1}' &...
Don Question's user avatar
2 votes
0 answers
160 views

Notifications about X input device changes

I am developing an applet for Cinnamon which lets me enable/disable the touchscreen of my laptop. This also shows the current status of the touchscreen. Currently I am using synchronous calls to the ...
aef's user avatar
  • 1,047
2 votes
0 answers
964 views

Permanently disable keyboard

I have a broken keyboard, some of the keys get stuck down. It can not be easily repaired, or removed. I have used xinput to disable the built in keyboard of my laptop, because it sometimes sends a ...
ctrl-alt-delor's user avatar
2 votes
0 answers
664 views

Can I rotate horizontal and vertical two-finger touchpad scrolling?

I have a simple script set up to rotate my screen left or right (using xrandr), and it also rotates the touchpad on my laptop. That way, physically rotating the laptop lets the touchpad work ...
Stephen S's user avatar
  • 804
2 votes
1 answer
312 views

ELAN1000 and FreeBSD11-RELEASE

I want to use FreeBSD as Desktop on my ASUS laptop, but I can't use its touchpad... I try multiple things with synaptics driver, use xf86-input-synaptics from ports (when I use the pkg one, the wifi ...
DarkCenobyte's user avatar
2 votes
0 answers
616 views

Mouse auto-scroll (VirtualBox)

Problem: I am looking to add auto-scrolling--the function of panning a window after pressing the middle-mouse button--to my environment and all user applications. The best solution I've found is ...
Polite Master's user avatar
2 votes
1 answer
1k views

How to determine optimal settings for a Synaptic touchpad?

I'm using Q4OS on a netbook and so far the experience has been rather pleasant, except that the touchpad is not working anywhere near close to optimal. Experiences with Ubuntu/Lubuntu, Manjaro ...
ylluminate's user avatar
2 votes
0 answers
90 views

Can I configure a touchpad to act as modifier keys in some circumstances?

I have Debian and use Emacs a lot. I have an idea which could help me in using modifier keys. Currently I just switch the touchpad off when using Emacs, with this command: synclient TouchpadOff=1 ...
user149129's user avatar
2 votes
0 answers
3k views

Calibrating pen and touch via xinput

Introduction This is a follow up from my previous question here. When I connect my tablet to a projector, due to change of resolution the pen is not calibrated any more. I found this wiki post from ...
K1.'s user avatar
  • 225
2 votes
1 answer
391 views

X, mouse, and multihead: mouse only reaches part of second display

I'm running my laptop with an external monitor. The laptop's built in monitor and the external monitor have wildly different DPI, so I scale the external monitor to match the DPI of the internal one: ...
Jonathan Gilligan's user avatar
2 votes
0 answers
347 views

xim not working in Chromium

For a long while now, I have been happily using the xim IME (so that I may use XCompose freely). And I have never had an issue (though some applications which do not sanely handle unicode have crashed ...
HalosGhost's user avatar
  • 4,780
2 votes
2 answers
2k views

Two mice pointers (xinput stuff) issue (logs me off)

I'm trying to use two mice (mouse pointers) on my laptop (Linux Mint 16) so I've been following some tutorials that I found: the idea is to work with the xinput command. I have two mice (Touchpad and ...
Salah's user avatar
  • 121
1 vote
0 answers
38 views

Inverting the scrolling of only one mouse

Hi I have two mice connected to my machine. One is a standard mouse, the other is a touchpad which, as a device, is split into the touchpad itself and the mouse part. I would like to set the inverted ...
Siderius's user avatar
1 vote
0 answers
407 views

xserver not using hotplug keyboard and mouse

I'm using a Linux desktop. My own customized distro, using debian packages, but no systemd stuff. The problem is if I re-plug the USB keyboard or mouse, the X will not respond to them anymore. unless ...
neoedmund's user avatar
  • 147
1 vote
0 answers
253 views

Mouse sending spurious x11 event (scroll right button)

I have an annoying problem where my mouse seems to somewhat randomly emit a 'Scroll right' event (button press 7). I am running Debian Buster on my main desktop at the moment. I have not made any ...
nomen's user avatar
  • 121
1 vote
0 answers
613 views

Xinput/libinput button remapping with Trackball scrolling

So I'm using my trackball and I have configured it with trackball scrolling. What I now want to do is to remap the original scroll wheel to be used for some different function. The Problem is that ...
ominoustracker's user avatar
1 vote
2 answers
2k views

xorg keyboard config not working (us altgr-intl no deadkeys)

I'm trying to get my keyboard to use the us layout with variation altr-intl and no deadkeys. Somehow my xorg-keyboard-config does not take effect. I looked up the config here arch-wiki but there seems ...
Elfie's user avatar
  • 111
1 vote
1 answer
1k views

Thinkpad T460 - how do I disable the touchpad?

I recently got a Thinkpad T460 and am running Ubuntu 20.04 on it. I don't use a DE, just plain old i3. I'm like to keep my hands on the keyboard. That's why I like the trackpoint. However, I keep ...
Sören's user avatar
  • 111
1 vote
1 answer
549 views

Is it possible to combine two pointer xinput devices into a single device?

I'm using VirtualBox and it comes with a "Mouse Integration" feature, which creates a 2nd pointer input called VirtualBox mouse integration aside from the existing pointer input. $ xinput ⎡ ...
James's user avatar
  • 11
1 vote
0 answers
223 views

Why does setxkbmap on a single device also change other devices?

I am running Ubuntu on a Thinkpad laptop with an external keyboard linked up. The laptop keyboard has a GB layout and the external has a US layout. First, I output a list of the connected devices (I'...
TSGM's user avatar
  • 213
1 vote
2 answers
1k views

List only pointers with xinput

I'm trying to write a GUI tool to restrict a pointer to a specific monitor (e.g. a touchscreen pointer should map onto its own screen and not across the union of all monitors). The tool is in Python (...
preferred_anon's user avatar
1 vote
0 answers
88 views

Ubuntu ignoring mice

I have this issue in Ubuntu 20.04 (running under KDE desktop). Whenever I plug a mouse to my computer, it does detect it, it appears on my xinput list, but it never works. OS keeps ignoring it. My ...
Pascual Esteban's user avatar
1 vote
0 answers
1k views

How to configure Xorg to handle a touchscreen as mouse

We have a system running Linux on an industrial PC. It is based on Yocto Poky 2.5. Kernel is 4.15.30. Recently the manufacturer changed the touchscreen controller (USB based). The new one (egalax) ...
Elder Costa's user avatar
1 vote
0 answers
509 views

How to map a single touchscreen across multiple displays?

I have a project that will have a single touchscreen spanning across multiple displays. The displays are not butted against each other, there's some space between them, but the touch sensor spans ...
Ed K's user avatar
  • 13
1 vote
0 answers
84 views

cannot force linux autostart script file

I need to force my KDE Plasma installed on ubuntu 18.04 to run the following script on startup: xinput --map-to-output "Wacom HID 48DE Finger touch" eDP-1-1 xinput --map-to-output "Wacom HID 48DE Pen ...
user383244's user avatar
1 vote
0 answers
109 views

How to set separate X and Y deceleration in xinput?

I use a cheap smaller brand drawing tablet, and it works nearly fine in Gnome (aside from the pressure), but it isn't usable in KDE. The reason for this is that KDE moves the cursor based on the ...
fakedeltatime's user avatar
1 vote
0 answers
72 views

confusions on xinput query-state outputs

When I run xinput query-state on something such as a power button, it returns 247 keys. Shouldn't it just be a single button? I read something online about acpi that explains this, but I am not sure I ...
SourceEngine's user avatar