elementary / switchboard-plug-keyboard

Switchboard Keyboard Plug
GNU General Public License v2.0
28 stars 22 forks source link

Add specific sections link for Keyboard Shortcuts #389

Closed hezral closed 1 year ago

hezral commented 3 years ago

Problem

Current available API provides direct link to the settings://input/keyboard/shortcuts section and defaults to the first subsection which "Windows" shortcuts. This works, but with the upcoming flatpak approach for AppCenter, flatpak applications are not able to directly add custom shortcuts due to the sandbox permissions limitations. Adding this more granular links would help both developers and users for simpler and better ease of use implementations.

Proposal

Having a direct link to each section would help application developers to directly open the section intended. Proposed link: settings://input/keyboard/shortcuts/windows settings://input/keyboard/shortcuts/workspaces settings://input/keyboard/shortcuts/screenshots settings://input/keyboard/shortcuts/applications settings://input/keyboard/shortcuts/media settings://input/keyboard/shortcuts/universal-access settings://input/keyboard/shortcuts/system settings://input/keyboard/shortcuts/custom

there may be considerations to limit which sections too, as some may be reserved to only system.

Prior Art

no art since this is API related

cassidyjames commented 2 years ago

It does make sense to allow navigating to custom shortcuts via the URI, I think. The others probably make sense, but we also want to make sure we're not over-designing it, especially if we think any of those sections could be grouped differently.

danirabbit commented 1 year ago

Gonna close this as fixed since we added a link to the custom shortcuts section, but until we have demand for linking to other sections there isn't a clear reason to support linking there