[Konsole-devel] [Bug 187676] execute command on tab startup

Robert Knight robertknight at gmail.com
Sun Mar 22 10:29:50 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=187676





--- Comment #5 from Robert Knight <robertknight gmail com>  2009-03-22 11:29:48 ---
The environment variable $KONSOLE_DBUS_SESSION contains a string which will be
unique to that tab (or more accurately, that session) of the form:

/Sessions/N

In Bash and probably other shells, you can get the process id of the shell
using:

$$

(eg. echo $$)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list