yakuake-session icon indicating copy to clipboard operation
yakuake-session copied to clipboard

[Enhancement] Split screen

Open Petemir opened this issue 6 years ago • 4 comments

Would it be possible to have a command to split a newly generated screen?

Petemir avatar Aug 15 '18 18:08 Petemir

qdbus commands: qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.splitTerminalLeftRight qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.splitTerminalTopBottom

Petemir avatar Aug 19 '18 17:08 Petemir

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 .

jesustorresdev avatar Aug 19 '18 21:08 jesustorresdev

Hi @Petemir,

Do yo mean something like

yakuake-session --hsplit

or

yakuake-session --vsplit

and the new session is created splitted in two?

jesustorresdev avatar Aug 30 '18 15:08 jesustorresdev

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 :) ...

Petemir avatar Aug 30 '18 15:08 Petemir