Resolution In Linux Desktop

Customisation

Content of the part involves config flow on resolution in Linux(RHEL_6.4), applicable to adjusting desktop resolution with high quality in VNC Viewer on windows 7.

If specific resolution needed by you does not exist, you can add new one into system. Take an example as width:1600 height:900 refresh_rate: 60HZ

#make sure maximum and minimum range
xrandr 
#create an mode line
gtf 1600 900 60 
#arguments along with newmode option is generated by one instruction up
xrandr --newmode "1600x900_60.00" 119.0 1600 1696 1864 2128 900 901 904 932 -HSync +Vsync 
#key
xrandr --addmode default 1600x900_60.00
xrandr --output default --mode 1600x900_60.00

Special note for default argument value in two lines down comments with key, where it is available for my environment, however it can be VGA or LVDS.

In fact, here configuration is manipulated for vm with desktop in vsphere cloud and it is valid even if error message raises, for example “xrandr: Failed to get size of gamma for output default”.

finally, after above steps complete, xrandr output contains two related infos like,

1600x900 60.0
1600x900_60.00 60.0

and you can persist the configuration by
xrandr -s 1600x900

發佈了20 篇原創文章 · 獲贊 1 · 訪問量 5366
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章