当前位置:网站首页>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命令。其实我上在的命令就是自动生成的。
边栏推荐
- 105. Detailed introduction of linkage effect realization of SAP ui5 master detail layout mode
- Nat. Comm. | 使用Tensor-cell2cell对细胞通讯进行环境感知去卷积
- 2.14 simulation summary
- Causal AI, a new paradigm for industrial upgrading of the next generation of credible AI?
- 300+篇文献!一文详解基于Transformer的多模态学习最新进展
- 记一次 .NET 差旅管理后台 CPU 爆高分析
- Web session management security issues
- [mathematical logic] predicate logic (first-order predicate logic formula | example)
- SAP UI5 应用开发教程之一百零五 - SAP UI5 Master-Detail 布局模式的联动效果实现明细介绍
- 在 .NET 6 项目中使用 Startup.cs
猜你喜欢

2022 mobile crane driver examination registration and mobile crane driver operation examination question bank

JS实现图片懒加载

What is pytorch? Is pytorch a software?

leetcode:297. Serialization and deserialization of binary tree

pytorch项目怎么跑?

Is pytorch open source?

105. SAP UI5 Master-Detail 布局模式的联动效果实现明细介绍

pytorch怎么下载?pytorch在哪里下载?
![[brush questions] find the number pair distance with the smallest K](/img/e1/4118e2b37b5cea0454d65b877b507f.png)
[brush questions] find the number pair distance with the smallest K

How to download pytorch? Where can I download pytorch?
随机推荐
pytorch是什么?pytorch是一个软件吗?
redis在服务器linux下的启动的相关命令(安装和配置)
编译文件时报错:错误: 编码GBK的不可映射字符
Half of 2022 is over, so we must hurry up
CVPR 2022 | Dalian Institute of technology proposes a self calibration lighting framework for low light level image enhancement of real scenes
Hutool dynamically adds scheduled tasks
Js/ts bottom implementation double click event
sigaction的使用
Simple wechat applet development page Jump, data binding, obtaining user information, obtaining user location information
Use of sigaction
深潜Kotlin协程(二十):构建 Flow
C language hashtable/hashset library summary
Makefile demo
[DRM] simple analysis of DRM bridge driver call process
毕设-基于SSM宠物领养中心
用户体验五要素
Practical operation of vim
[brush questions] most elements (super water king problem)
pytorch怎么下载?pytorch在哪里下载?
[Apple Push] IMessage group sending condition document (push certificate) development tool pushnotification