[LINUX] Touchscreen (touch screen) issue only with XBMC?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
oxist Offline
Junior Member
Posts: 3
Joined: Mar 2010
Reputation: 0
Post: #11
i have the same problem on my touchscreen

How do i point the existing auto start for XBMC to the new /usr/bin/runXBMC file?

thanks
find quote
barrydocks Offline
Junior Member
Posts: 26
Joined: Jan 2011
Reputation: 1
Post: #12
oxist Wrote:i have the same problem on my touchscreen

How do i point the existing auto start for XBMC to the new /usr/bin/runXBMC file?

thanks


I need the same answer? work around works great!
find quote
LoloMc² Offline
Senior Member
Posts: 161
Joined: Mar 2009
Reputation: 0
Post: #13
Thank you for tips, it works too on mine. Just a question, when double clicking on the "runXBMC" file generated, it asks me "launch in a terminal / launch / edit /whatever"...

Is there any way to avoid to answer to this question Confused


Rgs,
find quote
Swifty Offline
Fan
Posts: 482
Joined: Nov 2008
Reputation: 1
Post: #14
Just wanted to say thanks for this find! Up until now I'd been manually patching xbmc to get the touchscreen working - now with this fix I don't have to Big Grin
find quote
stujarvis Offline
Junior Member
Posts: 1
Joined: Nov 2011
Reputation: 0
Post: #15
EDIT - Actually, I don't think my issue is XBMC specific at all - I see the same launching X alone. Hmm, must need to fiddle with Ubuntu to get the touch screen working. But that's offtopic here.

Sorry for the noise, I'll leave my original post below anyway, just in case...

Quote:Hi all,

I'm running XBMC on an ExoPC (same hardware as some other posters). It is from XBMC Live 10.1 but is installed to the hard drive now. This thread, the bug report in Trac and a bit of Googling have not enlightened me ;-)

The file /usr/bin/runXBMC already exists so I tried adding
export SDL_MOUSE_RELATIVE=0
at the start of this file but this has no discernible effect.
As far as I can see, runXBMC in XBMC Live is starting an X session in which to run XBMC (at least, if I try and run xbmc or xbmc-standalone directly it fails due to lack of X). My hunch is that I need to insert the
export SDL_MOUSE_RELATIVE=0
at a very specific point in this file to get things working. I'm not getting any errors and can launch XBMC from the shell by running runXBMC which also makes me think just the insertion point is somehow wrong.

Can anyone help me with where exactly to insert that command? I can post the current runXBMC contents if that helps. But if you have XBMC live then it is at /usr/bin/runXBMC on your system. I've been inserting 'export SDL_MOUSE_RELATIVE=0' straight after the comments.

Thanks for your time.
(This post was last modified: 2011-11-30 14:15 by stujarvis.)
find quote
kais Offline
Junior Member
Posts: 1
Joined: Jan 2011
Reputation: 0
Post: #16
Sorry about the delay but here is part of my modified /usr/bin/runXBMC script that works in my exopc:

Code:
...
#  http://www.gnu.org/copyleft/gpl.html


if [ "$(pidof xbmc.bin)" ] ; then
        exit
fi

# BEGIN kais 23.1.2011: Otherwise touchscreen doesn't work
export SDL_MOUSE_RELATIVE=0
# END kais 23.1.2011: Otherwise touchscreen doesn't work

if [ "$(pidof X)" ] ; then
        /usr/bin/xbmc --standalone
        exit
fi
...

The code starts just after the comments in the beginning of the file. Only modification that I have made is between #BEGIN and #END tags. Hopefully this helps.

BR
find quote
curly Offline
Junior Member
Posts: 5
Joined: Jul 2009
Reputation: 0
Post: #17
(2011-02-14 19:59)Blacksheep70 Wrote:  ..... At least you have to point the existing auto start for xmbc to the new /usr/bin/runXBMC file.

This looks promising but where would I find that "auto start" for xbmc in XBMCbuntu current (eden?)?
(This post was last modified: 2012-04-20 11:20 by curly.)
find quote
djtaus Offline
Junior Member
Posts: 4
Joined: Jul 2011
Reputation: 0
Post: #18
Working fine, but how is the SDL_MOUSE_RELATIVE=0 added to the auto start?
find quote
djtaus Offline
Junior Member
Posts: 4
Joined: Jul 2011
Reputation: 0
Post: #19
Anyone?
find quote
Bl4cKd00M Offline
Junior Member
Posts: 1
Joined: Sep 2012
Reputation: 0
Post: #20
GREAT!!

i just signup now on the forum for search a possible answer for my eeeTOP with same problem; now work fine.

tnx Blacksheep70

(sorry if this its crossposting Tongue )
find quote