[mythtv-users] Loosing focus
Michael T. Dean
mtdean at thirdcontact.com
Mon Jun 15 10:44:52 UTC 2015
On 06/13/2015 10:20 PM, Robin Gilks wrote:
> When a bit of flash plays on a MythNews page, the frontend looses focus
> and the xfwm4 menu at the top of the page (Mythbuntu) becomes visible.
>
> Is there a way of forcing the frontend to take focus again - maybe
> something I can 'poke' through xte or similar ?
>
> It gets a bit tiring having to connect with a tablet and vnc, click
> anywhere on the screen (apart from the top line) to get focus back...
>
I did something like this a long time ago when there was a bug in
Fluxbox that gave the root window focus after certain windows closed,
but used an ancient approach. Things are much easier now, with tools
like xdotool:
http://www.semicomplete.com/projects/xdotool/
Mike
More information about the mythtv-users
mailing list