Bug 473810

Summary: Add the option to execute a command when task is finished
Product: [Applications] konsole Reporter: Henning <boredsquirrel>
Component: monitoringAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: 23.04.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: attachment-3315984-0.html
attachment-3324395-0.html

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.