kde-servicemenus icon indicating copy to clipboard operation
kde-servicemenus copied to clipboard

Yakuake set tab title

Open akovia opened this issue 1 year ago • 1 comments

Hi, I've recently moved from xfce4 to kde, and with that have been trying to adopt yakuake instead of xfce4-terminal, which was one of my most used tools.

I've now learned about working in q/d-bus which is new to me, but all of my efforts to recreate what I had with xfce4-terminal have turned up nothing. Maybe it's just a limitation, but I'm trying to turn over every stone before giving up.

I asked for help on the kde forums, but no one answered. (Which is nothing new there) https://discuss.kde.org/t/yakuake-qdbus-help/16383

It seems this installation is pretty non-standard as well in that qtchooser is deprecated and would have to be installed in /usr/local according to the Arch Wiki. (I use Arch).

Anyway, I stumbled on your git by accident, but seems you are more qualified to answer this than anywhere else I've found. Is it actually possible to launch a new tab in yakuake from krusader, and have the tab title reflect the path it was launched from?

My service menu for xfce4-terminal was xfce4-terminal --tab --drop-down --default-working-directory=%d, and the tab title would be the path automatically, but you could also set the title to whatever you wanted with title=""

Thanks for any input.

akovia avatar Jun 25 '24 21:06 akovia

Hi @akovia, the /yakuake/tabs path contains the methods to read and write the session's tab: org.kde.yakuake.setTabTitle does the trick for you.

fabiomux avatar Jun 26 '24 09:06 fabiomux

Implemented in the 1.4.0, "new session" action and provided the other three actions to set the tab title to dir path, full path or dir name.

fabiomux avatar Apr 18 '25 20:04 fabiomux