Repository navigation
1.0.0-alpha.2: global hotkeys - #3
Merged
Merged
Conversation
…celerator event) Mutter accelerator grabs owned by the current client of com.giglabo.SMBAct: released when it goes away or changes and on disable; NORMAL | OVERVIEW action modes (never the lock screen). A freshly enabled extension asks the bus for the client's owner when its watcher has not reported yet (GNOME re-enables extensions after every unlock and SMBAct grabs again right away). scripts/call.py --grab holds a hotkey and prints its presses. Same API 1; the new ops are listed in hello. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Global hotkeys for SMBAct on GNOME Wayland, same API 1 (the new ops are listed in
hello).grabAccelerator {accelerator}/ungrabAccelerator {accelerator}(GTK notation): Mutter accelerator grabs, the way GNOME grabs its custom shortcuts; they fire whatever window has the focus, in the NORMAL and OVERVIEW action modes only (never the lock screen).GRAB_FAILEDwhen another shortcut has the combination.acceleratorevent with the accelerator and the key press's timestamp.com.giglabo.SMBAct: released when it goes away or changes and on disable. GNOME disables extensions while the screen is locked; clients grab again when the plugin's name comes back (PROTOCOL.md).scripts/call.py --grab '<Control><Alt>j' 30holds a hotkey and prints its presses.Checked in an Ubuntu 26.04 VM (GNOME Shell 50.1) with real key presses: 27 of 27 SMBAct default hotkeys grabbed, presses with a Wayland window in focus,
<Super>Uprefused (GNOME's own), grabs released afterkill -9of the client, grabbed again after lock/unlock and after disable/enable.🤖 Generated with Claude Code