Portál AbcLinuxu, 12. května 2025 10:41
Tak jsem vyresil problem s Xkama, aby bezely na jak na notebooku, tak zaroven na externim LCD monitoru pripojeneho k notebooku.
Obraz je stejny, ale problem je v tom, ze na monitoru u notebooku sipku mysi vydim, ale na externim monitoru tu sipku nevidim.
Na externim monitoru vidimm vse co se deje na monitoru notebooka, ale proste tu sipku nevidim.
Jelikoz chci pracovat na tom externim monitoru, tak bych potreboval, aby ten kurzor mysi byl videt. Mate radu?
Tady je muj xorg.conf:
# 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 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 commands as root: # # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom # md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum # dpkg-reconfigure xserver-xorg Section "Files" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" EndSection Section "Module" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "evdev" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc101" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "ATI Technologies, Inc. Rage Mobility M3 AGP 2x (Primary)" Driver "ati" BusID "PCI:1:0:0" # Option "MergedFB" "true" # Option "MetaMode" "1024x768-1024x768 1024x768-1024x768" # Option "MergeDPI" "100 100" Screen 0 EndSection Section "Device" Identifier "ATI Technologies, Inc. Rage Mobility M3 AGP 2x (Secondary)" Driver "ati" BusID "PCI:1:0:0" Screen 1 EndSection Section "Monitor" Identifier "Notebook Monitor" Option "DPMS" HorizSync 28-49 VertRefresh 43-72 EndSection Section "Monitor" Identifier "External Monitor" Option "DPMS" HorizSync 28-83 VertRefresh 43-72 EndSection Section "Screen" Identifier "Default Screen" Device "ATI Technologies, Inc. Rage Mobility M3 AGP 2x (Primary)" Monitor "Notebook Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "External Screen" Device "ATI Technologies, Inc. Rage Mobility M3 AGP 2x (Secondary)" Monitor "External Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen 0 "Default Screen" Screen 1 "External Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" Option "Xinerama" "on" Option "Clone" "on" EndSection Section "DRI" Mode 0666 EndSection
Tak to je asi rozlisenim toho externiho monitoru. Jak mele jsem rozliseni zmenil na maximum toho externiho monitoru, tak kursor mysi se objevil.
Vziknul ale dalsi problem . Ten spociva v tom, ze nyny notebook monitor a external monitor maji jine rozliseni. Externi monitor tedy vypada dost blbe, protoze menu je uprostred obrazovky (jako by to bylo to mensi rozliseni) ale mys se muze pohybovat po cele obrazovce)
Tak jsem dale experimentoval
Mimochodem velice poucne psani http://www.winischhofer.at/linuxsispart2.shtml#forcecrt2type
Nastavil jsem to jak je to v nasledujicim vypisu xorg.conf
a mam ted TwinView, tedy dva monitory nezavisle na sobe. Nevim ale jak mezi nimy prepinat. Vi nekdo?
# 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 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 commands as root: # # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom # md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum # dpkg-reconfigure xserver-xorg # Configuration for notebook and external LCD monitor. # Each monitor has its own screen. # Problem is to switch between those screens (not resolved). Section "Files" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" EndSection Section "Module" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "evdev" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc101" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/psaux" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "ATI Technologies, Inc. Rage Mobility M3 AGP 2x (Primary)" Driver "ati" BusID "PCI:1:0:0" Option "MetaMode" "1024x768-1024x768 1024x768-1024x768" #important for dual mode Option "MonitorLayout" "CRT,LFP" Screen 0 EndSection Section "Device" Identifier "ATI Technologies, Inc. Rage Mobility M3 AGP 2x (Secondary)" Driver "ati" BusID "PCI:1:0:0" Option "MetaMode" "1280x1024 1280x1024 1280x1024-1280x1024" #important for dual mode Option "MonitorLayout" "CRT,LFP" Screen 1 EndSection Section "Monitor" Identifier "Default Monitor" Option "DPMS" HorizSync 28-49 VertRefresh 43-72 EndSection Section "Monitor" Identifier "External Monitor" Option "DPMS" HorizSync 30-83 VertRefresh 56-76 EndSection Section "Screen" Identifier "Default Screen" Device "ATI Technologies, Inc. Rage Mobility M3 AGP 2x (Primary)" Monitor "Default Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "External Screen" Device "ATI Technologies, Inc. Rage Mobility M3 AGP 2x (Secondary)" Monitor "External Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen 0 "Default Screen" Screen 1 "External Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" # Option "Xinerama" "off" # Option "Clone" "on" EndSection Section "DRI" Mode 0666 EndSection
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.