[konsole] [Bug 373905] New: dbus - can not refer to the current instance
Tomasz C.
bugzilla_noreply at kde.org
Mon Dec 19 18:53:03 UTC 2016
https://bugs.kde.org/show_bug.cgi?id=373905
Bug ID: 373905
Summary: dbus - can not refer to the current instance
Product: konsole
Version: 16.12.0
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: tomaszc at o2.pl
Target Milestone: ---
In konsole version 16.08 in dbus you could refer to the current instance, for
example:
qdbus org.kde.konsole $KONSOLE_DBUS_SESSION setTitle 1 'Title'
After upgrade konsole to version 16.12 this is not possible, you must specify
the PID.
qdbus org.kde.konsole-28263 $KONSOLE_DBUS_SESSION
org.kde.konsole.Session.setTitle 1 "Title2"
When there is more than one process konsole, you can not be determined
automatically PID. This makes it impossible unambiguous reference to the
current process of konsole.
I know that it is possible to run multiple windows in a single process konsole,
but it has two problems:
- You have to remember to create a new window instead of the process,
- In the case of crash you lose all the windows - because they were in a single
process,
If the PID option for some reason must stay, please add the reference to the
current instance for example:
qdbus org.kde.konsole-current $KONSOLE_DBUS_SESSION
org.kde.konsole.Session.setTitle 1 "Title2"
or system variable with current instance like KONSOLE_DBUS_SESSION, example:
#echo $KONSOLE_DBUS_INSTANCE
org.kde.konsole-28263
to make it possible:
qdbus $KONSOLE_DBUS_INSTANCE $KONSOLE_DBUS_SESSION
org.kde.konsole.Session.setTitle 1 "Title2"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list