Bug 123904 - make use of konsole sessions
Summary: make use of konsole sessions
Status: RESOLVED FIXED
Alias: None
Product: yakuake
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-19 14:58 UTC by Michael Olbrich
Modified: 2008-01-09 03:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Olbrich 2006-03-19 14:58:13 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

It would be nice to be able to use konsole's sessions:
dcop yakuake DCOPInterface slotAddSession "Root Shell"
or a long click on the "new session" button and then select the corresponding session type.
Please note, that (at least for me) sharing the session definitions with konsole is important. I don't really care about defining new sessions. That can be done in konsole.
Comment 1 Eike Hein 2006-03-19 15:05:32 UTC
Session management is in the cards for a future release. My plans so far did not include integration with Konsole's session definitions (it will definitely offer its own management UI), but that may eventually be added.
Comment 2 anupam.srivastava 2007-03-29 14:15:59 UTC
Hi! Are you working on this? It would be very very useful for me to have any sort of session management in yakuake, because right now my yakuake is black while konsole is white, and both use TERM=xterm, causing vim-colourization (set background=light/dark) to behave erratically. More over I use zsh as default login shell but by home shell is bash. In konsole sessions I can change my default shell to zsh, but yakuake always starts with bash, from which I need to load bash.

Comment 3 Eike Hein 2007-03-29 14:23:52 UTC
I do have plans for this, as stated above, but the very next release will focus on general usability improvements (first-run dialog, config dialog with skin chooser/installer, better tab bar, better focus handling, various other stuff) and so will not see an implementation. 

Notably you can set the Yakuake Konsole kpart to use Konsole's settings as far as color schemes go, and as a workaround script startup to add sessions and run things im them at this time:
yakuake
dcop yakuake DCOPInterface slotRenameSession 0 foo
dcop yakuake DCOPInterface slotAddSession
dcop yakuake DCOPInterface slotRenameSession 1 bar
dcop yakuake DCOPInterface slotAddSession
dcop yakuake DCOPInterface slotRenameSession 2 foobar
dcop yakuake DCOPInterface slotRunCommandInSession 2 some_command

One thing the next release will likely to is implement something akin to 'konsole -e' both as a command-line argument and as a slotAddSession DCOP call overloaded to accept an initial command paramter, so you can directly run zsh.
Comment 4 anupam.srivastava 2007-03-29 15:06:41 UTC
> Notably you can set the Yakuake Konsole kpart to use Konsole's settings as far as color schemes go,...


Sorry for the noob question, but how do you do that?
Comment 5 anupam.srivastava 2007-03-29 15:47:16 UTC
Nevermind, I got it. Thanks for the quick reply though.
Comment 6 Eike Hein 2008-01-09 03:38:35 UTC
The KDE 4 version of Yakuake hit SVN today. The "Sessions" system has been replaced by "Profiles" in the KDE 4 version of Konsole. It's possible to pick the profile for a terminal from the context menu in Yakuake, edit the active profile, and even to bring up the "Manage Profiles" dialog from the main menu. This seems to satisfy the intent of this report, hence I'm closing.