balena-labs-projects / balena-dash

Build a Raspberry Pi based desktop dashboard for stats, photos, videos and more!

Home Page:https://balena.io/blog/make-a-web-frame-with-raspberry-pi-in-30-minutes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kiosk: Disable F1 Key?

geokscott opened this issue · comments

When in Kiosk mode utilizing a keyboard, hitting F1 will bring up a Chromium browser page with help. If there an Environmental Variable setting that will disable some of the F key functions?

hey @phil-d-wilson any suggestions here please?

@rahul-thakoor since we are starting Chromium with no window manager, I don't think we can do this without using a browser extension (which we can't do right now). I think we'd have to run Chromium in a window manager, and then alter the key-bindings.

As an example, here's how you would do it with openbox:
http://openbox.org/wiki/Help:Bindings#Key_bindings