V2: Show Package Installer in "Open With" for AppImage files

Open Beginner friendly
#156 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp
Domain
desktop

Research direction

The change is a two-line edit to the packaged desktop entry cachyos-pi.desktop: append %f to Exec= and add the AppImage MIME types to MimeType=. Read that file first, then confirm main.cpp already handles a file argument so no code change is needed. Run desktop-file-validate cachyos-pi.desktop and refresh the MIME cache, then check that Dolphin's Open With lists Package Installer for an .AppImage.

Written by the indexing model from the issue text.

Description

Right-clicking an .AppImage in Dolphin doesn't offer Package Installer, so the only way to add one is opening the app and using the file picker on the AppImage page. Gear Lever does this in one click from the file manager.

The app already supports it: main.cpp takes a file argument and opens the AppImage page with it. Only the desktop file is missing it. cachyos-pi.desktop has Exec=/usr/bin/cachyos-pi with no %f and no MimeType. Adding

Exec=/usr/bin/cachyos-pi %f
MimeType=application/vnd.appimage;application/x-iso9660-appimage;

would make it show up in Open With (and allow double-click if set as default).

CachyOS, Plasma 6, Package Installer 2.0.0.

Dominant language
C++
Stars
43
Forks
39
Avg merge
1d 4h
Merged PRs (30d)
15

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CachyOS/packageinstaller

All issues in CachyOS/packageinstaller

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.