当前位置:网站首页>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命令。其實我上在的命令就是自動生成的。
边栏推荐
- CVPR 2022 | Dalian Technology propose un cadre d'éclairage auto - étalonné pour l'amélioration de l'image de faible luminosité de la scène réelle
- For instruction, uploading pictures and display effect optimization of simple wechat applet development
- js实现在可视区内,文字图片动画效果
- Basic syntax of class
- [daily question] dichotomy - find a single dog (Bushi)
- JMeter starts from zero (III) -- simple use of regular expressions
- SAP ui5 application development tutorial 105 - detailed introduction to the linkage effect implementation of SAP ui5 master detail layout mode
- 2022-07-02:以下go语言代码输出什么?A:编译错误;B:Panic;C:NaN。 package main import “fmt“ func main() { var a =
- sklearn数据预处理
- DAPP for getting started with eth
猜你喜欢
国产PC系统完成闭环,替代美国软硬件体系的时刻已经到来
Deep dive kotlin synergy (19): flow overview
How to download pytorch? Where can I download pytorch?
CVPR 2022 | 大连理工提出自校准照明框架,用于现实场景的微光图像增强
【刷题篇】多数元素(超级水王问题)
Mila, University of Ottawa | molecular geometry pre training with Se (3) invariant denoising distance matching
2022 Shandong Province safety officer C certificate examination questions and Shandong Province safety officer C certificate simulation examination question bank
Error in compiled file: error: unmapped character encoding GBK
Nodejs Foundation: shallow chat URL and querystring module
The 10th China Cloud Computing Conference · China Station: looking forward to the trend of science and technology in the next decade
随机推荐
Interface embedded in golang struct
2022-07-02:以下go语言代码输出什么?A:编译错误;B:Panic;C:NaN。 package main import “fmt“ func main() { var a =
Esp32 series (3): GPIO learning (take simple GPIO input and output, ADC, DAC as examples)
Social phobia of contemporary young people (III)
国产PC系统完成闭环,替代美国软硬件体系的时刻已经到来
JS realizes lazy loading of pictures
Is pytorch difficult to learn? How to learn pytorch well?
[brush questions] find the number pair distance with the smallest K
Dynamic programming: Longest palindrome substring and subsequence
Without sxid, suid & sgid will be in danger- Shangwen network xUP Nange
[brush questions] connected with rainwater (one dimension)
Half of 2022 is over, so we must hurry up
Recursion: one dimensional linked lists and arrays
Js/ts bottom implementation double click event
ZIP文件的导出
竞品分析撰写
DAPP for getting started with eth
xrandr修改分辨率与刷新率
Mila, University of Ottawa | molecular geometry pre training with Se (3) invariant denoising distance matching
Bisher - based on SSM pet adoption center