cage-kiosk/cage

Firefox/chrome kiosk allows restricted keyboard shortcuts

Opened this issue · 4 comments

When running Firefox/chrome in a typical Linux de (tested on sway). Kiosk mode in these browsers do not allow shortcuts such as ctrl+t, ctrl+w, etc. On cage kiosk mode starts and the taskbar is hidden, however I"m able to start new tabs, and close chrome/Firefox via a shortcut

I even tried starting a chrome PWA which should be restricted even further. This pops up another full screen window over the existing one with the address bar visible

Hi @jordankoehn ,
How do you start Firefox in kiosk mode for Cage?

/use/bin/Firefox --kiosk https://google.com

I tried chromium --enable-features=UseOzonePlatform --ozone-platform=wayland --kiosk. The behavior in Sway is the same as in cage: Ctrl+t and Ctrl+w work on both compositors.

I tried again and sway and you're right. Firefox/chrome/chromium all allow keyboard shortcuts when in kiosk mode. I found some related issues on chromium's GitHub. What's interesting is when running from windows all keyboard shortcuts are disabled in kiosk mode on these browsers.

Before I close this issue, any suggestions on disabling these shortcuts in cage/wlroots? Xdg keymaps only allow changing individual keys