Created
July 12, 2016 12:17
-
-
Save daemin-hwang/1127b6b76d5d23cd4a0c058a40c42a88 to your computer and use it in GitHub Desktop.
리눅스 마우스 속도 조절 스크립트
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| MOUSE_ID=$(xinput | grep "Mouse" | awk '{gsub("id=", "", $9); print $9}') | |
| echo "MOUSE_ID : " $MOUSE_ID | |
| xinput --set-prop ${MOUSE_ID} "Device Accel Constant Deceleration" 2.5 | |
| echo "SET MOUSE SPEED to 2.5 (faster 1 / slower 9)" | |
| ### 시작프로그램에 등록 해서 사용한다. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment