yakuake-session
yakuake-session copied to clipboard
[Enhancement] Split screen
Would it be possible to have a command to split a newly generated screen?
qdbus commands:
qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.splitTerminalLeftRight
qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.splitTerminalTopBottom
Thank you for your suggestion, Matias.
I'm on Holidays so I will work on it whe I'll get back.
El dom., 19 ago. 2018 17:11, Matias Laporte [email protected] escribió:
qdbus commands: qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.splitTerminalLeftRight qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.splitTerminalTopBottom
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aplatanado/yakuake-session/issues/21#issuecomment-414141541, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQQ1Kcj2aMksi91W5uULMqbQR2bfoNPks5uSZwugaJpZM4V-oDi .
Hi @Petemir,
Do yo mean something like
yakuake-session --hsplit
or
yakuake-session --vsplit
and the new session is created splitted in two?
Hi,
Yes, it could be like that. Personally, though, I almost never use two splitted windows. Depending on what I am working on, and I suppose this translates to every programmer, I use a different visual configuration of terminals (+ the working directory + running commands in each one) ... sometimes 3 terminals in a session (first an horizontal split, then an vertical on the bottom one), sometimes 4 square ones (tip: qdbus org.kde.yakuake /yakuake/sessions addSessionQuad).
I finally managed to do it with the qdbus commands, but they aren't well documented nor user-friendly, and I believe this would improve your script a bit for the general public, although it may be difficult to implement. I do not know if you want two splits, first an horizontal one and then a vertical, how would you direct the vertical split to the top or bottom terminal of the previous two... and if you start adding the commands to each of the splits, it could get quite messy :) ...