* [gentoo-user] xbmc-13 upgrade to kodi-14 - no physical keyboard input
@ 2016-05-30 19:42 Daniel Frey
2016-06-01 0:17 ` [gentoo-user] " Daniel Frey
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Frey @ 2016-05-30 19:42 UTC (permalink / raw
To: gentoo-user
I finally got around to upgrading all my frontends to kodi-14, and none
of them have any usb keyboard input. I have a physical keyboard plugged
in and it doesn't respond to keypresses.
USB support is built in as the mouse and IR work. The onscreen keyboard
works too, but for some reason the physical one doesn't.
I've noticed some USE changes but none of them "stick out" as a
"must-have-for-physical-keyboard" requirement.
Anyone come across this or have any suggestions?
The old xbmc-13 version did not have this issue.
Dan
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: xbmc-13 upgrade to kodi-14 - no physical keyboard input
2016-05-30 19:42 [gentoo-user] xbmc-13 upgrade to kodi-14 - no physical keyboard input Daniel Frey
@ 2016-06-01 0:17 ` Daniel Frey
2016-06-01 0:18 ` Daniel Frey
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Frey @ 2016-06-01 0:17 UTC (permalink / raw
To: gentoo-user
On 05/30/2016 12:42 PM, Daniel Frey wrote:
> I finally got around to upgrading all my frontends to kodi-14, and none
> of them have any usb keyboard input. I have a physical keyboard plugged
> in and it doesn't respond to keypresses.
I managed to figure this out.
All of my frontends start mythfrontend and I'd created a menu entry for
xbmc/kodi in mythfrontend itself, so I could start it when needed.
Kodi dropped sdl support[1] and so now when it is started in this manner
X doesn't focus the newly-created kodi window. If you boot directly into
kodi apparently this issue doesn't happen.
To get around this, I modified my kodi startup script that mythfrontend
uses:
#!/bin/bash
/usr/bin/kodi &
sleep 3
DISPLAY=:0 xdotool windowfocus `xwininfo -display :0 -name "Kodi" | grep
"Window id:" | cut -d\ -f4`
So the script starts kodi, detaches it, waits a couple seconds for it to
start up, then queries X for it's window ID and forces focus to it.
Works now.
Dan
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: xbmc-13 upgrade to kodi-14 - no physical keyboard input
2016-06-01 0:17 ` [gentoo-user] " Daniel Frey
@ 2016-06-01 0:18 ` Daniel Frey
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Frey @ 2016-06-01 0:18 UTC (permalink / raw
To: gentoo-user
On 05/31/2016 05:17 PM, Daniel Frey wrote:
> On 05/30/2016 12:42 PM, Daniel Frey wrote:
>> I finally got around to upgrading all my frontends to kodi-14, and none
>> of them have any usb keyboard input. I have a physical keyboard plugged
>> in and it doesn't respond to keypresses.
>
> I managed to figure this out.
>
> All of my frontends start mythfrontend and I'd created a menu entry for
> xbmc/kodi in mythfrontend itself, so I could start it when needed.
>
> Kodi dropped sdl support[1] and so now when it is started in this manner
> X doesn't focus the newly-created kodi window. If you boot directly into
> kodi apparently this issue doesn't happen.
>
> To get around this, I modified my kodi startup script that mythfrontend
> uses:
>
> #!/bin/bash
> /usr/bin/kodi &
> sleep 3
> DISPLAY=:0 xdotool windowfocus `xwininfo -display :0 -name "Kodi" | grep
> "Window id:" | cut -d\ -f4`
>
> So the script starts kodi, detaches it, waits a couple seconds for it to
> start up, then queries X for it's window ID and forces focus to it.
>
> Works now.
>
> Dan
>
..aaand I forgot the reference!
[1] http://forum.kodi.tv/showthread.php?tid=212458&pid=1872100#pid1872100
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-01 0:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-30 19:42 [gentoo-user] xbmc-13 upgrade to kodi-14 - no physical keyboard input Daniel Frey
2016-06-01 0:17 ` [gentoo-user] " Daniel Frey
2016-06-01 0:18 ` Daniel Frey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox