Summary: | Whether File is "Executable" Depends on Extension, not Execute Bit | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | stellarpower <stellarpower> |
Component: | view-engine: general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | kfm-devel, meven29 |
Priority: | NOR | ||
Version: | 22.12.3 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
stellarpower
2023-08-11 02:15:02 UTC
Don't see a "related" field above, so adding manually: https://bugs.kde.org/show_bug.cgi?id=456356 Symbolic links also seem to be affected - double-clicking a script ending in .sh executes it, whilst double-clicking a symlink in the same directory pointing to it, opens it in Kate. You can add ".fish" extension to mimetype `application/x-executable`. It will then be recognized as executable by dolphin (an d KDE apps). You can `keditfiletype5` utility to do so. FYI I submitted an upstream MR to add proper support for nu scripts and fish scripts everywhere: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/231 Feel free to do the same for xonsh (or open a bug specific for it). |