Portál AbcLinuxu, 19. července 2025 22:01
Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Synaptics" "CorePointer" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "cz" Option "XkbVariant" "qwerty" EndSection Section "InputDevice" Identifier "Synaptics" Driver "synaptics" Option "Device" "/dev/input/mice" Option "Protocol" "auto-dev" Option "Emulate3Buttons" "yes" EndSection Section "Device" Identifier "Videocard0" Driver "intel" EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSectionzkousel sem pridat sekci jen pro mys - zkopiroval sem si ten touchpad a prepsal na:
Section "InputDevice" Identifier "Mouse" Driver "mouse" Option "Device" "/dev/input/mice" Option "Resolution" "800" EndSection.. ale to se nejak minulo ucinkem.. "device" se odkazuje do stejneho dev/input, mno nevim co tam mam dat pro touchpad a co pro mys.. proste :) nevim nic.. tak kdyby se zde nasel nekdo, kdo mi poradi aniz by napsal "rtfm" - protoze sem toho procetl docela dost ale nic neresilo muj konkretni problem.. btw nastaveni mouse acceleration nevede k nicemu :P (proto se poustim do nastavovani xorg.conf) diky wdolek Fedora Core 7, KDE, HP Compaq nx7400 ntb; genius netscroll 311 usb mys s 800dpi
Section "InputDevice" Identifier "Mouse 1" Driver "mouse" Option "Protocol" "Auto" Option "Buttons" "3" Option "Device" "/dev/mouse" #Option "Protocol" "usb" #Option "Protocol" "PS/2" Option "Resolution" "800" Option "ZAxisMapping" "4 5" EndSection
Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Synaptics" "CorePointer" InputDevice "MouseUSB" EndSection Section "InputDevice" Identifier "Synaptics" Driver "synaptics" Option "CorePointer" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "Emulate3Buttons" "yes" Option "AccelFactor" "0.020" EndSection Section "InputDevice" Identifier "MouseUSB" Driver "mouse" Option "SendCoreEvents" "true" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Buttons" "3" Option "Resolution" "800" Option "ZAxisMapping" "4 5" Option "AccelFactor" "0.020" EndSectiontak ani toto nefrci :(( chova se to porad stejne, ja uz vazne nevim.. manual nic, google taktez, forum totez..
Zdravím,
pokud se podíváte na ToDo X.Org, uvidíte zde poznámku:
Mouse Speed (not only acceleration) should be changeable while the server is running. Also USB mice should have the possibility to change speed. (see Bugzilla)což značí, že pro USB myši nelze změnit rychlost přímo v nastavení X.Org serveru. Řešení pro ovladač
mouse
bylo před několika dny přidáno do jeho git repozitáře. Mně stačilo aplikovat tento patch na SRPM balíček xorg-x11-drv-mouse, znovu ho sbalit a přidat do systému. Poté stačí už jen vhodně upravit konfiguraci X.Org podle následujícího příkladu:
Section "ServerLayout" Identifier "DefLayout" Screen 0 "DefScreen" 0 0 InputDevice "Keyboards" "CoreKeyboard" InputDevice "Touchpad" "CorePointer" InputDevice "Logitech MX518" "SendCoreEvents" EndSection Section "InputDevice" Identifier "Touchpad" Driver "synaptics" Option "Protocol" "auto-dev" [snip] Option "MinSpeed" "0.45" Option "MaxSpeed" "0.75" Option "AccelFactor" "0.020" Option "SHMConfig" "True" EndSection Section "InputDevice" Identifier "Logitech MX518" Driver "mouse" Option "Device" "/dev/input/mouse3" Option "Sensitivity" "0.2" #!!! EndSection [snip]
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.