https://bugs.kde.org/show_bug.cgi?id=507910
Bug ID: 507910
Summary: Impossible to call kritarunner in AppImage
Classification: Applications
Product: krita
Version First 5.2.11
Reported In:
Platform: Appimage
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Scripting
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
There should be a way to specify the binary to run when packaged via AppImage.
Specifically the kritarunner command, which I believe is impossible to run
currently.
This post shows how it can be implemented - ideally you would do both:
1. Via checking the `$ARGV0` environment variable and calling the corresponding
binary - this would allow a symlink be made for kritarunner. See:
https://discourse.appimage.org/t/call-alternative-binary-from-appimage/93/10
2. Via some command-line flag passed to AppRun (or even the `krita` command
itself) that would do the same, e.g. `krita.AppImage --kritarunner --help`
STEPS TO REPRODUCE
1. Download the AppImage and make a symlink to it on same folder called
`kritarunner`
2. Run `kritarunner --help`
OBSERVED RESULT
It shows the result of `krita --help`, with no apparent option to run
kritarunner.
EXPECTED RESULT
Being able to run kritarunner somehow. Both through symlink and some flag like
`--kritarunner`.
SOFTWARE/OS VERSIONS
Operating System: Kubuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Kernel Version: 6.14.0-27-generic (64-bit)
Graphics Platform: X11
ADDITIONAL INFORMATION
AppImage (unfortunately?) doesn't have a standard way to run other binaries
(like the proposed `--appimage-exec` flag), and it seems like it won't be
implemented, as their vision seems to be that it's up to the app developer to
opt-in to expose this via e.g. a custom AppRun script or in the payload main
app binary.
I don't know much about AppImages, but I've also tried mounting the AppImage
with `--appimage-mount` and running the binary directly, but it doesn't work -
which is understandable as presumably they were never intended to be run this
way (?).
--
You are receiving this mail because:
You are watching all bug changes.