
モニターが 1 つしかないコンピューターを所有しています。仕様は次のとおりです。
Ubuntu 15.04 - 32 ビット プロセッサー Intel® Pentium(R) Dual CPU E2180 @ 2.00GHz × 2 グラフィックス Intel® G33 x86/MMX/SSE2
lspci コマンドgrep -i vga 00:02.0 VGA 互換コントローラ: Intel Corporation 82G33/G31 Express 統合グラフィックス コントローラ (rev 10) (prog-if 00 [VGA コントローラ])
# lshw -class display
PCI (sysfs) *-画面 説明: VGA互換コントローラー 製品: 82G33/G31 Express 統合グラフィックス コントローラ ベンダー: Intel Corporation 物理ID: 2 バス情報: pci@0000:00:02.0 バージョン: 10 幅: 32 ビット クロック: 33MHz 機能: msi pm vga_controller bus_master cap_list rom 構成: ドライバー=i915 レイテンシ=0 リソース: irq:28 メモリ:feb00000-feb7ffff ioport:e140(サイズ=8) メモリ:d0000000-dfffffff メモリ:fe900000-fe9ffffff
$ xrandr 画面 0: 最小 8 x 8、現在 1024 x 768、最大 32767 x 32767 VGA1 接続プライマリ 1024x768+0+0 (通常左反転右 x 軸 y 軸) 0mm x 0mm 1024x768 60.0* 800x600 60.3 56.2 848x480 60.0 640x480 59.9 VIRTUAL1 切断 (通常左反転右 x 軸 y 軸)
$ sudo xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync $ sudo xrandr --addmode VGA1 1680x1050_60.00 $ xrandr 画面 0: 最小 8 x 8、現在 1680 x 1050、最大 32767 x 32767 VGA1 接続プライマリ 1680x1050+0+0 (通常左反転右 x 軸 y 軸) 0mm x 0mm 1680x1050 60.0*+ 1024x768 60.0 800x600 60.3 56.2 848x480 60.0 640x480 59.9 1680x1050_60.00 60.0 VIRTUAL1 切断 (通常左反転右 x 軸 y 軸)
これは機能します(解像度を変更します)、次に私は
$ sudo reboot
起動時に以前の解像度と次のメッセージが表示されます
No se pudo aplicar la configuración almacenada para los monitores
none of the selected modes were compatible with the possible modes:
Trying modes for CRTC 63 CRTC 63:
trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 63: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 63: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 0)
CRTC 63: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 63: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 63: trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 63: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 63: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 1)
CRTC 63: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 63: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 1)
Trying modes for CRTC 64
CRTC 64: trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 64: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 64: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 0)
CRTC 64: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 64: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 64: trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 64: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 64: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 1)
CRTC 64: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 64: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 1)
Trying modes for CRTC 65
CRTC 65: trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 65: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 65: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 0)
CRTC 65: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 65: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 65: trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 65: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 65: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 1)
CRTC 65: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 65: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 1)
答え1
xrandr
再起動/起動時に希望の解像度が得られるように、起動ファイルに構成を追加する必要があります。
xrandr.sh
たとえば、bash スクリプトを作成し、その中に xrandr コマンドを配置します。
#!/bin/bash xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync xrandr --addmode VGA1 1680x1050_60.00 xrandr --出力 VGA1 --モード 1680x1050_60.00
スクリプトを実行可能にするには
chmod +x xrandr.sh
ダッシュで「スタートアップ アプリケーション」を検索して実行し、スクリプトをスタートアップ アプリケーションとして追加します。
これで、アカウントにログインするたびにコマンドが実行されるようになります。