[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X



On Sun, Jun 23, 2002 at 12:36:18PM +0200, MaX wrote:
> Il giorno Sun, 23 Jun 2002 00:47:24 +0200
> Ferdinando <zappagalattica@inwind.it> ha scritto:
> 
> > F 
> > F Beh, modifichi il file di configurazione, non è che sia così difficile
> > F ...
> 
> 
> crea  due /etc/X11/XF86Config-4 differenti da utilizzare in caso di
> necessitá con uno script che li scambi.  riavvii X e cambi la
> risoluzione.
Beh, non c'e` bisogno di usare due file di conf. distinti: puoi
specificare in un unico file due (o piu`) "Screen" differenti e
lanciare X, di volta in volta, richiedendo di usare l'uno o l'altro
Screen.
Io, per esempio, ho in /etc/X11/XF86Config-4 :

<esempio>
Section "Screen"
	Identifier	"Default Screen"
	Device		"TP ATI"
	Monitor		"TP LCD"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "640x480" "800x600"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"quake"
	Device		"TP ATI"
	Monitor		"TP LCD"
	DefaultDepth	8
	Subsection "Display"
		Depth	8
		Modes	"640x480" "320x240" "320x200"
	EndSubsection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "ps2mouse"
        InputDevice     "USBmouse"
EndSection
</esempio>

Cosi`, lanciando X senza opzioni, parte con "Default Screen" (quello
a 1024x768 a 24 bit), mentre lanciando
% startx -- -screen quake
(od anche
% X -screen quake
)
parte a 640x480 a 8 bit.

Ciao,
/dev/null


-- 
To UNSUBSCRIBE, email to debian-italian-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: