Bug 473810 - Add the option to execute a command when task is finished
Summary: Add the option to execute a command when task is finished
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: monitoring (show other bugs)
Version: 23.04.3
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-27 14:33 UTC by Henning
Modified: 2023-08-27 16:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-3315984-0.html (2.18 KB, text/html)
2023-08-27 15:35 UTC, tcanabrava
Details
attachment-3324395-0.html (1.13 KB, text/html)
2023-08-27 16:18 UTC, tcanabrava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henning 2023-08-27 14:33:56 UTC
There are many examples where you may have executed a long script, a big compilation or others.

In these cases there currently is no option to auto-shutdown the PC once winished. An option is to guess the time, but this is pretty dangerous.

There are the monitoring functions, but I dont really know how they work, and I think they just alert the user.

Having an "action when idle" setting would be really great.
Comment 1 tcanabrava 2023-08-27 15:35:42 UTC
Created attachment 161226 [details]
attachment-3315984-0.html

execute process && shutdown

The “&&” calls a program when the first finishes. So just call shutdown,
after your process finish, to close the computer

This is not what monitor is for.


On Sun, 27 Aug 2023 at 16:34 Henning <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=473810
>
>             Bug ID: 473810
>            Summary: Add the option to execute a command when task is
>                     finished
>     Classification: Applications
>            Product: konsole
>            Version: 23.04.3
>           Platform: unspecified
>                 OS: Linux
>             Status: REPORTED
>           Severity: wishlist
>           Priority: NOR
>          Component: monitoring
>           Assignee: konsole-devel@kde.org
>           Reporter: amanita+KDEBUGS@mailbox.org
>   Target Milestone: ---
>
> There are many examples where you may have executed a long script, a big
> compilation or others.
>
> In these cases there currently is no option to auto-shutdown the PC once
> winished. An option is to guess the time, but this is pretty dangerous.
>
> There are the monitoring functions, but I dont really know how they work,
> and I
> think they just alert the user.
>
> Having an "action when idle" setting would be really great.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 2 Henning 2023-08-27 16:10:43 UTC
I know of that syntax.

But having a process that suddenly takes longer than expected is a common problem. I dont know any good solution for that currently.

Is there another place to put this then?
Comment 3 tcanabrava 2023-08-27 16:18:14 UTC
Created attachment 161227 [details]
attachment-3324395-0.html

Henning, just do what I told you:

Execute: process && shutdown


On Sun, 27 Aug 2023 at 18:10 Henning <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=473810
>
> --- Comment #2 from Henning <amanita+KDEBUGS@mailbox.org> ---
> I know of that syntax.
>
> But having a process that suddenly takes longer than expected is a common
> problem. I dont know any good solution for that currently.
>
> Is there another place to put this then?
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.