[Konsole-devel] [Bug 297224] Command-line options ignored when stdout redirected to /dev/null

Rogier rogier777 at gmail.com
Thu Apr 26 11:18:00 UTC 2012


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

--- Comment #7 from Rogier <rogier777 at gmail.com> ---
> https://bugs.kde.org/show_bug.cgi?id=297224
> 
> --- Comment #6 from Jekyll Wu <adaptee at gmail.com> ---
> I'm not a dbus expert, but I think DBUS_SESSION_BUS_ADDRESS is a
> per-user-session thing. All dbus-awared applications in the same
> user session should inherit and see the same value. I don't think
> it should be touched by konsole or any dbus-awared application in
> normal case.

Obviously.
I should have realized that myself ...

I guess this is more a problem with the integration between the X 
server session and the dbus session, and dbus not verifying whether 
the the dbus session matches the X session (i.e., the X server) .

I suppose, as a workaround, I should clear DBUS_SESSION_BUS_ADDRESS 
when starting konsole (or any dbus application, for that matter...) on 
another display.

Nevertheless...:

> On the other hand,  KONSOLE_DBUS_SERVICE  is really a konsole
> thing, and it is different for each konsole process.

...would it be an option for konsole to use KONSOLE_DBUS_SERVICE and 
KONSOLE_DBUS_SESSION if available to determine which konsole session 
to use when creating a new window, instead of using the 'random' 
konsole session that managed to grab the generic dbus name ?
If a new konsole tab (or a new window), is created from a shell prompt 
in a konsole tab, then the user would expect the new tab to open in 
the current window, or a new window to be created in the same konsole 
process as the invoking window.  Using these two variables would 
ensure this, and make the behavior predictable. I assume it would also 
ensure that the new window appears on the same screen as the konsole 
window it was started from.

(Granted, if you remember which happened to be the first konsole 
session, and which happened to be its first window, then the current 
behavior is predicatble as well :-)

Kind Regards,

Rogier.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the konsole-devel mailing list