cog icon indicating copy to clipboard operation
cog copied to clipboard

Unable to exit cog while running on DRM

Open philn opened this issue 2 years ago • 1 comments

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 avatar Sep 21 '22 14:09 philn

@philn thank you! Looking forward to hearing the solution.

chrisvollorenew avatar Sep 22 '22 21:09 chrisvollorenew

Currently we do not have support for key bindings in the DRM plug-in, it needs to be implemented.

aperezdc avatar Feb 28 '23 15:02 aperezdc

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).

aperezdc avatar Dec 13 '23 08:12 aperezdc