Summary: | [ servicemenus ] python script inside .desktop issue | ||
---|---|---|---|
Product: | [I don't know] kde | Reporter: | chibo <chombor> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | fanzhuyifan |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
chibo
2023-10-25 16:36:01 UTC
Hi! Unfortunately this is not a bug of kde, but a bug of the scripts you provided. To begin with, in the .desktop file, it might be easier if you don't put quotes around %U. In that way each individual file will be passed in as a separate argument, which makes it easier to deal with. Furthermore, in the arguments passed to `kdenlive`, the ' ' don't need to be replaced with '\ '. The desktop file and python script work for me after applying the latter fixes. (In reply to fanzhuyifan from comment #1) > Hi! Unfortunately this is not a bug of kde, but a bug of the scripts you > provided. > > To begin with, in the .desktop file, it might be easier if you don't put > quotes around %U. In that way each individual file will be passed in as a > separate argument, which makes it easier to deal with. > > Furthermore, in the arguments passed to `kdenlive`, the ' ' don't need to be > replaced with '\ '. > > The desktop file and python script work for me after applying the latter > fixes. it's not working at all w/o quotes around %U 🤷♂️ ok it works only when i select one but how to parse all instance? Moving discussion to github since this is not a kde issue. https://github.com/chiboreache/plasma_servicemenus/issues/1 |