当前位置:网站首页>xrandr修改分辨率與刷新率
xrandr修改分辨率與刷新率
2022-07-03 04:06: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命令。其實我上在的命令就是自動生成的。
边栏推荐
- sklearn数据预处理
- 2022 beautician (intermediate) new version test questions and beautician (intermediate) certificate examination
- How does the pytorch project run?
- 2022 P cylinder filling examination content and P cylinder filling practice examination video
- JS实现图片懒加载
- Cnopendata China Customs Statistics
- Supervised pre training! Another exploration of text generation!
- nodejs基础:浅聊url和querystring模块
- Application of I2C protocol of STM32F103 (read and write EEPROM)
- 8.8.2-PointersOnC-20220214
猜你喜欢

How to download pytorch? Where can I download pytorch?

用户体验五要素

Mila, University of Ottawa | molecular geometry pre training with Se (3) invariant denoising distance matching

Wechat applet + Alibaba IOT platform + Hezhou air724ug build a serverless IOT system (III) -- wechat applet is directly connected to Alibaba IOT platform aliiot

The latest analysis of the main principals of hazardous chemical business units in 2022 and the simulated examination questions of the main principals of hazardous chemical business units

国产PC系统完成闭环,替代美国软硬件体系的时刻已经到来

有监督预训练!文本生成又一探索!

Nat. Comm. | 使用Tensor-cell2cell对细胞通讯进行环境感知去卷积

pytorch是什么?pytorch是一个软件吗?

因果AI,下一代可信AI的产业升级新范式?
随机推荐
Dynamic programming: Longest palindrome substring and subsequence
Taking two column waterfall flow as an example, how should we build an array of each column
服务器无法远程连接原因分析
Null and undefined
MPLS setup experiment
Interface embedded in golang struct
Recursion: one dimensional linked lists and arrays
深潜Kotlin协程(二十):构建 Flow
js/ts底层实现双击事件
在写web项目的时候,文件上传用到了smartupload,用了new string()进行转码,但是在数据库中,还是会出现类似扑克的乱码
错误 C2694 “void Logger::log(nvinfer1::ILogger::Severity,const char *)”: 重写虚函数的限制性异常规范比基类虚成员函数
2022-07-02: what is the output of the following go language code? A: Compilation error; B:Panic; C:NaN。 package main import “fmt“ func main() { var a =
Arduino application development - LCD display GIF dynamic diagram
Is pytorch difficult to learn? How to learn pytorch well?
Mutex and rwmutex in golang
Bisher - based on SSM pet adoption center
2022 tea master (intermediate) examination questions and analysis and tea master (intermediate) practical examination video
Five elements of user experience
Nat. Comm. | 使用Tensor-cell2cell对细胞通讯进行环境感知去卷积
Sklearn data preprocessing