D13136: Added a few useful 'Sample commands' for the Run Command plugin

Nicolas Fella noreply at phabricator.kde.org
Sat May 26 16:37:03 UTC 2018


nicolasfella added a comment.


  Thanks!

INLINE COMMENTS

> runcommand_config.cpp:47
>      addSuggestedCommand(defaultMenu, i18n("Maximum Brightness"), QStringLiteral("qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness `qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightnessMax`"));
> +    addSuggestedCommand(defaultMenu, i18n("Lock Screen"), QStringLiteral("qdbus org.kde.screensaver /ScreenSaver Lock"));
> +    addSuggestedCommand(defaultMenu, i18n("Unlock Screen"), QStringLiteral("loginctl unlock-session"));

Why not 'loginctl lock-session' like for unlocking? We try to support non-Plasma setups as good as possible.

REPOSITORY
  R224 KDE Connect

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

To: ivan, #plasma, ngraham, albertvaka, nicolasfella, #kde_connect
Cc: kdeconnect, yannux, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, ndavis, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, ach, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180526/b1afd2ab/attachment-0001.html>


More information about the KDEConnect mailing list