分辨率停留在1024×768

为了解决启动画面的一些小问题,我运行了这个脚本: http : //www.webupd8.org/2010/10/script-to-fix-ubuntu-plymouth-for.html

大错。 我的分辨率现在停留在1024×768(屏幕为1280×900)。 我无法通过监视器设置更改它,并且有很多旧指南或我的Xorg配置不存在。 我尝试运行“修复脚本”的清理版本,但没有任何改变。 哦,图形设置也是最低限度的。

我也尝试了各种dpkg --reconfigures ,也没有运气。

 alexander@natty:~$ xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm x 0mm 1024x768 61.0* 800x600 61.0 

这个脚本做了什么:

  1. /etc/default/grub

    1. 更换

      GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

      GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option='$resolution',mtrr=3,scroll=ywrap"

    2. 设置GRUB_GFXMODE = $ resolution
  2. /etc/initramfs-tools/modules
    1. 添加uvesafb mode_option=$resolution mtrr=3 scroll=ywrap
  3. /etc/initramfs-tools/conf.d/splash
    1. 添加FRAMEBUFFER=y

反转它实际做的任何事情,并执行此操作:

  sudo update-grub2 sudo update-initramfs -u