Hasty Briefsbeta

Bilingual

My changes to saving Konsole tab layouts

a year ago
  • #terminal-emulator
  • #productivity
  • #Konsole
  • A patch was added to Konsole terminal emulator to enhance tab layout saving by including working directory, split sizes, and optional commands.
  • Current Konsole versions allow saving tab layouts as JSON files, but lack features like split size retention.
  • The new changes enable saving columns, lines, working directories, and commands in the layout JSON file.
  • Commands in the JSON file are executed as if typed manually, allowing complex command chains.
  • A practical example demonstrates using the feature to automatically open Helix editor and lazygit in a predefined layout.
  • Future plans include adding a GUI tool within Konsole for easier layout customization during the save process.