Registered Member
|
Hello forum,
I am looking for a way to change the profile in all open Konsole windows at once, preferrably in a scriptable way. I tried to \ employ dbus for that purpose, but couldn't find a viable way. Suggestions that I found on the web are limited to sending a "ko\ nsoleprofile ..." command to each open window, which is not an option as some windows may be running an application that is no\ t a shell. Do you have any suggestions how I could implement this? |
Administrator
|
From what I am aware, each tab in a Konsole window is a separate session.
Profiles are used to start a session and after that cannot be changed as far as I can tell. What particularly are you trying to achieve?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
If there was a switchProfile method available via dbus that might work. Otherwise I don't think there's a way to do what you want.
|
Registered Member
|
Hello all,
occasionally I want to switch between light-on-dark and dark-on-light layouts to adapt to surrounding illumination. While I can use the context menu (right click -> switch profile) to do this in an individual window, I would like to trigger a profile change for all currently open Konsole windows. It would be even better to trigger this action from a script that manages other tasks, e.g. changing the display brightness. As far as I can see there is no dbus method with this functionality. |
Administrator
|
I see. Unfortunately unless a switchProfile command is added to D-Bus as hindenburg mentioned this won't be possible.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell