You are not logged in.

#1 2021-04-13 01:34:54

SpacetimeBull
Member
Registered: 2021-02-13
Posts: 25

How to set tab title for yakuake [SOLVED]

I am trying to create a Minecraft Server autostart script to autostart in the yakuake terminal.
This is what I have so far:

qdbus org.kde.yakuake /yakuake/sessions addSession
qdbus org.kde.yakuake /yakuake/tabs setTabTitle 1 "Build Legends Console"
qdbus org.kde.yakuake /yakuake/sessions runCommand  "java -Xms6G -Xmx6G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar server.jar nogui"

But, for some reason, the tab title doesn't set. I looked on the wiki and it shows that option. Everything works but the second line(ignore all the -XX options - that is just Minecraft garbage collection stuff). Any help would be greatly appreciated <3

Last edited by SpacetimeBull (2021-04-15 16:39:00)

Offline

#2 2021-04-13 01:57:59

loqs
Member
Registered: 2014-03-06
Posts: 17,369

Re: How to set tab title for yakuake [SOLVED]

Have you resolved any of the previous seven topics you have open?  Multiple of which have requested information from you in order to help and have not received any response from you.

Offline

#3 2021-04-14 19:22:41

SpacetimeBull
Member
Registered: 2021-02-13
Posts: 25

Re: How to set tab title for yakuake [SOLVED]

Yes I marked them as resolved and said they may be closed. I still have not gotten the Yakuake tab to rename itsself >:c

Offline

#4 2021-04-14 19:42:24

loqs
Member
Registered: 2014-03-06
Posts: 17,369

Re: How to set tab title for yakuake [SOLVED]

SpacetimeBull wrote:

Yes I marked them as resolved and said they may be closed. I still have not gotten the Yakuake tab to rename itsself >:c

Please see code-of-conduct.md#how-to-post:

Finally, when a solution is found, mark your thread as solved by editing the first post and prepending the tag [SOLVED] to the title in the "Subject" field.

and code-of-conduct.md#life-is-a-two-way-street

Share your findings with the community. Share your failures as well.  Posting the equivalent of "Nevermind, I fixed it." in your thread or deleting your own posts for similar reasons is not only selfish and useless to the community, but a complete waste of resources and everyone's time.

Offline

#5 2021-04-14 20:23:08

SpacetimeBull
Member
Registered: 2021-02-13
Posts: 25

Re: How to set tab title for yakuake [SOLVED]

There we go, I updated the posts and provided a solution/workaround. I put the [SOLVED] tag on the subject of all the posts. I will skim through the rules and info to make sure I know what is going on.

Offline

#6 2021-04-14 21:41:55

seth
Member
Registered: 2012-09-03
Posts: 51,185

Re: How to set tab title for yakuake [SOLVED]

Sure the title doesn't just get updated by "Minecraft garbage" ( your words, not mine :-P ) ?

https://stackoverflow.com/questions/198 … persistent - yakuake is essentially konsole in disguise, so this should be adaptable; notably "setTabTitleFormat" would be relevant.

Online

#7 2021-04-15 16:38:43

SpacetimeBull
Member
Registered: 2021-02-13
Posts: 25

Re: How to set tab title for yakuake [SOLVED]

Yes ^^^ that worked like a charm tysm

Offline

Board footer

Powered by FluxBB