New to dbus in general and trying to figure out how to create some actions I had when using xfce4-terminal in krusader.
Two sticking points so far I can’t figure out.
Is it even possible to pass a path variable when opening a new tab(session), or does this need to happen after the fact?
I have a servicemenu item to launch a terminal in a new tab from the current directory, but haven’t found the equivalent of passing the cwd like in xfce4-terminal.
xfce4-terminal --tab --drop-down --default-working-directory=%d
For this same servicemenu, I’m trying to figure out how to raise/focus the window when running the action. I can toggle the state just fine qdbus org.kde.yakuake /yakuake/window toggleWindowState
, but can’t figure out how to raise it if it’s rolled up, or focus it if it’s already open.
I’ve tried qdbus org.kde.yakuake /yakuake/sessions raiseSession $SESSION_ID
Thanks!