日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux系统分辨率文件,linux系统自定义分辨率

發布時間:2023/12/31 linux 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux系统分辨率文件,linux系统自定义分辨率 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

#打開終端輸入以下命令:

###1步驟

xrandr

輸出:

Virtual1 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 0mm x 0mm

查看當前連接的顯示設備 Virtual1

###2步驟

gtf 800 480 60

輸出

# 800x480 @ 60.00 Hz (GTF) hsync: 29.82 kHz; pclk: 29.58 MHz

Modeline "800x480_60.00" 29.58 800 816 896 992 480 481 484 497 -HSync +Vsync

###3步驟

xrandr --newmode "800x480_60.00" 29.58 800 816 896 992 480 481 484 497 -HSync +Vsync

###4步驟

xrandr --addmode Virtual1 "800x480_60.00"

###5步驟

xrandr --output Virtual1 --mode "800x480_60.00"

###6步驟

//以下為持久化顯示模式

//1

編輯配置文件~/.config/monitors.xml來配置分辨率大小,但需要等到下一次重啟時才起效

no

???

0x0000

0x00000000

800

480

60

0

0

normal

no

no

yes

//2

sudo gedit /etc/X11/xorg.conf //打開(或新建)xorg.conf文件,初始系統沒有該文件,創建即可。

打開后,在文件中添加以下內容:

Section "Monitor"

Identifier "Configured Monitor"

Modeline "800x480_60.00" 29.58 800 816 896 992 480 481 484 497 -HSync +Vsync #來自命令gtf的輸出

Option "PreferredMode" "800x480_60.00" #模式名為"800x480_60.00"

EndSection

Section "Screen"

Identifier "Default Screen"

Monitor "Configured Monitor"

Device "Configured Video Device"

EndSection

Section "Device"

Identifier "Configured Video Device"

EndSection

完成,重啟,OK

總結

以上是生活随笔為你收集整理的linux系统分辨率文件,linux系统自定义分辨率的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。