Fórum Ubuntu CZ/SK
		Ubuntu pro osobní počítače => Instalace, aktualizace a spouštění => Téma založeno: Hakito  13 Ledna 2013, 22:01:37
		
			
			- 
				Zdravím,
místo myši používám trackball Trackman Marble od Logitechu.
http://www.logitech.com/en-us/product/trackman-marble (http://www.logitech.com/en-us/product/trackman-marble)
Před týdnem mi shořel zdroj, tak jsem dal PC do servisu a když se mi vrátil, uvědomil jsem si že mi nefunguje spouštěcí soubor na úpravu funkcí jednotlivých tlačítek trackabllu.
Soubor se jmenuje trackball.sh a je nastavený jako spustitelný program. Umístěn v domovském adresáři.
V nastavení mám příkaz pro spuštění souboru po spuštění systému.
Soubor se ale nespustí.
Obsah souboru trackball.sh:
#!/bin/bash
xinput set-button-map "8" 1 2 3 4 5 6 7 8 9
xinput set-int-prop "8" "Evdev Wheel Emulation Button" 8 8
xinput set-int-prop "8" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "8" "Evdev Wheel Emulation Axes" 8 6 7 4 5
xinput set-int-prop "8" "Evdev Wheel Emulation X Axis" 8 6
Vážně nevím, co se mohlo stát. Taky je možné, že se to zázrakem samovolně spraví, jako se mi v (x)ubuntu mnohokrát stalo..
Každopádně budu rád za každou pomoc!
			 
			
			- 
				Tlačítka nefungují správně ani po přeinstalaci celého systému.
Jediné, co jsem našel, co se týká téhož, je na stránce linuxquestions.org(http://is.gd/OyT5Ot (http://is.gd/OyT5Ot) - zkráceno), kde radí přepsat xorg.conf, ale toho se trochu bojím.. Můžete mi s tím trochu pomoct? Jak to nakopírovat, popřípadě kam?
# - - - Logitech Marble Mouse Settings - - -
#
# For the sake of comments below, a Logitech Marble Mouse has buttons
# labeled from left to right: A (large), B, C, D (large).
# Preferred options for right-handed usage are:
# Left to right: A=1,normal click B=2,middle-click C=2,middle-click D=3,right-click
# Press button B (hold button while rolling trackball) to emulate wheel-scrolling.
# Preferred options for left-handed usage (saying 'alternate-click' instead of 'right click'):
# Left to right: A=3,alternate-click B=2,middle-click C=2,middle-click D=1,normal click
# Press button C (hold button while rolling trackball) to emulate wheel-scrolling.
# The trackball can scroll in two-axes, unlike a typical wheel mouse. Adjust the
# settings to constrain the scroll action to vertical-axis-only if you prefer.
# Pressing both large buttons simultaneously (b) produces a "back" action (=. Finally,
# pressing and holding button B while rolling the trackball emulates wheel-rolling action.
Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
# Physical button #s: A b D - - - - B C b = A & D simultaneously; - = no button
Option "ButtonMapping" "1 8 3 4 5 6 7 2 2"
# Option "ButtonMapping" "1 8 3 4 5 6 7 2 2" # For right-hand placement
# Option "ButtonMapping" "3 8 1 4 5 6 7 2 2" # For left-hand placement
#
# EmulateWheel refers to emulating a mouse wheel using Marble Mouse trackball.
Option "EmulateWheel" "true"
# Option "EmulateWheelButton" "8" # Factory default; use "9" for left-side placement.
Option "EmulateWheelButton" "8"
# Option "ZAxisMapping" "4 5"
Option "ZAxisMapping" "4 5"
# Option "XAxisMapping" "6 7" # Disable this for vertical-only scrolling.
# Option "XAxisMapping" "6 7"
# Emulate3Buttons refers to the act of pressing buttons A and D
# simultaneously to emulate a middle-click or wheel click.
Option "Emulate3Buttons" "true"
# Option "Emulate3Buttons" "true" # Factory default.
EndSectionJe to děsivé..
			 
			
			- 
				Fajn, tak jsem připsal xorg.conf podle návodu na wiki http://wiki.ubuntu.cz/vícetlačítková_myš (http://wiki.ubuntu.cz/vícetlačítková_myš) a funguje to. Uff, díky bohu.