我刚刚将 ThinkPad T560 从 Fedora 24 升级到 Fedora 25。
在 Fedora 24 上,我使用了以下命令:
$ xrandr --output eDP-1 --scale 1.25x1.25
$ xrandr --output eDP-1 --panning 3600x2025
Run Code Online (Sandbox Code Playgroud)
设置适当的缩放比例。这些命令不再适用于 Fedora 25:
$ xrandr --output eDP-1 --scale 1.25x1.25
warning: output eDP-1 not found; ignoring
Run Code Online (Sandbox Code Playgroud)
显然,显示标识符现在是XWAYLAND0
(eDP-1
不再是):
$ xrandr -q
Screen 0: minimum 320 x 200, current 2880 x 1620, maximum 8192 x 8192
XWAYLAND0 connected 2880x1620+0+0 340mm x 190mm
2880x1620 59.92*+
Run Code Online (Sandbox Code Playgroud)
但是,在旧命令中使用这个新标识符也不起作用:
$ xrandr --output XWAYLAND0 --scale 1.25x1.25
X Error of …
Run Code Online (Sandbox Code Playgroud)