Skip to content

The menu's floating terminals are named Terminal in the overview - #291

Open
jannyg wants to merge 1 commit into
OrchardLinux:mainfrom
jannyg:floating-terminal-name
Open

jannyg wants to merge 1 commit into
OrchardLinux:mainfrom
jannyg:floating-terminal-name

Conversation

@jannyg

@jannyg jannyg commented Dec 4, 2026

Copy link
Copy Markdown

Disclaimer: This is not my primary field. The change has been mostly vibe coded (with Claude) and tested only on my own device, an iPad Air 2 Cellular (j82).

Fixes #287

What was wrong

The menu's floating windows (Install → Web App, Update → Firmware, browser installs, …) showed as org.omarchy.terminal in the overview and the dock. omarchy-launch-floating-terminal-with-presentation starts them as foot --app-id=org.omarchy.terminal; labwc's overview (app_name() in labwc's 0004-overview.patch) and the dock (DesktopEntries.heuristicLookup) name a window from the desktop entry whose id is its app id, and fall back to the bare id when there is none.

The change

  • desktop/shell/applications/org.omarchy.terminal.desktop: a hidden entry of that id: Name=Terminal, Icon=foot, Exec=foot, NoDisplay=true, StartupWMClass=org.omarchy.terminal.
  • desktop/install-tree: installs it in /usr/share/applications, beside Settings' entry.
  • tests/test_floating_terminal_name.py: the entry's id matches the launcher's --app-id, it is hidden, and the package installs it (644).

NoDisplay keeps it out of the launcher, where foot's own entry is the Terminal. The entries that start xdg-terminal-exec --app-id=org.omarchy.terminal (Install → Package and the like) get the same name once that works (#161).

Tested

On the iPad Air 2 (j82), with the file installed in /usr/share/applications and labwc reconfigured: the overview names the Web App window Terminal with foot's icon, and the launcher shows no second Terminal. The new tests pass; the full suite gives the same result as main.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SLbz23ZoimaemGQ2yfdfhR

omarchy-launch-floating-terminal-with-presentation starts foot with
--app-id=org.omarchy.terminal, and no desktop entry had that id, so
labwc's overview and the dock showed the bare app id for Install > Web
App, Update > Firmware and the like. A hidden entry of that id (Name
Terminal, foot's icon, NoDisplay) names them; the launcher keeps only
foot's own Terminal.

Tested on an iPad Air 2 (j82): the overview shows Terminal with foot's
icon for the Web App window, and the launcher has no second Terminal.

Fixes OrchardLinux#287

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SLbz23ZoimaemGQ2yfdfhR
@jannyg
jannyg marked this pull request as ready for review December 4, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Floating terminals from the menu show as org.omarchy.terminal in open apps

1 participant