Bug 435744

Summary: kioclient5 exec should be able to open .desktop files without absolute path
Product: [Plasma] kde-cli-tools Reporter: Thiago Sueto <herzenschein>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: a.samirh78, kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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 :)