This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Yakuake Session

Tags: None
(comma "," separated)
User avatar
ferchoj
Registered Member
Posts
26
Karma
0
OS

Yakuake Session

Fri Apr 21, 2017 1:42 pm
Hi every body, is there any way to save the Yakuake session???
airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: Yakuake Session

Fri Apr 21, 2017 6:51 pm
What precisely do you mean by Session?
Do you mean the set of tabs with their respective profiles and current working directories? (looks like not currently available; but definitely seems useful)
Do you mean saving the commands run (in one or more tabs) and their output? (right-click -> Scrollback -> Save Output As...)
or do you mean something else?


airdrik, proud to be a member of KDE forums since 2008-Dec.
User avatar
ferchoj
Registered Member
Posts
26
Karma
0
OS

Re: Yakuake Session

Fri Apr 21, 2017 7:27 pm
airdrik wrote:What precisely do you mean by Session?
Do you mean the set of tabs with their respective profiles and current working directories? (looks like not currently available; but definitely seems useful)
Do you mean saving the commands run (in one or more tabs) and their output? (right-click -> Scrollback -> Save Output As...)
or do you mean something else?


Hi airdrik, I mean the distribution of the terminals, I like to split it in 3 for example. And the tabs and directories of course.
airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: Yakuake Session  Topic is solved

Fri Apr 21, 2017 7:40 pm
Ah, I see. Akin to saving of tabs such a feature doesn't exist yet. I'd suggest submitting a feature request to bugs.kde.org to add this functionality.


airdrik, proud to be a member of KDE forums since 2008-Dec.
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: Yakuake Session

Sat Apr 22, 2017 9:38 am
Hi!

You also may use a script-based startup for yakuake using dbus. One example for an ssh-connection:
Code: Select all
#!/bin/bash
#add new session and save ID in $newSession
newSession=$(qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.addSession)

#disable closing
qdbus org.kde.yakuake /yakuake/tabs org.kde.yakuake.setSessionClosable $newSession FALSE

#change Tabtitle
qdbus org.kde.yakuake /yakuake/tabs org.kde.yakuake.setTabTitle $newSession "SSH-Session"

#get terminalID (if you are using "split view", you need both IDs!)
terminalID=$(qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.terminalIdsForSessionId $newSession)

#Send command (as an example - create a ssh-connection)
qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.runCommandInTerminal $terminalID "ssh user@server -p22 -i /path/to/PublicKey"


Using these methods, you may create your custom startup for yakuake.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]