You are not logged in.

#1 2011-09-03 15:20:43

jesseFrey
Member
From: Boulder CO
Registered: 2011-07-22
Posts: 24

Converting xinput settings to xorg.conf

I have a ThinkPad x220 which has a buttonless touchpad. I installed xf86-input-synaptics-clickpad 1.4.1-3 from AUR which makes both buttons work but I don't like some of the defaults that it sets. Below shows the properties that are set after reboot.

$ xinput list-props 'SynPS/2 Synaptics TouchPad'
Device 'SynPS/2 Synaptics TouchPad':
	Device Enabled (132):	1
	Coordinate Transformation Matrix (134):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (251):	1
	Device Accel Constant Deceleration (252):	2.500000
	Device Accel Adaptive Deceleration (253):	1.000000
	Device Accel Velocity Scaling (254):	12.500000
	Synaptics Edges (255):	1752, 5192, 1620, 3840
	Synaptics Finger (256):	24, 29, 255
	Synaptics Tap Time (257):	180
	Synaptics Tap Move (258):	221
	Synaptics Tap Durations (259):	180, 180, 100
	Synaptics Tap FastTap (260):	0
	Synaptics Middle Button Timeout (261):	75
	Synaptics Two-Finger Pressure (262):	280
	Synaptics Two-Finger Width (263):	6
	Synaptics Scrolling Distance (264):	100, 100
	Synaptics Edge Scrolling (265):	0, 0, 0
	Synaptics Two-Finger Scrolling (266):	1, 0
	Synaptics Move Speed (267):	1.000000, 1.750000, 0.039809, 40.000000
	Synaptics Edge Motion Pressure (268):	29, 159
	Synaptics Edge Motion Speed (269):	1, 401
	Synaptics Edge Motion Always (270):	0
	Synaptics Off (271):	0
	Synaptics Locked Drags (272):	0
	Synaptics Locked Drags Timeout (273):	5000
	Synaptics Tap Action (274):	0, 0, 0, 0, 1, 2, 3
	Synaptics Click Action (275):	1, 3, 2
	Synaptics Circular Scrolling (276):	0
	Synaptics Circular Scrolling Distance (277):	0.100000
	Synaptics Circular Scrolling Trigger (278):	0
	Synaptics Circular Pad (279):	0
	Synaptics Palm Detection (280):	1
	Synaptics Palm Dimensions (281):	9, 199
	Synaptics Coasting Speed (282):	20.000000, 50.000000
	Synaptics Pressure Motion (283):	29, 159
	Synaptics Pressure Motion Factor (284):	1.000000, 1.000000
	Synaptics Grab Event Device (285):	1
	Synaptics Gestures (286):	0
	Synaptics Capabilities (287):	1, 0, 0, 1, 1, 1, 1
	Synaptics Pad Resolution (288):	129, 75
	Synaptics Area (289):	0, 0, 0, 0
	Synaptics LED (290):	1
	Synaptics LED Status (291):	0
	Synaptics LED Dobule Tap (292):	1
	Synaptics Noise Cancellation (293):	25, 25

I would like to set 'Synaptics LED Dobule Tap' to zero because I don't have a LED and I do have a keyboard key (which is working just fine). I would also like to set the area because the defaults assumes that the button area is too big. I can set the paramiters with xinput just fine but then they are not remembered after reboot. I know that I could write a script that gets run at the appropriate time to set things but that seems unclean so I made a file called /etc/X11/xorg.conf.d/20-clickpad.conf with the folowing contents:

Section "InputClass"
	Identifier	"Touchpad Settings"
	MatchProduct	"SynPS/2 Synaptics TouchPad"
	MatchDevicePath	"/dev/input/event*"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    Option "TapAndDragGesture" "off"
    Option "PalmDetect" "on"
    Option "LEDDobuleTap" "false"
    Option "BottomEdge" "4540"
EndSection

the only problem is that it doesn't work. Is there a way to set parameters with xorg.conf that you can set with xinput? it seems like I should be able to.
thanks

[Edit] after reading the man page and fixing my file I was able to fix the area issue but LEDDoubleTap is still on

Last edited by jesseFrey (2011-09-03 15:43:25)

Offline

#2 2011-09-03 16:29:39

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Converting xinput settings to xorg.conf

moving to Laptop Issues


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB