当前位置:网站首页>xrandr修改分辨率与刷新率
xrandr修改分辨率与刷新率
2022-07-03 04:05:00 【ITKEY_】
查询当前显示器信息
直接运行xrandr即可。
我的执行结果如下,信息过多,我则把关键部分放出来:
[email protected]: ~/.screenlayout $ xrandr [14:41:35]
Screen 0: minimum 320 x 200, current 5760 x 2160, maximum 16384 x 16384
HDMI-1 connected 1920x1080+0+774 (normal left inverted right x axis y axis) 527mm x 293mm
1920x1080 60.00*+ 74.99 50.00 59.94
1920x1080i 60.00 50.00 59.94
DP-1 connected primary 3840x2160+1920+0 (normal left inverted right x axis y axis) 597mm x 336mm
3840x2160 60.00 + 29.98*
1920x2160 59.99
会列出所有支持的分辨率和刷新率。
查询当前的分辨率
这个比较简单,只要看*+
两个符号在哪行就可以了。我上面的结果就是:
HDMI-1 分辨率 1920x1080 刷新率是60.00
查询刷新率
查*
号所在位置,比如我上面的信息就是
HDMI-1 60.00
DP-1 29.98
设置刷新率
DP-1 29.98 就会感觉有点不流畅,如果设置其刷新率呢?参数中加上参数 -r 60.00
即可调整成60刷新率。
完整的命令如下:
xrandr --output eDP-1 --off --output HDMI-1 --mode 1920x1080 --pos 0x774 --rotate normal --output DP-1 -r 60.00 --primary --mode 3840x2160 --pos 1920x0 --rotate normal --output DP-2 --off --output DP-3 --off --output DP-4 --off```
设置分辨率显示器位置显示器是否打开
这些都可以使用xrandr来实现,就是不太直观有些数值要自己人工计算。我推荐使用ARandR
来图形化设置,并且可以自动生成xrandr命令。其实我上在的命令就是自动生成的。
边栏推荐
- Introduction to eth
- pytorch怎么下载?pytorch在哪里下载?
- 2022 Shandong Province safety officer C certificate examination questions and Shandong Province safety officer C certificate simulation examination question bank
- 中移物联网OneOS与OneNET入选《2021年物联网示范项目名单》
- 错误 C2694 “void Logger::log(nvinfer1::ILogger::Severity,const char *)”: 重写虚函数的限制性异常规范比基类虚成员函数
- JS实现图片懒加载
- China Mobile Internet of things oneos and onenet were selected in the list of 2021 Internet of things demonstration projects
- Arlo's thinking about himself
- Recursion: one dimensional linked lists and arrays
- sigaction的使用
猜你喜欢
中移物联网OneOS与OneNET入选《2021年物联网示范项目名单》
js中#号的作用
CVPR 2022 | Dalian Institute of technology proposes a self calibration lighting framework for low light level image enhancement of real scenes
2022 tea master (intermediate) examination questions and analysis and tea master (intermediate) practical examination video
Application of I2C protocol of STM32F103 (read and write EEPROM)
[Apple Photo Album push] IMessage group anchor local push
【刷题篇】多数元素(超级水王问题)
Deep dive kotlin synergy (19): flow overview
Message queue addition failure
2022deepbrainchain biweekly report no. 104 (01.16-02.15)
随机推荐
【学习笔记】seckill-秒杀项目--(11)项目总结
C language hashtable/hashset library summary
JS实现图片懒加载
2022 tea master (intermediate) examination questions and analysis and tea master (intermediate) practical examination video
sklearn数据预处理
8.8.2-PointersOnC-20220214
Social phobia of contemporary young people (III)
以两列的瀑布流为例,我们应该怎么构建每一列的数组
深潜Kotlin协程(十九):Flow 概述
[learning notes] seckill - seckill project - (11) project summary
Js/ts bottom implementation double click event
CEPH Shangwen network xUP Nange that releases the power of data
基于Pytorch和RDKit的QSAR模型建立脚本
2022 tea master (primary) examination questions and tea master (primary) examination question bank
Intercept string fixed length to array
eth入门之简介
国产PC系统完成闭环,替代美国软硬件体系的时刻已经到来
[mathematical logic] predicate logic (first-order predicate logic formula | example)
pytorch是什么?pytorch是一个软件吗?
JS native common knowledge