LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2017, 02:38 PM   #1
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,807

Rep: Reputation: 215Reputation: 215Reputation: 215
Command xinput to set Coordinate Transformation Matrix


Make mouse travel shorter for a big screen...

I want to change the ratio of mouse movement to pointer movement on my screen by changing the coordinate transformation matrix for the mouse with the command "xinput set-prop". After I found the id codes for the mouse and the matrix code with xinput I tried the command
Code:
xinput set-prop 10 138 200020001
.

The error messages produced are:
Quote:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 57 ()
Value in failed request: 0x8a
Serial number of failed request: 19
Current serial number in output stream: 20
Neither my knowledge nor the Internet tells me what is wrong with this command. My linux is openSUSE 42.2 on a Lenovo T500 with Intel graphics.

Last edited by thorkelljarl; 04-23-2017 at 02:44 PM.
 
Old 04-24-2017, 09:46 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Separate the individual 9 elements of the matrix with spaces. Otherwise it treats it as one large (out of bounds) number pertaining only to the 1st element.

2 0 0 0 2 0 0 0 1

Last edited by hydrurga; 04-24-2017 at 09:48 AM. Reason: No need for the commas
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
transformation between libvirt xml and qemu native command screwzm Linux - Virtualization and Cloud 0 01-19-2013 10:44 AM
Fedora 16: Trying to execute an xinput command at boot up before login. Cmd works in terminal as su Ron Pierce Linux - Newbie 1 04-24-2012 09:41 PM
Save "xinput set-int-prop" properties to xorg.conf or elsewhere? slacky Linux - Hardware 3 05-20-2009 11:44 AM
Transformation Matrix Senatla Programming 1 03-26-2007 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration