feat: add Linux desktop launcher for dev builds#5076
Open
hobson wants to merge 1 commit into
Open
Conversation
Adds tools/anki-dev.desktop with an ANKI_SRC placeholder and install instructions in README.md for XDG-compatible desktops (GNOME, KDE, etc.). Co-Authored-By: Claude Sonnet 4.6 <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.
Adds tools/anki-dev.desktop with an ANKI_SRC placeholder and install instructions in README.md for XDG-compatible desktops (GNOME, KDE, etc.).
Linked issue (required)
Fixes #5075
Summary / motivation (required)
Adds
tools/anki-dev.desktopwith paramaterized ANKI_SRC path for configuration by developer/tester wishing to integrate a pre-release dev version of the Anki app with their Desktop for testing or daily use.Steps to reproduce (required, use N/A if not applicable)
N/A
How to test (required)
Compile with
just runand then follow the newly added instructions in updated README.md section### Linux Desktop Integration:Open your app grid, find Anki (dev), and launch, pinning it to your toolbar or right click and "Add to Favorites" to verify it launches correctly and is integrated with your particular XDG-compatible Linux Desktop. To verify live (--editable) install, add a new feature and recompile before launching and testing the "Anki (dev)" desktop app.
Checklist (minimum)
just checkDetails
Works as expected on Ubuntu 26.04:
After installing Anki (dev) with this Desktop file, and updating the Software Registry in Ubuntu 26.04 (see new README.md section), the Software Manager (
gnome-software) does not list Anki (dev) under the "Installed" tab, but rather the released "Anki" app which has not been installed. Clicking on that app redirects to the Install link for the Flatpack/release version.Before / after behavior (optional)
N/A
Risk / compatibility / migration (optional)
N/A (developer-only feature)
UI evidence (required for visual changes; otherwise N/A)
Scope