ubuntu 16.04 마우스 스크롤 방향 바꾸기

ubuntu 16.04 에 기본으로 깔리는 evdev 에서 마우스 휠 방향을 바꾸는 방법

http://forums.fedoraforum.org/showthread.php?t=298702

1. xinput list 로부터 마우스의 ID 알아냄
2. /usr/share/X11/xorg.conf.d/ 로 가서 Scrolling 설정 검색 :
 xinput list-props {device id} | grep "Scrolling Distance:"
3.  sudo touch /usr/share/X11/xorg.conf.d/20-natural-scrolling.conf 파일을 만들고 다음과 같이 입력:
Section "InputClass"
        Identifier "Natural Scrolling"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Option "VertScrollDelta" "-1"
        Option "HorizScrollDelta" "-1"
        Option "DialDelta" "-1"
EndSection
4. 저장 후 리부트

댓글

이 블로그의 인기 게시물

Confluence 에서 Export PDF 로 내보낼 때 Code Block 에서 한글 깨짐

pandas.read_csv() 에서 왠만하면 컬럼타입을 지정하자

스프링 컨텍스트 설정파일과 URI 경로를 제대로 못찾는 삽질