Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Pracovní prostředí => Téma založeno: h.giuseppe 21 Října 2011, 11:00:50
-
Nevíte někdo jak se v xubuntu 11.10 ručně nastavuje rozlišení monitoru?
Nechal jsem si vygenerovat xorg.conf a trochu mě mate že tam mam např. sekci monitor třikrát?
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Module"
Load "dbe"
Load "glx"
Load "dri"
Load "dri2"
Load "extmod"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "PrintVGARegs" # [<bool>]
#Option "PrintTVRegs" # [<bool>]
#Option "I2CScan" # [<bool>]
#Option "VBEModes" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "ExaNoComposite" # [<bool>]
#Option "ExaScratchSize" # <i>
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "RotationType" # [<str>]
#Option "Rotate" # [<str>]
#Option "VideoRAM" # <i>
#Option "ActiveDevice" # [<str>]
#Option "BusWidth" # [<str>]
#Option "Center" # [<bool>]
#Option "PanelSize" # [<str>]
#Option "ForcePanel" # [<bool>]
#Option "TVDotCrawl" # [<bool>]
#Option "TVDeflicker" # <i>
#Option "TVType" # [<str>]
#Option "TVOutput" # [<str>]
#Option "TVPort" # [<str>]
#Option "DisableVQ" # [<bool>]
#Option "DisableIRQ" # [<bool>]
#Option "EnableAGPDMA" # [<bool>]
#Option "NoAGPFor2D" # [<bool>]
#Option "NoXVDMA" # [<bool>]
#Option "VbeSaveRestore" # [<bool>]
#Option "DisableXvBWCheck" # [<bool>]
#Option "ModeSwitchMethod" # [<str>]
#Option "MaxDRIMem" # <i>
#Option "AGPMem" # <i>
#Option "I2CDevices" # [<str>]
Identifier "Card0"
Driver "openchrome"
BusID "PCI:1:0:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # <str>
#Option "fbdev" # <str>
#Option "debug" # [<bool>]
Identifier "Card1"
Driver "fbdev"
BusID "PCI:1:0:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card2"
Driver "vesa"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "Monitor2"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
v minulých verzích to fungovalo s tímto
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Module"
Load "dri2"
Load "glx"
Load "record"
Load "extmod"
Load "dri"
Load "dbe"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30 - 85
VertRefresh 50 - 160
# 1280x1024 @ 75.00 Hz (GTF) hsync: 80.17 kHz; pclk: 138.54 MHz
Modeline "1280x1024_75.00" 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -HSync +Vsync
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "PrintVGARegs" # [<bool>]
#Option "PrintTVRegs" # [<bool>]
#Option "I2CScan" # [<bool>]
#Option "VBEModes" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "ExaNoComposite" # [<bool>]
#Option "ExaScratchSize" # <i>
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "RotationType" # [<str>]
#Option "Rotate" # [<str>]
#Option "VideoRAM" # <i>
#Option "ActiveDevice" # [<str>]
#Option "BusWidth" # [<str>]
#Option "Center" # [<bool>]
#Option "PanelSize" # [<str>]
#Option "ForcePanel" # [<bool>]
#Option "TVDotCrawl" # [<bool>]
#Option "TVDeflicker" # <i>
#Option "TVType" # [<str>]
#Option "TVOutput" # [<str>]
#Option "TVPort" # [<str>]
#Option "DisableVQ" # [<bool>]
#Option "DisableIRQ" # [<bool>]
#Option "EnableAGPDMA" # [<bool>]
#Option "NoAGPFor2D" # [<bool>]
#Option "NoXVDMA" # [<bool>]
#Option "VbeSaveRestore" # [<bool>]
#Option "DisableXvBWCheck" # [<bool>]
#Option "ModeSwitchMethod" # [<str>]
#Option "MaxDRIMem" # <i>
#Option "AGPMem" # <i>
Identifier "Card0"
Driver "openchrome"
VendorName "VIA Technologies, Inc."
BoardName "K8M800/K8N800/K8N800A [S3 UniChrome Pro]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024_75.00"
EndSubSection
EndSection
-
Skus to vlozit do "screen0" pretoze v "card0" mas ovladac openchrome tak ako v tom predchadzajucom xorg. Co sa tyka mnozstva sekcii nemas viac grafickych vystupov na karte?
-
No právě, že tam mám jen jeden. Je to generovaný na stejným PC. A jak to myslíš vložit do "screen0"?
Zkoušel jsem použít i ten starý xorg.conf ale také nefunguje...
-
Myslím že ti tam chybí z toho předchozího xorgu důležitý řádek
Modeline "1280x1024_75.00" 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -HSync +Vsync
a ještě pro jistotu
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024_75.00"
EndSubSection
-
Zajímavé je i to, že jsem tam zpět nainstaloval xubuntu 10.04 protože jsem v tom potřeboval pracovat a zjistil jsem že to už nefunguje ani v tom starém xubuntu 10.04 s úplně stejným xorgem jako předtím? Nechápu to....
-
Zastřel te mě ;D.. já jsem si spletl adresáře a kopíroval jsem to do /usr/share/X11 namísto /etc/X11
Příětě si dám pozor, děkuji
-
Prosím co tedy mám napsat do terminálu abych si změnil rozlišení? Po výměně monitoru a zpět se rozhodilo a v nastavení to nejde změnit
-
první musíš napsat co máš za ubuntu, protože u 12.04 xorg.conf neni (ve většině případů) Obecně to můžeš zkusit pomoci xrandru
man xrandrhttp://rysmir.net/blog/2012/05/ubuntu-zmena-rozliseni-a-reseni-zmeny-rozliseni-po-restartu-pocitace/ (http://rysmir.net/blog/2012/05/ubuntu-zmena-rozliseni-a-reseni-zmeny-rozliseni-po-restartu-pocitace/) pokud máš v /etc/X11/xorg.conf tak udělat úpravu jako root gksudo gedit /etc/X11/xorg.conf ale to opravdu jen hádám pokud nedáš více informací :(
-
pouzivani xorg.conf a vubec jeho generovani je spatne :: uvedomte si prosim, ze xorg.conf se nepouziva a nastaveni je v xorg.conf.d/ a .. generatory jsou navic stare
-
neříkám, že je to v pořádku, proto bych xorg.conf editoval pouze v případě, že ho mám. Zajímavé ale je to, že pokud použiji uzavřené ovladače, ty ho vetšinou automaticky generují.
-
neříkám, že je to v pořádku, proto bych xorg.conf editoval pouze v případě, že ho mám. Zajímavé ale je to, že pokud použiji uzavřené ovladače, ty ho vetšinou automaticky generují.
Uzavřené ovladače jsou sto let za opicama občas v tomhle. Prostě na to kašlou jak co je, když to funguje nějak.