Ubuntu 18.04 分辨率设置

Ubuntu 18.04 分辨率设置

  • 1,系统
  • 2,修改分辨率

1,系统

# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic

2,修改分辨率

  • 分辨率偏小
# xrandr
Screen 0: minimum 640 x 480, current 640 x 480, maximum 640 x 480
default connected primary 640x480+0+0 0mm x 0mm
   640x480       73.00*
  • vim /etc/xorg.conf添加配置,重启
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync   28.0 - 70.0
        VertRefresh     56.0 - 75.0
EndSection


Section "Device"
        Identifier  "VMware SVGA"
        Driver      "vesa"
EndSection


Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1920x1080_60.00"
        EndSubSection
EndSection

参考:

  1. Ubuntu 分辨率更改 xrandr Failed to get size of gamma for output default
  2. Ubuntu 分辨率更改 xrandr Failed to get size of gamma for output default

你可能感兴趣的:(ubuntu)