删除过时的 xrandr 条目

删除过时的 xrandr 条目

我最近在 Kubuntu 16.04.1 LTS 下切换了显卡,xrandr 命令缓存了许多旧设置。

$ xrandr | grep "connected"
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 2560x1600+0+0 (normal left inverted right x axis y    axis) 641mm x 401mm
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected primary 2560x1600+2560+0 (normal left inverted right x axis y axis) 641mm x 401mm
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
DP-4.8 connected 2560x1600+5120+0 (normal left inverted right x axis y axis) 641mm x 401mm
DP-4.1.8 disconnected (normal left inverted right x axis y axis)

所有断开的显示器实际上都是相同连接显示器的变体(即我一直有相同的 3 个显示器),但它们已从 Intel(IGP)移至 AMD,目前为 NVIDIA GTX-1080。

我真的很想删除旧的和多余的条目。 这些数据存储在哪里? 除了完全重新安装(我并不想这么做。删除旧驱动程序也没有解决这个问题)我该如何处理这个问题?

我明白为什么这些信息会持续存在,但我觉得它实际上妨碍了 kscreen(?) 或 kwin(?) 或其他什么东西,因为我的显示布局变得异常不稳定。

相关内容