Touchscreen calibration with latest XBMC Live
#1
I've been testing XBMC Live for the past few days, and it's been promoted as my bit-perfect flac player already. Big Grin

Today, I installed the touchscreen drivers from eGalax, but still can't get it to run the calibration tool.

I can start the calibration tool from another terminal shell with
Code:
eGalaxTouch32 -display localhost:0
, and the calibration application will display right on top of the Xbmc interface, but the pointer arrow simply disappears.

Is there any way that I can launch an external program or tool from within XBMC?
Reply
#2
Joao Wrote:I've been testing XBMC Live for the past few days, and it's been promoted as my bit-perfect flac player already. Big Grin

Today, I installed the touchscreen drivers from eGalax, but still can't get it to run the calibration tool.

I can start the calibration tool from another terminal shell with
Code:
eGalaxTouch32 -display localhost:0
, and the calibration application will display right on top of the Xbmc interface, but the pointer arrow simply disappears.

Is there any way that I can launch an external program or tool from within XBMC?

The way I managed to execute an OS command from within XBMC was to write a python script and launch it from scripts.

eg
Code:
sudo nano ~/.xbmc/scripts/"My Scripts"/cal.py

Copy this into it

Code:
import os
os.system('eGalaxTouch32 -display localhost:0')

Save ( CTRL o ) then exit ( CTRL x)

Now if you go into Scripts > Scripts > My Scripts you should see a file called cal.
select it and it should run your command
Reply
#3
Bagger, thank you!! I will definitely try that!
Reply
#4
Bagger,

just tried that, and it works. BUT, the mouse pointer is focused on the XBMC window, and so I can't use the calibration app window. Eek

Is there any way to grab the focus and put it in the calibration window?
Reply
#5
Joao Wrote:Bagger,

just tried that, and it works. BUT, the mouse pointer is focused on the XBMC window, and so I can't use the calibration app window. Eek

Is there any way to grab the focus and put it in the calibration window?

Unfortunately, that's as much as I know ...Sorry, pretty much a Linux novice my self. (running an OS command via a py script was just something I picked up whist on a quest so sort out one of my own problems )
Reply
#6
Bagger Wrote:Unfortunately, that's as much as I know ...Sorry, pretty much a Linux novice my self. (running an OS command via a py script was just something I picked up whist on a quest so sort out one of my own problems )

Thanks Bagger!

I've been away from Linux for the past 8 years, so much to catch up with! Wink
Reply
#7
A little googling got me to this: http://blog.burlock.org/xbmc/77-fullscre...-the-mouse

Small problem now: trying to install wmctrl gives an "E: Couldn't find package wmctrl" error.

Any clues? Huh
Reply
#8
sounds like you dont have the right repositories in the sources list.

Cant you just download the .tar and install from that.
A quick google and it turns up on the home page http://tripie.sweb.cz/utils/wmctrl/#download
Reply
#9
Bagger Wrote:sounds like you dont have the right repositories in the sources list.

Hmm, anything to do with the SVN repo installer? I always get an error when launching it from the XBMC interface. I think the same has been posted here: http://forum.xbmc.org/showthread.php?tid=69453

Quote:Cant you just download the .tar and install from that.
A quick google and it turns up on the home page http://tripie.sweb.cz/utils/wmctrl/#download

Yes, I guess I could do it. But wouldn't it be better using the apt-get app?
Reply
#10
Ok, managed to install wmctrl through apt-get, but executing it throws the error:

Cannot get client list properties.
(_NET_CLIENT_LIST or _WIN_CLIENT_LIST)



Any clues?
Reply

Logout Mark Read Team Forum Stats Members Help
Touchscreen calibration with latest XBMC Live0