Bug 324119

Summary: Feature: provide a simple way to start konsole with n tabs
Product: [Applications] konsole Reporter: shevegen <shevegen>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: cpigat242, tterranigma
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description shevegen 2013-08-27 14:08:26 UTC
Please give us a way to start konsole with n tabs.

Yes, it is possible via:

command:/bin/bash;;profile:Shell

From a file with --tabs-from-file

But honestly, is this a convenient way when users must first create a file before they can simply state "n" where n is the amount of tabs?

Syntax suggestion:

konsole --tabs 5





Reproducible: Always
Comment 1 Nikolaos Kakouros 2019-09-14 10:12:48 UTC
In the mean time you could also use:
for i in {1..25}; do konsole --new-tab --workdir "$PWD" & sleep 1; qdbus org.kde.konsole /Sessions/$i setTitle 1 $i; done
Comment 2 Kurt Hindenburg 2021-03-25 04:40:05 UTC
You have several ways to do this if you don't want to use the --tabs-from-file.  Scripting as in comment 1 or using qdbus.