<div dir="ltr">I&#39;ve created this patch based on fixes 18207 that adds support for sending keyboard commands to a focused X window. I&#39;ve been writing a MythRemote for my n800 internet tablet and I&#39;m using the Mythfrontend telnet control for sending commands to my frontend. I noticed that when mplayer was focused commands were still sent to the frontend. I created this patch to provide a means to send x commands to the focused window. It adds the xkey command (behaves just like key). I also added a sub command &quot;focused&quot; to retrieve the name of the x window that currently has the focus. Its pretty rough, but I thought I&#39;d send it out to get some discussion started.<br>
<br>I did have a couple questions for the list: <br>1. Is there a reason that we don&#39;t already provide a x key send? <br>2. Is there a reason that when we launch something from mythvideo it blocks the mythfrontend process? I fixed this by forcing my video player script to launch a backgrounded mplayer.<br>
<br><br>Yolan<br clear="all"><br>-- <br>Yolan &lt;<a href="mailto:yolanother@gmail.com">yolanother@gmail.com</a>&gt;<br><a href="http://www.doubtech.com">http://www.doubtech.com</a><br>AIM: YolanOTHER<br>ICQ: 74624109<br>
Yahoo: YolanOTHER<br>
</div>