D29621: [kstart] Port to ApplicationLauncherJob and CommandLauncherJob

Kai Uwe Broulik noreply at phabricator.kde.org
Mon May 11 11:06:03 BST 2020


broulik created this revision.
broulik added reviewers: Plasma, dfaure.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  The existing `--service` is kept for compatibility as it prints out the actually registered DBus name.
  A new argument `--application` is added which also takes a desktop //name//. It prints the launched PID.

TEST PLAN
  - `kstart5 kwrite` launches kwrite
  - `kstart5 --application org.kde.kwrite` launches kwrites and has it properly scoped
  - `kstart5 --application org.kde.kwrite --maximize` launches kwrite and has it properly scoped and its window maximized
  - `kstart5 --application org.kde.kwrite --url file:///home/foo/bar` launches kwrite with that file open

REPOSITORY
  R126 KDE CLI Utilities

REVISION DETAIL
  https://phabricator.kde.org/D29621

AFFECTED FILES
  kstart/CMakeLists.txt
  kstart/kstart.cpp

To: broulik, #plasma, dfaure
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200511/5d9639f4/attachment.htm>


More information about the Plasma-devel mailing list