Yakuake qdbus help

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


Is this a possible scenario of you can’t there from here? I just want to r-click on a file or folder in krusader and use an action to launch a new tab in yakuake, passing the pwd. This doesn’t seem like an unreasonable thing to want, but maybe there are limitations of qdbus that prevent this?

Is there a better place to ask these types of questions?