ubuntu设置分辨率

1、桌面上打开终端;

2、在终端使用xrandr命令查看支持的分辨率:

xrandr
creen 0: minimum 1 x 1, current 1680 x 1050, maximum 16384 x 16384
Virtual1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x600       60.00 +  60.32  
   3840x2400     59.97  
   3840x2160     59.97  
   2880x1800     59.95  
   2560x1600     59.99  
   2560x1440     59.95  
   1920x1440     60.00  
   1856x1392     60.00  
   1792x1344     60.00  
   1920x1200     59.88  
   1920x1080     59.96  
   1600x1200     60.00  
   1680x1050     59.95* 
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      60.02  
   1280x800      59.81  
   1152x864      75.00  
   1280x768      59.87  
   1280x720      59.86  
   1024x768      60.00  
   640x480       59.94  
Virtual2 disconnected (normal left inverted right x axis y axis)
Virtual3 disconnected (normal left inverted right x axis y axis)
Virtual4 disconnected (normal left inverted right x axis y axis)
Virtual5 disconnected (normal left inverted right x axis y axis)
Virtual6 disconnected (normal left inverted right x axis y axis)
Virtual7 disconnected (normal left inverted right x axis y axis)
Virtual8 disconnected (normal left inverted right x axis y axis)

 3、然后通过size设置需要的分辨率,分辨率必须是在上面列出的否则无效:

xrandr --size 1440x900

  • 7
    点赞
  • 23
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要在Ubuntu中更改分辨率,你可以按照以下步骤进行操作: 1. 打开终端,使用以下命令编辑grub配置文件: ``` sudo vim /etc/default/grub ``` 2. 在配置文件中找到`GRUB_GFXMODE`行,并将其值设置为你想要的分辨率,例如`1920x1080`。 3. 保存并关闭文件,然后运行以下命令更新grub配置: ``` sudo update-grub ``` 4. 运行以下命令生成新的输出模式: ``` cvt 1920 1080 ``` 5. 复制输出中的模式信息,例如: ``` Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync ``` 6. 运行以下命令添加新的输出模式: ``` sudo xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync ``` 7. 运行以下命令将新的输出模式添加到显示器: ``` sudo xrandr --addmode <显示器名称> "1920x1080_60.00" ``` 请将`<显示器名称>`替换为你的显示器名称,你可以使用`xrandr`命令查看显示器名称。 8. 最后,你可以通过编辑`~/.profile`文件来使分辨率更改在每次登录时生效: ``` sudo gedit ~/.profile ``` 在文件末尾添加以下行: ``` xrandr --output <显示器名称> --mode "1920x1080_60.00" ``` 保存并关闭文件。 现在,你的Ubuntu系统的分辨率应该已经更改为你所设置分辨率了。请确保使用正确的显示器名称和分辨率值。 #### 引用[.reference_title] - *1* [ubuntu 设置分辨率](https://blog.csdn.net/GuoHuWei1989/article/details/124765510)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [Ubuntu设置分辨率](https://blog.csdn.net/tengxiang136/article/details/80677401)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值