Resolution In Linux Desktop

本文介绍如何在Linux (RHEL 6.4) 中通过xrandr和gtf命令自定义显示器分辨率,适用于Windows 7上的VNC Viewer高质量桌面显示设置。文章详细说明了创建和应用新分辨率的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值