在 Ubuntu 17.04 中,“显示”选项卡中有“旋转”菜单。但是现在在新版本的 Ubuntu 中,仍然有一个显示选项卡,但没有更多的旋转菜单。现在我无法再次关闭它,因为我升级到 18.04 LTS。
我有一台 HP Pavilion 14 英寸笔记本电脑。
我最近从Ubuntu 17.04升级到 17.10。
一切顺利,但是当我启动系统时,我的屏幕旋转设置为向左。
然后我尝试使用 xandr 来旋转我的屏幕,但我的一切努力都失败了。
有人可以帮助我吗?
最近我启动了Ubuntu 18.04 Live USB,遇到了烦人的问题。屏幕是旋转和有没有旋转选项在settings。我不得不在互联网上搜索不那么明显的地方,所以我分享了这个问答。
升级到 Ubuntu 18.04 LTS,最近我的 HP 笔记本电脑出现奇怪的显示问题我的显示器闪烁并颠倒了。
如何解决这个问题?
我最近安装了最新的Ubuntu 18和随机屏幕的正旋转时,我通常不得不CTRL+ ALT+T调出终端,做xrandr -o normal正确取回屏幕显示。我已经通过互联网寻找原因,而且我知道在 Ubuntu 17.10上随机旋转屏幕上有一个类似的问题,但所有这些解决方案都适用于具有定向功能的设备,我在一台不支持定向的HP 笔记本电脑上笔记本电脑,可能是什么原因以及如何解决此问题。请任何帮助将不胜感激。
编辑:
笔记本电脑型号为 HP ProBook 4540s
今天升级到 Ubuntu 20.04 后,我发现我的显示器配置不能正常工作了。我有一个横向的 4k 主显示器和一个纵向(右)模式的 1080p 辅助显示器,它在右侧旁边。我有一个 ATO GTX 950 视频卡来为它们供电。
从 19.10 升级到 20.04 后,我喜欢那个面板(我在顶部使用“破折号到面板”扩展名部分在第二台显示器上。在某些情况下,两个屏幕上部分显示的窗口也很奇怪。经过更多调查后,我发现当我转到第二个屏幕并将鼠标光标向右移动,那里似乎有更多桌面,整个桌面都在移动。它几乎就像桌面对于屏幕来说太宽了。
如果我将第二台显示器更改为“正常”横向,面板将完全切换回我的主显示器(而不是部分在主显示器上,部分在辅助显示器上)并且一切正常(除了我不能使用我想做的肖像模式和以前总是可以做到的。当我在显示设置中将第二台显示器“移动”到辅助主显示器的左侧或上方时,一切看起来和行为也正常(也是纵向),只有我的鼠标移动变得不合逻辑(我必须将光标移出主屏幕)到右侧进行监控。
任何人都知道该怎么做(除了 Ubuntu 或显示驱动程序中可能的错误修复)?
display multiple-monitors gnome-panel display-rotation 20.04
目前我正在尝试禁用负责处理 Lenovo Yoga 2 Pro 上的自动屏幕旋转的进程,该进程默认启用。
到目前为止,我对包iio-sensor-proxy和做了一些研究inotify-tools,但我不知道如何禁用它。
是否可以仅删除iio-sensor-proxy以实现所需的行为?
或者这是否会以负面方式影响任何重要过程并导致异常?
配置文件存储在哪里?
提前致谢!
lsmod | grep acc
hp_accel 28672 0
lis3lv02d 20480 1 hp_accel
Run Code Online (Sandbox Code Playgroud)
我如何从这个东西中获得输出?
还有xrandr --output eDP1 --rotate normalorinverted或leftor right。我想使用传感器输出来触发这些命令并进行屏幕旋转。
编辑:
现在升级内核后,我在运行时得到这个 lsmod | grep acc
hid_sensor_accel_3d 16384 1
hid_sensor_trigger 16384 15 hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_gyro_3d,hid_sensor_rotation
industrialio_triggered_buffer 16384 5 hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_gyro_3d,hid_sensor_rotation
hid_sensor_iio_common 16384 6 hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_trigger,hid_sensor_magn_3d,hid_sensor_gyro_3d,hid_sensor_rotation
industrialio 69632 10 hid_sensor_incl_3d,hid_sensor_accel_3d,acpi_als,hid_sensor_trigger,hid_sensor_magn_3d,hid_sensor_gyro_3d,hid_sensor_rotation,industrialio_triggered_buffer,kfifo_buf
hp_accel 28672 0
lis3lv02d 20480 1 hp_accel
hid_sensor_hub 20480 8 hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_iio_common,hid_sensor_trigger,hid_sensor_magn_3d,hid_sensor_gyro_3d,hid_sensor_rotation,hid_sensor_custom
Run Code Online (Sandbox Code Playgroud)
编辑2:
iio-sensor-proxy 没有运行。尝试sudo iio-sensor-proxy给予
** (process:2721): WARNING **: Failed to read float from /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0001/HID-SENSOR-200073.8.auto/iio:device6/in_scale
** (process:2721): WARNING …Run Code Online (Sandbox Code Playgroud) 我尝试遵循这个指南,该指南显然在 2016 年就起作用了。是否有可能适用于 Wayland 的等效方法?我在某处看到 Gnome 现在支持它,但我的显示设置仅显示手动设置屏幕方向的方法。
我有一台带有 Kubuntu 12.04 的新 ThinkPad X220 平板电脑。当我用脚本将屏幕旋转 90° 时,旋转后打开的所有程序的字体都有丑陋的巨大字体。


#!/bin/sh
# Find the line in "xrandr -q --verbose" output that contains current screen orientation and "strip" out current orientation.
rotation="$(xrandr -q --verbose | grep 'connected' | egrep -o '\) (normal|left|inverted|right) \(' | egrep -o '(normal|left|inverted|right)')"
# Using current screen orientation proceed to rotate screen and input tools.
case "$rotation" in
normal)
# rotate to the left
xrandr -o right
xsetwacom set "Wacom ISDv4 E6 Pen stylus" rotate cw
xsetwacom set …Run Code Online (Sandbox Code Playgroud) 我的 HP 屏幕旋转有问题。它像智能手机或平板电脑一样工作,当我将笔记本电脑移到两侧时,它会改变屏幕显示。
我知道 Gnome 有一个Lock Rotation 按钮。我想在 Budgie 中也有同样的东西(据我所知,它基于 Gnome,对吧?)。有没有办法做到这一点?
如果没有,我可以从命令行阻止屏幕旋转吗?
我不希望无法使用加速度计本身,只是在计算机移动时锁定屏幕旋转。
非常感谢!
描述: 笔记本
产品:HP ENVY 笔记本 (P0D92LA#ABM)
供应商:惠普
版本:Type1ProductConfigId
序列号:CND538C3X9
功能:smbios-2.8 dmi-2.8 smp vsyscall32
display-rotation ×11
18.04 ×4
screen ×4
display ×3
gnome-shell ×3
12.04 ×1
17.10 ×1
18.10 ×1
20.04 ×1
budgie ×1
drivers ×1
gnome ×1
gnome-panel ×1
hp ×1
lenovo ×1
orientation ×1
rotate ×1