請你跟我這樣作
找到你/etc/X11 下面的 xorg.conf,ok!到終端機去輸入:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf-backup
sudo gedit /etc/X11/xorg.conf
(先做個備份,再開啟它!)
在gedit中,找到InputDevice部分中Configured Mouse,在EndScetion前增加:
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
如果想使用水平scroll增加:
Option "XAxisMapping" "6 7"若要在firefox裡也有這樣的動作還要打開about:config
Option "YAxisMapping" "4 5"
mousewheel.horizscroll.withcontrolkey.action = 3;
mousewheel.horizscroll.withcontrolkey.numlines = 1;
mousewheel.horizscroll.withcontrolkey.sysnumlines = true;
mousewheel.horizscroll.withnokey.action = 0;
mousewheel.horizscroll.withnokey.numlines = 1;
mousewheel.horizscroll.withnokey.sysnumlines = true;
mousewheel.horizscroll.withshiftkey.action = 1;
mousewheel.horizscroll.withshiftkey.numlines = 1;
mousewheel.horizscroll.withshiftkey.sysnumlines = true;
完成!有人說馬上就可以用!但我覺得X-Window重開會比較好!
沒有留言:
張貼留言