我最近有一台带硬盘加速计的非触摸屏惠普笔记本电脑。将其升级到 Debian 测试后,我注意到每当我将笔记本电脑向上倾斜超过 +45 度时,屏幕就会上下颠倒。当我将笔记本电脑倾斜 -45 度时,情况正好相反。澄清一下,我正对着我的笔记本电脑,屏幕对着我,键盘与地面平行。每当我顺时针或逆时针倾斜笔记本电脑时,屏幕也会旋转。
是否有可以编辑以更改屏幕旋转方向的文件?
中的加速度计/proc/bus/input/devices显示:
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ST LIS3LV02DL Accelerometer"
P: Phys=lis3lv02d/input0
S: Sysfs=/devices/platform/lis3lv02d/input/input7
U: Uniq=
H: Handlers=event6 js0
B: PROP=0
B: EV=9
B: ABS=7
Run Code Online (Sandbox Code Playgroud)
编辑:
我发现这watch -n 1 'cat /sys/devices/platform/lis3lv02d/position'类似于使用以下命令找到的内容。除了它只显示坐标,如(18,18,1098).
evtest /dev/input/event6 显示这个:
william@wksp0:~/Downloads$ sudo evtest /dev/input/event6
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
Input device name: "ST LIS3LV02DL Accelerometer"
Supported events:
Event type 0 (EV_SYN) …Run Code Online (Sandbox Code Playgroud) 在我的 Debian 机器上将 Gnome 更新到 3.18 后,与我之前的图标相比,所有图标都变得无法接受。是否需要编辑配置文件来缩小图标大小?我尝试下面这个指南,编辑都96px来48px和136px到68px在/usr/share/gnome-shell/theme/gnome-classic.css。重启后,图标还是一样。