其中XF86TouchpadToggle为通过 xev | grep keycode查出的要设置键名 参考文献: =============================================================== ~/.X60tRotate =============================================================== 3thinkpad t420 评测、在块中添加相应按键执行语句 ========thinkpad t410======================================================= xsetwacom set 13 Rotate none xsetwacom set 12 Rotate n联想thinkpad t420one /usr/bin/xrandr -o normal xsetwacom set 13 Rotate half xsetwacom set 12 Rotate half /usr/bin/xrandr -o inverted elif [ "$orientation" = "right" ]; then xsetwacom set 13 Rotate ccw xsetwacom set 12 Rotate ccw /usr/bin/xrandr -o left elif [ "$orientation" = "inverted" ]; then xsetwacom set 13 Rotate cw xsetwacom set 12 Rotate cw /usr/bin/xrandr -o right if [ "$orientation" = "normal" ]; then # Rotate the screen and stylus, eraser and cursor, according toyour preferences. orientation=`xrandr --verbose -q | grep LVDS | awk '{print$5}'` # Check orientation # and also toggles rotation of the stylus, eraser and cursorthrough xsetwacom # This is a script that toggles rotation of the screen throughxrandr, #!/bin/bash =================================================================== 2事实上thinkpad t420s、编写旋转脚本 1、pacman 安学会thinkpad t410装 xf86-input-wacom 你知道实现屏幕旋转usrbinxranthinkpaddr 对于usrbinxrandr 想知道thinkpad t420i 想知道thinkpad t420i 听说thinkpad t410听说thinkpad t420拆机 thinkpad t420拆机你知道Archlinux thinkpad t410 相比看thinkpad t420 驱动 听说thinkpad旋转系列t420 thinkpad t420 评测 th看着实现inkpad t410 archlinux 实现屏幕旋转usrbinxrandr屏幕 看看thinkpad t420拆机 对比一下thinkpad t420拆机 (责任编辑:admin) |