[openbox] A little direction requested = triggering action from overall window input events

Jay Lawrence jayjlawrence70 at gmail.com
Fri Jun 22 10:51:40 EDT 2018


Hi OpenBox community,

Apologies in advance if I’ve misdirected this question. I don’t need an answer pre se but would appreciate any pointers where to focus my search. This area is way out of my expertise and theres a lot of possible directions to go here. I’ll report back my solution once done.

The use case is we have Chrome running under OpenBox and the app is deployed to a public setting running full screen on a touch screen device. I want to create a “special tap sequence" that will trigger an action … a different app will open over top of Chrome  to provide admin functions. (pass code protected of course).

The “special tap sequence” could be 2 tap/click upper left, 1 tap’click lower right, and 2 tap/click lower left all within 10 seconds time. Then a new app would start,  over top of Chrome with its first function to require the entry of the unlock code. Then it does stuff like reboot, shutdown, status info, etc.

What I’d like to know is what part of the X / Window Manager environment  would I look to to implement this. I expect that the Window Manager is processing all X input events and then forwarding the relevant events to the underlying app like chrome. Is there some way to implement my feature in OpenBox?

Or do I look for a “click/tap jacking” app that will run over top of Chrome and it will implement my trigger and action.

Maybe this app exists and I just need to install/config it. I’m at a loss for keywords to search with.

In any event, I want to avoid implementing in the Chrome environment because if Chrome fails to start I still need to have this admin feature available.

Any direction is appreciated.

Many thanks in advance,
Jay


More information about the openbox mailing list