在ubuntu12.10上安装gnome切换到经典模式后,×QuerycurrentresolutionechoCurrentresolutionxrandrechoNewonemodelinefor×echoNewonemodelinefor×cvtechoCreateresolutionusingxrandrnewmodecommandechoCreateresolution×分别率最高只有1024*768,上安式后索N设置以为是装g装各种n置下制代没有安装显卡驱动导致的,上网搜索了N多方法,高防服务器切换驱动a驱安装了各种nvidia驱动,到经典模导致的上多方动依定转的内代码代码依然没有搞定。分别法安分辨分辨复制
(转)ubuntu分辨率设置
b2b信息网shell脚本如下:复制代码代码如下:#!/bin/bash# set screen resolution to 1680×1050# Query current resolutionecho "Current resolution:"xrandrecho "-------------------------------------"# New one modeline for 1680×1050echo "New one modeline for 1680×1050:"cvt 1680 1050echo "-------------------------------------"# Create resolution using "xrandr --newmode" commandecho "Create resolution 1680×1050:"xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsyncecho "-------------------------------------"# Add the resolution to monitorecho "Add the resolution to monitor:"xrandr --addmode VGA1 "1680x1050_60.00"echo "-------------------------------------"# Apply the resolutionecho "Apply the resolution:"xrandr --output VGA1 --mode "1680x1050_60.00"echo "-------------------------------------"# Query current resolution again to determine the settings valid or notecho "Current resolution after settings:"xrandrecho "-------------------------------------"" src="/uploads/2025-10-27/1761565542877.jpeg"/>
以下是率最率设率该文文章的内容:
--------------------------------------------------------------->>>
复制代码代码如下:
设置分辨率1680 * 1050的shell脚本如下:
复制代码代码如下:
#!/bin/bash</p> <p># set screen resolution to 1680×1050</p> <p># Query current resolution
echo "Current resolution:"
xrandr
echo "-------------------------------------"</p> <p># New one modeline for 1680×1050
echo "New one modeline for 1680×1050:"
cvt 1680 1050
echo "-------------------------------------"</p> <p># Create resolution using "xrandr --newmode" command
echo "Create resolution 1680×1050:"
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
echo "-------------------------------------"</p> <p># Add the resolution to monitor
echo "Add the resolution to monitor:"
xrandr --addmode VGA1 "1680x1050_60.00"
echo "-------------------------------------"</p> <p># Apply the resolution
echo "Apply the resolution:"
xrandr --output VGA1 --mode "1680x1050_60.00"
echo "-------------------------------------"</p> <p># Query current resolution again to determine the settings valid or not
echo "Current resolution after settings:"
xrandr
echo "-------------------------------------"
相关文章:
IT技术网亿华云源码下载IT资讯网源码库香港云服务器益华科技企商汇服务器租用云智核创站工坊码上建站亿华智造科技前瞻亿华云益强智囊团汇智坊益华科技益强科技亿华科技益强智未来益华IT技术论坛亿华云计算益强前沿资讯亿华灵动码力社极客码头多维IT资讯益强编程舍益强编程堂亿华互联智能时代技术快报极客编程思维库益华科技云站无忧益强数据堂运维纵横益强IT技术网
0.3962s , 17422.015625 kb
Copyright © 2025 Powered by 在ubuntu12.10上安装gnome切换到经典模式后,分别率最高只有1024*768,以为是没有安装显卡驱动导致的,上网搜索了N多方法,安装了各种nvidia驱动,依然没有搞定。(转)ubuntu分辨率设置以下是该文文章的内容:--------------------------------------------------------------->>>复制代码代码如下:设置分辨率1680 * 1050的shell脚本如下:复制代码代码如下:#!/bin/bash# set screen resolution to 1680×1050# Query current resolutionecho "Current resolution:"xrandrecho "-------------------------------------"# New one modeline for 1680×1050echo "New one modeline for 1680×1050:"cvt 1680 1050echo "-------------------------------------"# Create resolution using "xrandr --newmode" commandecho "Create resolution 1680×1050:"xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsyncecho "-------------------------------------"# Add the resolution to monitorecho "Add the resolution to monitor:"xrandr --addmode VGA1 "1680x1050_60.00"echo "-------------------------------------"# Apply the resolutionecho "Apply the resolution:"xrandr --output VGA1 --mode "1680x1050_60.00"echo "-------------------------------------"# Query current resolution again to determine the settings valid or notecho "Current resolution after settings:"xrandrecho "-------------------------------------",亿华互联 滇ICP备2023000592号-16