Bug 138463

Summary: Run a command when a tab title changes
Product: [Applications] konsole Reporter: John B <john+kde_org>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED INTENTIONAL    
Severity: wishlist    
Priority: NOR    
Version: 1.6.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description John B 2006-12-06 17:44:58 UTC
Version:           1.6.2 (using KDE KDE 3.5.2)
OS:                Linux

This could provide a generic framework for a lot of notification stuff people want to do.  Whenever a tab(/window) title changes, Konsole could run a pre-configured generic command with three (or more?) arguments:

1) Some kind of identifier to target the tab whose title changed...the script is probably going to run some DCOP thing and it's going to want to aim it back at the Konsole instance / tab that generated the script execution.

2) The unaltered former title

3) The unaltered new title
Comment 1 Robert Knight 2006-12-06 19:17:57 UTC
> Some kind of identifier to target the tab whose title changed...

It is no longer the case that there is one tab per session, aside from that though, I think there needs to be some discussion about what people want to be able to do when a terminal event happens and then we can worry about the implementation later.

If you have some specific use cases in mind ( eg.  I am running program X in the terminal, when I get silence in that session, I want event Y to happen ) that would be helpful.

Comment 2 Robert Knight 2007-05-08 00:53:10 UTC
Without some specific use cases in mind I am going to turn this down.  I would be surprised if there weren't better methods to implement them.