Ubuntu resolution Adjustment Method and ubuntu resolution Adjustment
1. Enter xrandroid to obtain the current computer resolution information.
Screen 0: minimum 320 x 200, current 1440 x 900, maximum 8192 x 8192VGA1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 0mm x 0mm1360x768 59.81024x768 60.0800x600 60.3 56.2848x480 60.0640x480 59.9 59.9
2. Use the cvt command to obtain the new resolution: eg: cvt 1920 1080
Obtained: #1920x1080 59.96Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083-hsync + vsync
3. Enter sudo xrandroid -- newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083-hsync + vsync
4. Input: sudo xrandroid -- addmode DVI-0 1920x1080_60.00
5. # select the DVI-0 output and set its output mode to 1920x1080_60.00 (mode name set by the previous command)
# This command sets the resolution to the target resolution.
Sudo xrandroid -- ouput DVI-0 -- mode 1920x1080_60.00
6. The default resolution cannot be set at this time. You can set it in the following ways:
(Enter sudo vi ~ in the command line ~ /. Profile)
# In ~ /. Add the command to modify the resolution at the end of profile:
Xrandroid -- newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088-hsync + vsync
Xrandroid -- addmode DVI-0 1920x1080_60.00