Skip to content

Install LM Studio's launcher under its own desktop ID - #686

Merged
ryanrhughes merged 1 commit into
omacom:masterfrom
jdvmi00:lmstudio-desktop-entry-20260927
Sep 28, 2026
Merged

ryanrhughes merged 1 commit into
omacom:masterfrom
jdvmi00:lmstudio-desktop-entry-20260927

Conversation

@jdvmi00

@jdvmi00 jdvmi00 commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

lmstudio-bin installs lmstudio.desktop with StartupWMClass=LM-Studio and MimeType=text/plain;, carried over from the old AUR recipe. LM Studio's own AppImage entry is ai.elementlabs.lmstudio.desktop, and its window class is ai.elementlabs.lmstudio. This installs the entry under that ID with the matching StartupWMClass, and declares x-scheme-handler/lmstudio instead of text/plain, so LM Studio no longer offers to open text files and "Open in LM Studio" links reach the app. pkgrel goes to 2.

Tested on aarch64 together with #685: after installing, x-scheme-handler/lmstudio resolves to the new entry, text/plain keeps its existing default, the window class matches, and xdg-open lmstudio://... hands the link to the running app. The x86_64 package builds with the new entry. This and #685 both change the checksum line, so the second to merge needs a rebase.

@ryanrhughes ryanrhughes added the build-approved Maintainer approved this PR to build on the self-hosted pool label Sep 28, 2026
@ryanrhughes
ryanrhughes merged commit 5709db9 into omacom:master Sep 28, 2026
10 checks passed
@jdvmi00
jdvmi00 deleted the lmstudio-desktop-entry-20260927 branch October 14, 2026 00:59
@jdvmi00 jdvmi00 mentioned this pull request Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-approved Maintainer approved this PR to build on the self-hosted pool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants