centos 7 修改系统屏幕分辨率

   centos 7 修改系统屏幕分辨率,命令方式和图形方式的修改方法。

命令:xrandr

        通过命令 xrandr 修改系统的分辨率,输入xrandr:

bash
  1. [admin@localhost ~]$ xrandr
  2. Screen 0: minimum 1 x 1, current 1366 x 768, maximum 4096 x 4096
  3. Virtual1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
  4.    1366x768      60.00*+
  5.    2560x1600     59.99  
  6.    1920x1440     60.00  
  7.    1856x1392     60.00  
  8.    1792x1344     60.00  
  9.    1920x1200     59.88  
  10.    1600x1200     60.00  
  11.    1680x1050     59.95  
  12.    1400x1050     59.98  
  13.    1280x1024     60.02  
  14.    1440x900      59.89  
  15.    1280x960      60.00  
  16.    1360x768      60.02  
  17.    1280x800      59.81  
  18.    1152x864      75.00  
  19.    1280x768      59.87  
  20.    1024x768      60.00  
  21.    800x600       60.32  
  22.    640x480       59.94  
  23. Virtual2 disconnected (normal left inverted right x axis y axis)
  24. Virtual3 disconnected (normal left inverted right x axis y axis)
  25. Virtual4 disconnected (normal left inverted right x axis y axis)
  26. Virtual5 disconnected (normal left inverted right x axis y axis)
  27. Virtual6 disconnected (normal left inverted right x axis y axis)
  28. Virtual7 disconnected (normal left inverted right x axis y axis)
  29. Virtual8 disconnected (normal left inverted right x axis y axis)

        输入xrandr命令后可以看到系统的一些分辨率的列表,和当前系统屏幕的分辨率信息,可以通过命令的相应参数对系统分辨率的一些设置操作。

        自动适应当前显卡分辨率(全屏)

bash
  1. xrandr -0  //0也代表是上面分辨率列表中的第一个分辨率

        其他分辨率设置可以根据上面列表中从0开始的对应编号就能设置其他分辨率了。

bash
  1. xrandr -17   //800x600
  2. xrandr -18   //640x480

        指定分辨率设置

bash
  1. xrandr -1366x768

猜你喜欢

转载自www.cnblogs.com/RogerLu/p/9899841.html