crazyluv avatar

ubuntu 에서 mouse function button 설정하기

crazyluv

Published: 22 May 2018 › Updated: 22 May 2018ubuntu 에서 mouse function button 설정하기

ubuntu 에서 mouse function button 설정하기

imweel을 이용한 ubuntu 휠 스크롤 속도 변경 및 function button 설정 하기

mouse의 기능 버튼 설정 방법으로 xbindkeys를 사용하라는 예제들이 많은데 개인적으로 xbindkeys보다 imwheel이 더 설정하기가 쉽고 wheel 의 스크롤속도 조절도 가능해서 imwheel을 추천합니다.

그리고 xbindkeys와 imwheel 모두 input 장치의 bind를 제어하는 프로그램이라 두 프로그램 간에 충돌로 제어가 정상작동 하지 않는 상황이 발생하기 때문에 동시 사용시 문제가 발생하니 참고하세요~

imwheel 설치하기

$ sudo apt install imwheel

imwheel 실행하기

$ imwheel

imwheel 자동실행 설정

$ sudo vi /etc/X11/imwheel/startup.conf

IMWHEEL_START=0  1  .

imwheel 설정 변경

$ sudo vi ~/.imwheelrc

# windows regex .* is all windows
".*"

# 1. key modifiers input
# 2. mouse action Input (Up, Down, Left, Right, Thumb)
# 3. key action output
# 4. optional [output repetitions [, delay before keyup event [, delay before next key press event]]]
None, Up, Button4, 1
None, Down, Button5, 1
None, Thumb1, Alt_L|Left
None, Thumb2, Alt_L|Right

설정 내용 적용

$ imwheel -k

참고자료

How to install imwheel in ubuntu 18.04
Manpage of IMWheel

Leave ubuntu 에서 mouse function button 설정하기 to:

Written by

아주 오래된 개발자 사람 입니다.

Read more #kr posts


Best Posts From crazyluv

We have not curated any of crazyluv's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From crazyluv