+ -
当前位置:首页 → 问答吧 → openbox 如何交换左右键

openbox 如何交换左右键

时间:2010-06-21

来源:互联网

x 用 hal 佩吹成热拔插

作者: ch_fb   发布时间: 2010-06-21

交换左右键记得可以通过 xorg.conf来设置,不过现在都不兴用xorg.conf

作者: axlrose   发布时间: 2010-06-21

http://www.linuxsir.org/bbs/post1433861-4.html 在这找到了,果然好用

代码:
function swap_left_mouse() {
 xmodmap -e "pointer = 3 2 1 4 5"
}

function swap_right_mouse() {
 xmodmap -e "pointer = 1 2 3 4 5"
}

作者: axlrose   发布时间: 2010-06-22