注意下方的分辨率
...
interface: 'wl_output', version: 3, name: 4
x: 2560, y: 314, scale: 1,
physical_width: 530 mm, physical_height: 300 mm,
make: 'DEL', model: 'DELL U2414H',
subpixel_orientation: unknown, output_transform: normal,
mode:
width: 1920 px, height: 1080 px, refresh: 60.000 Hz,
flags: current preferred
interface: 'wl_output', version: 3, name: 5
x: 0, y: 0, scale: 1,
physical_width: 290 mm, physical_height: 180 mm,
make: 'CSO', model: '0x076d',
subpixel_orientation: unknown, output_transform: normal,
mode:
width: 2560 px, height: 1600 px, refresh: 59.993 Hz,
flags: current preferred
interface: 'zxdg_output_manager_v1', version: 3, name: 6
xdg_output_v1
output: 4
name: 'DP-1'
description: 'Dell Inc. 24"'
logical_x: 2560, logical_y: 314
logical_width: 1920, logical_height: 1080
xdg_output_v1
output: 5
name: 'eDP-1'
description: 'Built-in display'
logical_x: 0, logical_y: 0
logical_width: 2560, logical_height: 1600
...
name: 'DP-1' # 显示器名称
description: 'Dell Inc. 24"'
logical_x: 2560, logical_y: 314
logical_width: 1920, logical_height: 1080 # 显示器分辨率
name: 'eDP-1'# 显示器名称
description: 'Built-in display'
logical_x: 0, logical_y: 0
logical_width: 2560, logical_height: 1600 # 显示器分辨率