Review of "Jasmine Launcher" version 1

Details Page Preview

Jasmine Launcher is a GNOME Shell 51 extension that adds a set of desktop cards, a popup launcher, and tablet-mode support for 2-in-1 laptops. What it does: - Desktop cards that can be dragged and placed on the desktop: a launcher card with an inline search field, a music card (MPRIS controls with artwork and a progress bar), a system card (CPU, RAM, GPU, temperature, battery, network throughput, disk usage), a Clean RAM button that closes windowless background apps, and a web panel that shows 1–3 web pages side by side in frameless panes. - Optional cards for Parsec (lists online hosts and connects to them) and Paseo (shows running AI agent sessions and opens them). Both are off by default. - A popup launcher opened with Super+F. It searches applications, evaluates arithmetic expressions, runs power actions (lock, suspend, log out, restart, power off), opens web searches, starts AI sessions through Paseo, and sends text to other applications through the clipboard. - An overlay (Super+W) that temporarily raises the cards and web panel panes above the active windows. - A three-finger swipe down on the touchpad minimizes the focused window. - A tablet mode toggle in the top bar. It enables screen auto-rotation through iio-sensor-proxy and shows a floating on-screen keyboard that can be dragged and resized, with IBus input method support. - Preferences in English or Japanese, following the system language or set manually. Requirements: GNOME Shell 51 on Wayland, WebKitGTK 6.0 and libadwaita for the web panel. iio-sensor-proxy is used for rotation. The Parsec session token is stored in the GNOME Keyring through libsecret. The extension sends no telemetry. Network access happens only inside the features that use it: artwork downloads in the music card, the pages open in the web panel, and the Parsec API when the Parsec card is signed in. Source code: https://github.com/nolqe/jasmine-launcher License: GPL-3.0-or-later

Extension Homepage
https://github.com/nolqe/jasmine-launcher

No comments.

FAQ

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 8 manual_review 1

Shexli found 9 issues that may need reviewer attention.

EGO-X-002 warning

extensions should not use synchronous subprocess APIs in shell code

Shell code should avoid synchronous subprocess APIs like `GLib.spawn_command_line_sync()` and `GLib.spawn_sync()`.

Complete Examples

  • cards/webpanel.js:128
    GLib.spawn_command_line_sync(`pgrep -f ${PANEL_SCRIPT_PATTERN}`)

EGO-X-004 warning

extensions should avoid synchronous file IO in shell code

Shell code should avoid synchronous file IO APIs like `GLib.file_get_contents()` and `Gio.File.load_contents()`.

File Operations

  • common.js:207
    GLib.file_get_contents(path)

EGO-A-005 manual_review

extensions should not access the clipboard directly

Direct clipboard access via `St.Clipboard.get_default()` requires reviewer scrutiny.

Review Guidelines

  • features/muse.js:73
    St.Clipboard.get_default()
  • launcher.js:114
    St.Clipboard.get_default()

EGO-P-006 warning

unnecessary build and translation artifacts should not be shipped

Compiled GSettings schemas should not be shipped for 45+ packages.

Don't include unnecessary files

  • schemas/gschemas.compiled
    schemas/gschemas.compiled

EGO-P-007 warning

JavaScript files should be reachable from extension.js or prefs.js

Some JavaScript files are not reachable from `extension.js` or `prefs.js` imports.

Don't include unnecessary files

  • webpanel.js

EGO-L-002 warning

objects created by extension should be destroyed in disable()

Objects assigned in `enable()` are missing matching `.destroy()` calls in `disable()` or its helper methods.

Destroy all objects

  • extension.js:114
    this._tabletIcon = new St.Icon({icon_name: 'computer-symbolic', style_class: 'system-status-icon'})

EGO-L-005 warning

owned object references should be released in disable()

Owned references that are cleaned up in `disable()` should also be released with `null` or `undefined`.

Destroy all objects

  • extension.js:256
            this._column = new St.Widget({
                style_class: `jw-column ${this._isLight() ? 'jw-light' : 'jw-dark'}${this._applyFg() ? ' jw-fg' : ''}`,
                layout_manager: new Clutter.FixedLayout(),
                reactive: false,
            })
  • extension.js:115
    this._tabletButton = new PanelMenu.Button(0.0, _('Tablet mode'), true)

EGO-L-003 warning

signals connected by extension should be disconnected in disable()

Signals assigned in `enable()` are missing matching disconnect calls in `disable()` or its helper methods.

Disconnect all signals

  • extension.js:139
            this._tabletButton.connect('event', (_b, ev) => {
                const t = ev.type();
                if (t === Clutter.EventType.BUTTON_RELEASE || t === Clutter.EventType.TOUCH_END) {
                    this._tablet?.toggle();
                    return Clutter.EVENT_STOP;
                }
                retur

EGO-L-004 warning

main loop sources should be removed in disable()

Main loop sources assigned in `enable()` are missing matching removals in `disable()` or its helper methods.

Remove main loop sources

  • extension.js:43
                    GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
                        if (this._settings) {
                            this.disable();
                            this.enable();
                        }
                        return GLib.SOURCE_REMOVE;
                    })

All Versions

Version Status
1 Unreviewed

Previous Reviews on this Version

nolqe posted a review
Notes for reviewers: the Web Panel is implemented as a separate gjs process (webpanel.js, GTK4/WebKitGTK) spawned by cards/webpanel.js, because WebKit cannot run inside the Shell process. The process is terminated when the extension is disabled or the card is removed. Other subprocess uses: launching the Parsec client (cards/parsec.js), clearing the Parsec token with secret-tool (prefs.js), and reading GPU usage from /proc (cards/system.js). No telemetry or background network access.