[Konsole-devel] [Bug 262089] Tab title set by dbus method "setTitle" does not stick

Mark Atkinson atkin901 at gmail.com
Tue Mar 29 15:18:17 UTC 2011


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





--- Comment #2 from Mark Atkinson <atkin901 gmail com>  2011-03-29 17:18:15 ---
Found a way to do this on 4.6.1.   I noticed that ctrl-alt-s now brings up the
tab title format dialog rather than the set title dialog, so, the following
shell script can force the current tabs title by forcing the format for local
(int32:0) and remote (int32:1) and setting the title (so it takes effect
immediately):

dbus-send --session --dest=$KONSOLE_DBUS_SERVICE --type=method_call
--print-reply $KONSOLE_DBUS_SESSION org.kde.konsole.Session.setTabTitleFormat
int32:0 string:"$1"
dbus-send --session --dest=$KONSOLE_DBUS_SERVICE --type=method_call
--print-reply $KONSOLE_DBUS_SESSION org.kde.konsole.Session.setTabTitleFormat
int32:1 string:"$1"
dbus-send --session --dest=$KONSOLE_DBUS_SERVICE --type=method_call
--print-reply $KONSOLE_DBUS_SESSION org.kde.konsole.Session.setTitle int32:1
string:"$1"

-- 
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