我有一个嵌入了linux的触摸屏,xorg和gtk3。 我的问题是,点击后鼠标指针停留 单击的按钮使其颜色与其他按钮不同。 我需要的是点击后鼠标指针会消失。 似乎为了得到这个结果,我需要直接在xorg中工作 (而不是来自gtk)。 我粘贴我的xorg.conf:
Section "ServerLayout"
Identifier "Single head configuration"
InputDevice "touchscreen" "CorePointer"
Screen 0 "Screen0" Absolute 0 0
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "evdev"
Option "XkbLayout" "it"
Option "Device" "/dev/input/event2"
EndSection
Section "InputDevice"
Identifier "touchscreen"
# Driver "evdev"
Driver "tslib"
Option "Calibration" "200 3850 300 3850"
Option "Debug"
Option "SwapAxes" "True"
Option "Device" "/dev/input/event1"
# Option "MinX" "0"
# Option "MaxX" "800"
# Option "MinY" "0"
# Option "MaxY" "480"
# Option "MinX" "200"
# Option "MaxX" "3850"
# Option "MinY" "300"
# Option "MaxY" "3850"
Option "MoveLimit" "10"
Option "DeviceName" "touchscreen"
# Option "ReportingMode" "Raw"
Option "Protocol" "Auto"
Option "longtouched_action" "down"
Option "longtouched_button" "1"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
EndSection
答案 0 :(得分:0)
你需要一个适合触摸屏的GTK +主题,当鼠标悬停在它们上面时,它不会预先显示按钮。我不知道这些主题是否存在。