til icon indicating copy to clipboard operation
til copied to clipboard

Ubuntu 20.04 마우스 가속 설정

Open raycon opened this issue 3 years ago • 0 comments

$ xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Logitech MX Master 3                    	id=11	[slave  pointer  (2)]
...

xinput 명령어로 디바이스 id 확인 (여기서는 11)

list-props 옵션으로 속성 확인

$ xinput list-props 11
Device 'Logitech MX Master 3':
	Device Enabled (155):	1
	Coordinate Transformation Matrix (157):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (289):	0
	libinput Natural Scrolling Enabled Default (290):	0
	libinput Scroll Methods Available (291):	0, 0, 1
	libinput Scroll Method Enabled (292):	0, 0, 0
	libinput Scroll Method Enabled Default (293):	0, 0, 0
	libinput Button Scrolling Button (294):	2
	libinput Button Scrolling Button Default (295):	2
	libinput Middle Emulation Enabled (296):	0
	libinput Middle Emulation Enabled Default (297):	0
	libinput Accel Speed (298):	-0.088235
	libinput Accel Speed Default (299):	0.000000
	libinput Accel Profiles Available (300):	1, 1
	libinput Accel Profile Enabled (301):	1, 0
	libinput Accel Profile Enabled Default (302):	1, 0
	libinput Left Handed Enabled (303):	0
	libinput Left Handed Enabled Default (304):	0
	libinput Send Events Modes Available (274):	1, 0
	libinput Send Events Mode Enabled (275):	0, 0
	libinput Send Events Mode Enabled Default (276):	0, 0
	Device Node (277):	"/dev/input/event19"
	Device Product ID (278):	1133, 16514
	libinput Drag Lock Buttons (305):	<no items>
	libinput Horizontal Scroll Enabled (306):	1

Accel Speed (298) 값을 조절해서 가속 을 설정

$ xinput set-prop 11 298 0.25

0.25가 적당한 것 같아서 설정함

메뉴 > 기본설정 > 시작프로그램에 xinput set-prop 11 298 0.25 커맨드를 등록해서 재부팅시에도 적용되도록 함

메뉴 > 기능 개선 > 키보드와 마우스 > 마우스 > 가속 프로파일을 변경해도 마우스 동작이 바뀐다. 하지만, 이 값을 바꿔도 Accel Speed 값은 그대로다. default로 놓고 쓰는중.

raycon avatar Jul 01 '21 02:07 raycon