When the "Matrix GUI" application is rotated to 90 using command line option "-display transformed:Rot90", I see two mouse cursors displayed. One cursor is non-destructive ( the repaint must be working ) and I can click on icons using it. The second cursor is moving at 90 degrees to the first and appears to be repainting the graphics the other one just passed over.
Does anyone know a possible solution?
Is there a low level way to rotate a screen display rather than the Qt windowing system which I assume is what matrix-gui is using?
File: /etc/init.d/matrix-gui-e
#! /bin/sh
matrixgui="/usr/bin/matrix_guiE"
GUI_OPTS="-qws /usr/share/matrix/html/menu_main.html"
# -display transformed:Rot90
MULTI_OPTS="Multi: transformed:Rot90 LinuxFb:/dev/fb0 LinuxFb:/dev/fb1"
PIDFILE="/var/run/matrix-gui-e.pid"
test -x "$matrixgui" || exit 0
#export TSLIB_TSDEVICE=/dev/input/event1
#export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
export QWS_KEYBOARD="USB:/dev/input/event0 USB:/dev/input/event1"
#export QWS_MOUSE_PROTO=Auto:/dev/input/mice
export QWS_MOUSE_PROTO=Auto:/dev/input/event1
case "$1" in
start)
# if [ ! -f /etc/pointercal ] ; then
# echo -n "Calibrating touchscreen (first time only)"
# ts_calibrate
# echo "."
# fi
if [ -e $PIDFILE ]; then
PIDDIR=/proc/$(cat $PIDFILE)
if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${matrixgui}" ]; then
echo "$DESC already started; not starting."
else
echo "Removing stale PID file $PIDFILE."
rm -f $PIDFILE
fi
fi
echo -n "Starting Matrix GUI application"
start-stop-daemon --start --quiet --background --exec $matrixgui -- -display "$MULTI_OPTS" $GUI_OPTS
pidof matrix_guiE > $PIDFILE
echo "."
;;
stop)
echo -n "Stopping Matrix GUI application"
start-stop-daemon --stop --quiet --exec $matrixgui
echo "."
;;
*)
echo "Usage: /etc/init.d/matrix-gui-e {start|stop}"
exit 1
esac
exit 0
Thanks in advance,
-Ed