ubuntu 에서 mouse function button 설정하기

in #kr6 years ago (edited)

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

Sort:  

Congratulations @crazyluv! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of comments

Click on any badge to view your own Board of Honor on SteemitBoard.

To support your work, I also upvoted your post!
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!