[root@lzf ~]# xrandr(查看当前分辨率和所有分辨率选项)
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 200, current 1280 x 960, maximum 2560 x 1600
default connected 1280x960+0+0 0mm x 0mm
1024x768 60.0 0.0 (这一行是当前分辨率,不算)
800x600 60.0 56.0 0.0 (这是第一行)
640x480 60.0 0.0
320x240 0.0
400x300 0.0
512x384 0.0
1152x864 0.0
1280x960 0.0*
1400x1050 0.0
1600x1200 0.0
1920x1440 0.0
2048x1536 0.0
854x480 0.0
1280x720 0.0
1366x768 0.0
1920x1080 0.0
1280x800 0.0
1440x900 0.0
1680x1050 0.0
1920x1200 0.0
2560x1600 0.0
720x480 0.0
720x576 0.0
320x200 0.0
640x400 0.0
800x480 0.0
1280x768 0.0
1280x1024 0.0
然后再在上面数你要设置的分辨率是第几行,比如我要设置1280*960,是在第七行, [root@lzf ~]# xrandr -s 7就这样,设置好了
关于xrandr的更多参数,大家可以 man 一下或者help都可以,以下是我help的。
[root@lzf ~]# xrandr --help
usage: xrandr [options]
where options are:
-display <display> or -d <display>
-help
-o <normal,inverted,left,right,0,1,2,3>
or --orientation <normal,inverted,left,right,0,1,2,3>
-q or --query
-s <size>/<width>x<height> or --size <size>/<width>x<height>
-r <rate> or --rate <rate> or --refresh <rate>
-v or --version
-x (reflect in x)
-y (reflect in y)
--screen <screen>
--verbose
--dryrun
--nograb
--prop or --properties
--fb <width>x<height>
--fbmm <width>x<height>
--dpi <dpi>/<output>
--output <output>
--auto
--mode <mode>
--preferred
--pos <x>x<y>
--rate <rate> or --refresh <rate>
--reflect normal,x,y,xy
--rotate normal,inverted,left,right
--left-of <output>
--right-of <output>
--above <output>
--below <output>
--same-as <output>
--set <property> <value>
--scale <x>x<y>
--transform <a>,<b>,<c>,<d>,<e>,<f>,<g>,<h>,<i>
--off
--crtc <crtc>
--panning <w>x<h>[+<x>+<y>[/<track:w>x<h>+<x>+<y>[/<border:l>/<t>/<r>/<b>]]]
--gamma <r>:<g>:<b>
--primary
--noprimary
--newmode <name> <clock MHz>
<hdisp> <hsync-start> <hsync-end> <htotal>
<vdisp> <vsync-start> <vsync-end> <vtotal>
[+HSync] [-HSync] [+VSync] [-VSync]
--rmmode <name>
--addmode <output> <name>
--delmode <output> <name>
Linux用命令修改分辨率,非常有效
原创cq107870823 博主文章分类:linux 操作系统 ©著作权
©著作权归作者所有:来自51CTO博客作者cq107870823的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:缓解眼睛不适
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
保真调整图像分辨率
保持原始比例进行缩放
高宽比 图像缩放 保真缩放 -
Unity下如何播放8K超高分辨率的RTMP流?
在Unity中使用RTMP播放器播放8K流,需要考虑到多个方面的因素和技术要求。以下是一个详细的步骤和要点概述,帮助实现这一目标:1. 选择合适的RTMP播放器插件首先,需要选择一个支持8K视频流播放的RTMP播放器插件。并非所有插件都支持8K分辨率,据我们了解,好多Unity的RTMP播放器,连4K都非常吃力。因此,在选择插件时,需要仔细阅读插件的文档和说明,确认其是否支持8K视频流。大牛直播S
Unity RTMP播放器 Unity RTSP播放器 Unity3D RTMP播放 Unity3D RTSP播放器 大牛直播SDK -
linux指令修改分辨率
xrandr -s 1600x1200
html 其他