当前位置:网站首页>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命令。其實我上在的命令就是自動生成的。
边栏推荐
- MySQL timestampdiff interval
- 毕设-基于SSM宠物领养中心
- 8.8.2-PointersOnC-20220214
- 深潜Kotlin协程(十九):Flow 概述
- Nat. Comm. | 使用Tensor-cell2cell对细胞通讯进行环境感知去卷积
- 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 =
- Introduction to eth
- "Final review" 16/32-bit microprocessor (8086) basic register
- When writing a web project, SmartUpload is used for file upload and new string () is used for transcoding, but in the database, there will still be random codes similar to poker
- 学会pytorch能干什么?
猜你喜欢
![[Apple Push] IMessage group sending condition document (push certificate) development tool pushnotification](/img/30/c840e28c0ef7c8ce574dcde4363863.jpg)
[Apple Push] IMessage group sending condition document (push certificate) development tool pushnotification

Ffmpeg recording screen and screenshot

"Final review" 16/32-bit microprocessor (8086) basic register

Nat. Comm. | use tensor cell2cell to deconvolute cell communication with environmental awareness

Is it better to speculate in the short term or the medium and long term? Comparative analysis of differences

Interaction free shell programming

Five elements of user experience

Mutex and rwmutex in golang

How to download pytorch? Where can I download pytorch?

pytorch怎么下载?pytorch在哪里下载?
随机推荐
When writing a web project, SmartUpload is used for file upload and new string () is used for transcoding, but in the database, there will still be random codes similar to poker
在 .NET 6 项目中使用 Startup.cs
[Blue Bridge Road -- bug free code] DS18B20 temperature reading code analysis
[Blue Bridge Road -- bug free code] interpretation of some codes of matrix keyboard
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
How to download pytorch? Where can I download pytorch?
IPv6 foundation construction experiment
Causal AI, a new paradigm for industrial upgrading of the next generation of credible AI?
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 =
Web session management security issues
在写web项目的时候,文件上传用到了smartupload,用了new string()进行转码,但是在数据库中,还是会出现类似扑克的乱码
Null and undefined
vim 的实用操作
C language hashtable/hashset library summary
Message queue addition failure
类的基础语法
Is it better to speculate in the short term or the medium and long term? Comparative analysis of differences
Mila, University of Ottawa | molecular geometry pre training with Se (3) invariant denoising distance matching
pytorch难学吗?如何学好pytorch?
[daily question] dichotomy - find a single dog (Bushi)