Fórum Ubuntu CZ/SK
Ostatní => Archiv => Téma založeno: Phoenix 20 Června 2007, 20:22:23
-
Je potřeba něco nastavit, aby bylo možné přesouvat okna z jednoho monitoru na druhý? Také mám problém s tím, že Firefox se odmítá spustit na druhém monitoru (respektive prvním). Pro jistotu přidám xorg.conf.
A nevím, proč když mám monitor na notebooku jako primární, zobrazuje se externí lcd monitor jako první a na notebooku jako druhý (například přihlašování je na externím, když spustím Nastavení rozlišení obrazovky, tak notebook se hlásí jako číslo 2).
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
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"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cz"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "Device Interni"
Driver "i810"
BusID "PCI:0:2:0"
Option "MonitorLayout" "NONE,LFP"
EndSection
Section "Device"
Identifier "Device Externi"
Driver "i810"
BusID "PCI:0:2:0"
Option "MonitorLayout" "NONE,CRT"
EndSection
Section "Device"
Identifier "Device Dual Interni"
Driver "i810"
BusID "PCI:0:2:0"
Option "MonitorLayout" "CRT,LFP"
Screen 0
EndSection
Section "Device"
Identifier "Device Dual Externi"
Driver "i810"
BusID "PCI:0:2:0"
#Option "MonitorLayout" "NONE,CRT"
Screen 1
EndSection
Section "Monitor"
Identifier "Monitor Interni"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor Externi"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen Interni"
Device "Device Interni"
Monitor "Monitor Interni"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen Externi"
Device "Device Externi"
Monitor "Monitor Externi"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x800" "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x800" "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen Dual Interni"
Device "Device Dual Interni"
Monitor "Monitor Interni"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen Dual Externi"
Device "Device Dual Externi"
Monitor "Monitor Externi"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x800" "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "1024x768"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Interni"
Screen "Screen Interni"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "ServerLayout"
Identifier "Externi"
Screen "Screen Externi"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "ServerLayout"
Identifier "Dual"
Screen 0 "Screen Dual Interni"
Screen 1 "Screen Dual Externi" Below "Screen Dual Interni"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "ServerFlags"
#Option "DefaultServerLayout" "Interni"
#Option "DefaultServerLayout" "Externi"
Option "DefaultServerLayout" "Dual"
EndSectionTaké mám problém s oblastí, kam se minimalizují okna na druhém (notebookovském) monitoru. Když minimalizuji PSI nebo Operu, nikde se neukáží a já je nemám jak "vyvolat" zpět.
A nakonec mi na externím monitoru, i když zvládá rozlišení 1280x1024 nejde toto rozlišení. Vše jakštakš funguje, změnim v konfiguráku jen tuhle položku a nelze. Když dam Option "DefaultServerLayout" "Externi" tak funguje rozlišení dobře, ale dohromady nikoliv.
-
Tak zprovozněno :) Chyba byla v tom, že jsem tam neměl jeden (nebo více) z těchto modulů:
Section "Module"
Load "dbe"
Load "type1"
Load "synaptics"
...
Pro ostatní, kteří se s tím také trápí, doporučuji zkoušet tak, že po úpravách xorg.conf spustí konzoli ALT + CTRL + F2 a napíšou sudo /etc/init.d/gdm start a potom sudo /etc/init.d/gdm stop, protože u mě se změny záhadným způsobem projevily až déle potom, co jsem restartoval ALT + CTRL + BACKSPACE