2009년 09월 02일
Nautilus와 Firefox에서 마우스 Left/Right 버튼 사용... Logitech V450 nano
이런 저런 이유로 몇년만에 마우스를 바꾸게 되었다. 그동안은 줄곤 일반 휠 마우스(5버튼)을 사용했는데, 이번에 산 마우스는 Forward/Backward 기능이 가능한 7버튼 휠마우스이다. 이왕 7버튼 마우스를 구입한 김에 Firefox나 Nautilus에서도 기능을 사용 할 수 있으면 좋겠다는 생각이 들어서 오랜만에 삽질을 시작했다.
크게 요점을 말하면, ① /etc/X11/xorg.conf에 마우스 관련 부분을 수정했고, ② imwheel 이라는 프로그램을 설치해서 마우스 버튼을 누르면 수행할 기능키를 할당(mapping) 했다.
① /etc/X11/xorg.conf의 마우스 관련 부분 수정
② imwheel 설치
③ 아래의 내용으로 ~/.imwheelrc 파일 생성, 마우스의 Forward / Backward 버튼 할당

④ Xwindow 실행시 imwheel이 활성화 되도록 /etc/X11/imwheel/startup.conf 파일 수정
⑤ Xwindow를 재시작하면 Nautilus와 Firefox에서 Left/Right 버튼으로 Forward/Backward 기능 사용 가능
Ubuntu 9.04, 마우스는 로지텍 V450 nano를 이용했다.


크게 요점을 말하면, ① /etc/X11/xorg.conf에 마우스 관련 부분을 수정했고, ② imwheel 이라는 프로그램을 설치해서 마우스 버튼을 누르면 수행할 기능키를 할당(mapping) 했다.
① /etc/X11/xorg.conf의 마우스 관련 부분 수정
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
EndSection
② imwheel 설치
sudo apt-get inetsll imwheel
③ 아래의 내용으로 ~/.imwheelrc 파일 생성, 마우스의 Forward / Backward 버튼 할당
".*"※ Left, Right에 해당하는 문구는 imwheel -c 실행 후, Grab Wheel Action 클릭 후, 마우스 버튼을 눌러서 확인
None, Left, Alt_L|Left
None, Right, Alt_L|Right
"(null)"
None, Left, Alt_L|Left
None, Right, Alt_L|Right

④ Xwindow 실행시 imwheel이 활성화 되도록 /etc/X11/imwheel/startup.conf 파일 수정
# Configuration file for setting imwheel startup parameters.
# Set this to "1" to have imwheel start along with your X session.
IMWHEEL_START=1
# Specify the command line parameters to pass to imwheel when it is started
# along with your X session (above). Simply uncomment the bottom line, and
# if necessary replace the default options with your own. A button spec of
# "0 0 0 0 8 9" will grab the thumb buttons of most mice, while skipping over
# the mouse wheel (both the vertical and horizontal axes, whether or not they
# exist on your mouse). Keep in mind that each button number must be separated
# by a space.
#IMWHEEL_PARAMS='-b "0 0 0 0 8 9"'
⑤ Xwindow를 재시작하면 Nautilus와 Firefox에서 Left/Right 버튼으로 Forward/Backward 기능 사용 가능
Ubuntu 9.04, 마우스는 로지텍 V450 nano를 이용했다.


# by | 2009/09/02 01:55 | :: C space :: 컴퓨터 | 트랙백 | 핑백(1) | 덧글(4)
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]
... 기존의 마우스가 사용한 지 4년이 넘어가면서 클릭이 살짝 먹히는(?) 감이 있었는데, Desktop을 구매하고 Battlefield 4 멀티플레이를 시작하면서 이런 점이 거슬리기 시작했 ... more
마우스 버튼 많은거 잘 활용하면 정말 편할듯 해요
하지만 전 언제나 2버튼 마우스 =_=
요즘은 뭔가 지르기만 하네요~ T _T)