在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 "-------------------------------------"
作者:IT科技类资讯 来源:人工智能 浏览: 【大中小】 发布时间:2025-11-05 11:23:47 评论数:
在ubuntu12.10上安装gnome切换到经典模式后,×QuerycurrentresolutionechoCurrentresolutionxrandrechoNewonemodelinefor×echoNewonemodelinefor×cvtechoCreateresolutionusingxrandrnewmodecommandechoCreateresolution×分别率最高只有1024*768,上安式后索N设置以为是装g装各种n置下制代没有安装显卡驱动导致的,上网搜索了N多方法,免费源码下载切换驱动a驱安装了各种nvidia驱动,到经典模导致的上多方动依定转的内代码代码依然没有搞定。分别法安分辨分辨复制
(转)ubuntu分辨率设置
云服务器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/1761569242820.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 "-------------------------------------"
长虹55Q1R——品质与智能的完美结合(一款全面升级的智能电视,领略高品质视听体验)
