Bug 138463 - Run a command when a tab title changes
Summary: Run a command when a tab title changes
Status: RESOLVED INTENTIONAL
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.6.2
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-06 17:44 UTC by John B
Modified: 2007-05-08 00:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.