Ubuntu

Ubuntu 14.04 不保存螢幕解析度

  • September 24, 2020

我正在使用 Gnome 執行 Ubuntu 14.04。每次重新啟動電腦時,我都必須手動將螢幕解析度設置為較低的解析度。

為什麼不自動保存?

一些輸出:

$ lspci

00:02.0 VGA compatible controller: Intel Corporation Core Processor
Integrated Graphics Controller (rev 12)
$ uname -a

Linux mediaserver 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29
20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ ls /usr/bin/*session

/usr/bin/gnome-session
$ echo $DESKTOP_SESSION

gnome-fallback

/var/log/Xorg.0.log

在創建具有以下內容的*/etc/X11/xorg.conf*文件後修復:

Section "Monitor" Identifier "Monitor0" Modeline "1280x720_60.00"
   74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
EndSection
Section "Screen" 
   Identifier "Screen0"  
   Device "Card0"  
   Monitor "Monitor0"
   SubSection "Display"  
       Modes "1280x1024_60.00" "1024x768_60.00" 
   EndSubSection
EndSection 
Section "Device" 
   Identifier "Card0" 
   Driver "i915" 
EndSection

引用自:https://unix.stackexchange.com/questions/337247