[PATCH 3/3] qx - fix Xfbdev invocation
Neil Jerram
neil at ossau.homelinux.net
Sat Jan 26 02:08:55 CET 2013
It wants "-nocursor", not "-hide-cursor".
---
src/3rdparty/applications/qx/qx.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/3rdparty/applications/qx/qx.cpp b/src/3rdparty/applications/qx/qx.cpp
index 65a651e..bdc01c0 100644
--- a/src/3rdparty/applications/qx/qx.cpp
+++ b/src/3rdparty/applications/qx/qx.cpp
@@ -438,12 +438,15 @@ void QX::runApp(QString filename, QString applabel, bool rotate)
}
else
{
+#ifdef QT_QWS_NEO
args.append("-hide-cursor");
args.append("-dpi");
args.append("128");
-#ifdef QT_QWS_NEO
xprocess->start("/usr/bin/Xglamo", args);
#else
+ args.append("-nocursor");
+ args.append("-dpi");
+ args.append("128");
xprocess->start("/usr/bin/Xfbdev", args);
#endif
}
--
1.7.10.4
--=-=-=
Possibly these affect GTA04 only though; I'm not sure.
Also, for GTA04 I think the installed xorg.conf has the wrong
/dev/input/event<N> numbers. For GTA04 I believe it should be
touchscreen = 0
Power = 2
AUX = 5
although I suppose even better would be to use the symlinks
/dev/input/touchscreen
/dev/input/power
/dev/input/aux
Are those symlinks created on Freerunner too? If so, that's the best
overall solution.
Also what's the latest thinking on which is best for GTA04, out of Xorg
and Xfbdev? I currently have Xfbdev installed, but I don't remember why
I made that choice.
Regards,
Neil
--=-=-=--
More information about the community
mailing list