kde-inhibit is a nice tool but it fails when the command needs parameter eg: 'kde-inhibit --power --screenSaver wine someApp -xy' reports 'kdeinhibit: Unknown options: x, y.'
thanks
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kde-cli-tools/-/merge_requests/4
Git commit cbab4f081fdd55ed7eabedcfe5d28fb5c7296ce1 by David Edmundson. Committed on 23/09/2020 at 13:46. Pushed by davidedmundson into branch 'master'. Ignore options after positional arguments i.e `kde-inhibit ls --help` should run "ls --help" not provide the help for kdeinhibit. M +1 -1 kdeinhibit/main.cpp https://invent.kde.org/plasma/kde-cli-tools/commit/cbab4f081fdd55ed7eabedcfe5d28fb5c7296ce1
Git commit b51a070911a2b93117c7333bb6a89c5d2e6ab426 by David Edmundson. Committed on 23/09/2020 at 13:49. Pushed by davidedmundson into branch 'Plasma/5.20'. Ignore options after positional arguments i.e `kde-inhibit ls --help` should run "ls --help" not provide the help for kdeinhibit. (cherry picked from commit cbab4f081fdd55ed7eabedcfe5d28fb5c7296ce1) M +1 -1 kdeinhibit/main.cpp https://invent.kde.org/plasma/kde-cli-tools/commit/b51a070911a2b93117c7333bb6a89c5d2e6ab426