SDL2 / Kivy keyboard event not firing in Snap

Olivier Tilloy olivier.tilloy at canonical.com
Thu Jan 26 12:06:36 UTC 2017


On Tue, Jan 24, 2017 at 3:04 PM, Michael Hall <mhall119 at ubuntu.com> wrote:
> On 01/24/2017 08:47 AM, Alan Pope wrote:
>> On 24 January 2017 at 10:22, Olivier Tilloy
>> <olivier.tilloy at canonical.com> wrote:
>>> That sounds very similar to the issue I was having with the 0ad snap,
>>> which after much debugging I fixed by exporting $XLOCALEDIR, see
>>> details here: https://bazaar.launchpad.net/~osomon/+junk/0ad-snap/revision/8.
>>>
>>
>> You're a star. I have had a LÖVE (also SDL) game on the back burner
>> because keyboard input didn't work, this fixed it, and should open the
>> door for other games built using LÖVE into the store!
>>
>>> Let us know if that did the trick.
>>> Also, this should be documented somehow for people snapping X11/SDL
>>> games. Do we have a place for such tips and tricks?
>>>
>>
>> Maybe we need an X11/SDL plain launcher remote part which people can
>> pull in, that includes this kind of detail?
>>
>> Cheers,
>>
>
> Is there any reason not to add it to the desktop-helpers remote part?
> XLOCALEDIR isn't SDL-specific, it just seems to be the first thing
> that's brought it to our attention.

There you go: https://github.com/ubuntu/snapcraft-desktop-helpers/pull/41

Not actually tested with an app using the desktop helpers, so feedback welcome!




More information about the Snapcraft mailing list