elementary / shortcut-overlay

A native, OS-wide shortcut overlay
https://elementary.io
GNU General Public License v3.0
33 stars 8 forks source link

Add a page showing shortcuts for topmost app #115

Closed simjnd closed 6 months ago

simjnd commented 2 years ago

Problem

There is no standard / universal / uniform way of presenting menus and shortcuts available in a Linux app (Qt, GTK, custom)

Proposal

I'm not sure if this is possible, if there is a universal / a few set ways for apps to register what keyboard shortcuts they use. If it is the case, add a page to the Shortcut Overlay (which you could go to by scrolling) which could show all of the keyboard shortcuts registered by the app along with what they do. This could be especially powerful if combined with #114, and adds discoverability to functionality that can be nested in 3 dropdown menus.

Prior Art (Optional)

iPadOS has been doing that for a few major releases and it is amazing image (Screenshot from https://www.apple.com/ipados/ipados-15/)

There are apps on macOS to do this like the excellent Cheatsheet image (https://www.mediaatelier.com/CheatSheet/)

danirabbit commented 6 months ago

There currently isn't a way to do this. Individual apps could supply their own shortcut cheat sheets and that's the approach that is taken in GNOME for example.

So either this needs to be taken up with Freedesktop Portals or it needs to be individual issue reports against every app to implement a shortcut sheet.

Closing as "Out of scope" for this repository, but please feel free to pursue this in either of the two above directions