cog
cog copied to clipboard
Unable to exit cog while running on DRM
Discussed in https://github.com/Igalia/cog/discussions/493
Originally posted by chrisvollorenew September 20, 2022 Hello,
I am running cog on drm (cog -P drm file:/// .. ) mode on an embedded device. The cog browser launches from a process that is called at boot. If I plug in a keyboard to my embedded device, I am able to navigate the browser, but I am not sure how to force the browser to exit. Ctrl + C does not seem to be working. How can I force cog to exit with the keyboard?
@philn thank you! Looking forward to hearing the solution.
Currently we do not have support for key bindings in the DRM plug-in, it needs to be implemented.
With https://github.com/Igalia/cog/pull/574 now all platfoprm plug-ins have support for the basic key bindings. Using Ctrl-W
should close Cog also when running on DRM/KMS (the rest of the available key bindings are listed in the documentation).