Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KWin KWin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Plasma
  • KWinKWin
  • Merge requests
  • !2481

Change global shortcuts to use the Meta key by default

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Nate Graham requested to merge ngraham/kwin:switch-to-meta-based-global-shortcuts into master May 27, 2022
  • Overview 15
  • Commits 1
  • Pipelines 4
  • Changes 2

The current shortcuts could conceivably override app shortcuts, since they don't use the Meta key. The following changes are made:

Switch keyboard layout:               Ctrl+Alt+K   -> Meta+Alt+K
Activate window that wants attention: Ctrl+Alt+A   -> Meta+Ctrl+A
Kill Window:                          Ctrl+Alt+Esc -> Meta+Ctrl+Esc

These are safe to change in the code rather than adding new ones and keeping the old ones around for compatibility's sake because KGlobalAccel::setDefaultShortcuts by default preserves old shortcuts when they are changed, and we aren't overriding that behavior here. So only new installs will get the new shortcuts and existing user installs will be untouched.

I tested this and verified that the old shortcuts still work, and the new ones don't. If folks would prefer that the new shortcuts also work for existing user installs, I can add them in addition to the old ones.

@teams/usability

Edited Jun 02, 2022 by Nate Graham
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: switch-to-meta-based-global-shortcuts