J'ai un ordinateur avec ONLY ONE MONITOR - voici les spécifications:
Ubuntu 15.04 - 32 bits Processeur Processeur double processeur Intel® Pentium (R) E2180 @ 2,00 GHz × 2 Carte graphique Intel® G33 x86/MMX/SSE2
$ lspci -v | grep -i vga 00: 02.0 Contrôleur compatible VGA: Contrôleur graphique intégré Intel Corporation 82G33/G31 Express (rev 10) (prog-if 00 [contrôleur VGA])
# lshw -class display
PCI (sysfs) * -Display Descripción: Contrôleur compatible VGA Produit: contrôleur graphique intégré 82G33/G31 Express Fabricant: Intel Corporation id físico: 2 informations sur le bus: pci @ 0000: 00: 02.0 version: 10 mot-clé: 32 bits reloj: 33MHz capacidades: msi pm vga_controller bus_master cap_list rom configuration: driver = i915 latence = 0 recursos: irq: 28 memoria: feb00000-feb7ffff gestionnaire: e140 (taille = 8) memoria: d0000000-dfffffff memoria : fe900000-fe9fffff
$ xrandr Écran 0: minimum 8 x 8, courant 1024 x 768, maximum 32767 x 32767 VGA1 connecté à un primaire 1024x768 + 0 + 0 (axe gauche inversé de droite à droite) 0mm x 0mm 1024x768 60.0 * 800x600 60.3 56.2 848x480 60.0 640x480 59.9 VIRTUEL1 déconnecté (axe gauche x inversé à droite)
$ 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 Écran 0: minimum 8 x 8, courant 1680 x 1050, maximum 32767 x 32767 Primaire connecté VGA1 1680x1050 + 0 + 0 (axe des abscisses axe normal x inversement à gauche normal) 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 déconnecté (axe des abscisses axe normal x inversé gauche normal)
Cela fonctionne (change la résolution), alors je fais
$ Sudo reboot
et au début je reçois la résolution précédente et le message suivant
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)
Vous devez ajouter les configurations xrandr
à un fichier de démarrage pour obtenir la résolution souhaitée au redémarrage/au démarrage:
xrandr.sh
par exemple, et placez-y vos commandes 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 --putput VGA1 --mode 1680x1050_60.00
Rendre le script exécutable avec chmod +x xrandr.sh
Recherchez "Applications de démarrage" dans le tableau de bord, exécutez-le et ajoutez le script en tant qu'application de démarrage.
Les commandes seront maintenant exécutées chaque fois que vous vous connecterez à votre compte.