Bug 324119 - Feature: provide a simple way to start konsole with n tabs
Summary: Feature: provide a simple way to start konsole with n tabs
Status: RESOLVED INTENTIONAL
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-27 14:08 UTC by shevegen
Modified: 2021-03-25 04:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.