RE: FN-FORUM: X-Window Messages
date posted 1st February 2006 15:49
> Anyway, tell us about the hole, not the spade.
Since this is not covered by any confidentiality agreements, here's the
basics:
System for an organisation to give free internet access to people. =
Firefox
(full-screen) runs, and the user can control it.
App Controller is always in the background. If no user keystrokes are
detected for a period, it will do one of either:
- Periodically load up some HTML adverts on the Firefox, or
- Launch mplayer to play some [EMAIL REMOVED] adverts
Furthermore, every n minutes, mplayer will be loaded irrespective, and =
user
will be forced to watch 30secs of [EMAIL REMOVED] before being able to go back to =
their
browsing.
We did a demo of a similar system a while ago, and there were a few
problems, mainly getting the firefox window to resume focus (I no longer
work with the guy who did the demo).
The console uses a custom keyboard, with no ctrl or alt keys. There is =
also
no right mouse button.
We proposed custom keys for things like cancel, refresh and back, the
mappings would be picked up by the X-server and sent to our App =
Controller.
E.g. for refresh would send the events right-mouse followed by Alt-R to =
the
Firefox window.
That's where we are now. How to send window events such as focus, and =
key
strokes to an X-application (Firefox)?
Cheers,
James
=20