Bug 435744 - kioclient5 exec should be able to open .desktop files without absolute path
Summary: kioclient5 exec should be able to open .desktop files without absolute path
Status: RESOLVED NOT A BUG
Alias: None
Product: kde-cli-tools
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-14 23:05 UTC by Thiago Sueto
Modified: 2021-04-20 16:04 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Sueto 2021-04-14 23:05:05 UTC
It would be easier to script with kioclient5 if it behaved like gtk-launch, which allows to execute .desktop files simply by running their filename directly:

gtk-launch org.kde.dolphin.desktop

or

gtk-launch org.kde.dolphin

(both work)

Currently the only syntax available for kioclient5 to open a .desktop file is

kioclient5 exec /usr/share/applications/org.kde.dolphin.desktop
Comment 1 Ahmad Samir 2021-04-20 16:03:31 UTC
I think for that functionality you can use kstart:
kstart5 --application org.kde.dolphin
Comment 2 Ahmad Samir 2021-04-20 16:04:17 UTC
Closing, feel free to reopen if you disagree :)