Repository navigation
GNOME Shell extension and protocol, API 1 - #1
Merged
Merged
Conversation
com.giglabo.SMBAct.Shell1 over D-Bus (JSON in Call, Event signal): window list with icons and X11 ids, getWindow, activeWindow, moveResize (two steps, so windows with resize increments keep the position), activate, raise, setState (minimized, maximized, horizontal / vertical, fullscreen, above), close, showDesktop, displays, pointer; windowsChanged / focusChanged events. Only the owner of com.giglabo.SMBAct may call. GNOME Shell 46-51. scripts/pack.sh builds the zip for gnome-extensions install; scripts/call.py calls the extension by hand. Checked on GNOME Shell 50.1 (Ubuntu 26.04), Wayland, two monitors at mixed scales. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tags ci.yml: syntax of extension.js, call.py and metadata.json, then the zip as an artifact. release.yml: a tag vX.Y.Z (must equal metadata.json version-name) publishes the zip and SHA256SUMS as a GitHub release, which SMBAct pins. getWindow / activeWindow take icons too, moveResize takes a client rect (space: client), iconPng turns an SVG icon into PNG. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SMBAct knows its own windows by their X11 ids. 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.
The first version of the SMBAct GNOME Shell extension (
smbact@giglabo.com, GNOME Shell 46–51) and the protocol both sides follow (PROTOCOL.md).com.giglabo.SMBAct.Shell1: JSON requests inCall,Eventsignal (windowsChanged,focusChanged). Only the owner ofcom.giglabo.SMBActmay call.hello,listWindows(icons, X11 ids, stacking),getWindow,activeWindow,moveResize(frame or client rect, two steps for windows with resize increments),activate,raise,setState,close,showDesktop,displays,pointer,iconPng. Requests accept the X11 id of an XWayland window asid.scripts/pack.shbuilds the zip,scripts/call.pycalls the extension by hand.vX.Y.Z(equal toversion-name) publishes a release with the zip andSHA256SUMS.Checked on GNOME Shell 50.1 (Ubuntu 26.04), Wayland, two monitors at mixed scales, with SMBAct's GNOME backend driving it.
🤖 Generated with Claude Code