Как уже писал в сегодня в новой теме - нуждаюсь в помощи при настройке портретной ориентации на Dell Latitude XT2. Поставил Kubuntu - Magic Rotation не завелась, но другие утилиты, в том числе и дефолтные, отлично поворачивают экран.
Вот только тачскрин работает неправильно: движения искажаются, при нажатии на тачскрин курсор оказываеться совсем не там, где находиться физичесски и работает в принципе наоборот: вместо влево - вниз, вместо право-вверх. При этом тачпад в одном из вариантов поворота работает правильно, во втором не работает правильно ничего.
По дефолту стоит настройка планшета wacom, вот только при каждом старте настойки или системы выдает
graphic tablet error
the default profile does not exist
. При попытке создания схемы через утилиту выдает ту же табличку, только вместо default название создаваемого профиля и не сохраняет его. Нашел в HOME/.kde/share/config/ файл пtabletprofilesrc, его содержимое:
[eraser]
0ForceProportions=true
0RotateWithScreen=true
0ScreenMapping=full
0ScreenSpace=0 0 1280 800
0TabletArea=part
Area=0 0 9600 6000
Button2=
Button3=
Mode=relative
PressureCurve=
Rotate=2
Threshold=0
[pad]
Button1=
Button10=
Button2=
Button3=
Button4=
Button5=
Button6=
Button7=
Button8=
Button9=
StripLeftDown=
StripLeftUp=
StripRightDown=
StripRightUp=
[stylus]
0ForceProportions=true
0RotateWithScreen=true
0ScreenMapping=full
0ScreenSpace=0 0 1280 800
0TabletArea=part
Area=0 0 9600 6000
Button2=
Button3=
Mode=relative
PressureCurve=
Rotate=2
TabletPCButton=off
Threshold=0
[touch]
0ChangeArea=true
0ForceProportions=false
0InvertScroll=on
0RotateWithScreen=false
0ScreenMapping=full
0ScreenSpace=0 0 1280 800
Area=-2147483648 -2147483648 -2147483648 -2147483648
Button4=4
Button5=5
Gesture=off
Mode=relative
Rotate=0
ScrollDistance=0
TapTime=0
Touch=off
ZoomDistance=0
Помогите решить проблему, буду очень благодарен!
нашел я топик где, имхо, была полезная информация о правильной работе тачскрина. Там бы скрипт:
#!/bin/sh
# Find the line in "xrandr -q --verbose" output that contains current screen orientation and "strip" out current orientation.
rotation="$(xrandr -q --verbose | grep 'connected' | egrep -o '\) (normal|left|inverted|right) \(' | egrep -o '(normal|left|inverted|right)')"
# Using current screen orientation proceed to rotate screen and input devices.
case "$rotation" in
normal)
# rotate to the right
xrandr -o right
xsetwacom set "N-Trig Pen stylus" rotate cw
xinput set-prop "N-Trig MultiTouch" "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
;;
right)
# rotate to inverted
xrandr -o inverted
xsetwacom set "N-Trig Pen stylus" rotate half
xinput set-prop "N-Trig MultiTouch" "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
;;
inverted)
# rotate to the left
xrandr -o left
xsetwacom set "N-Trig Pen stylus" rotate ccw
xinput set-prop "N-Trig MultiTouch" "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
;;
left)
# rotate to normal
xrandr -o normal
xsetwacom set "N-Trig Pen stylus" rotate none
xinput set-prop "N-Trig MultiTouch" "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
;;
esac
Сделал на его основе скрипт(закинул в kwrite, сохранил в utf-8 с сокращением .sh, дал права на выполнение), запустил командой из под юзера:
chmod +x /home/gor/rotation.sh
Ошибки не было, просто поле ввода новой команды. Только при каждом повороте выскакивала опять табличка
the default profile does not exist
Подскажите - правильно ли я копаю и что может мне помочь?
решил проблему установкой и настройкой Ubuntu 13.04 - там тач работает при любой ориентации, правде поворот только через настройки - не нашел пока виджета-апплета для этого. Жалко что в Kubuntu это не работает, но работа тача важнее DE. Всем кто будет сталкиваться с подобной проблемой - на Ubuntu 13.04 все работает.
Отправить комментарий