From searching on here I've gotten a lot of good information on using dcop on a konsole to manipulate sessions.
Such as starting a new konsole, opening a new session, etc.
But what I can't find is how to get the id of the current konsole I am in? I don't want to start a new konsole, only a new session. To do that I need the current konsole id. Anyone know how to do that?
Now, I can get the id for the most recent konsole using:
Code:
kon=$(dcop "konsole*" | tail -1)
But that often is not the id for the konsole I am currently working in.
Anyone?