Bug 197623

Summary: Accept arguments on start
Product: [Applications] konsole Reporter: Dotan Cohen <kde-2011.08>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: robertknight
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Dotan Cohen 2009-06-23 16:44:27 UTC
Version:            (using KDE 4.2.90)
Installed from:    Ubuntu Packages

It would be nice if konsole accepted arguements when started. Then, one could type into Krunner, for instance, "konsole ifconfig" and be taken right to the info that he needs.

Thanks.
Comment 1 Robert Knight 2009-06-24 12:26:43 UTC
You can use

konsole --noclose -e <command> <args>

-e specifies the command and arguments to run, --noclose stops the terminal window from closing once the command has finished executing.

Note that any Konsole arguments must go before arguments to the command-line program.
Comment 2 Dotan Cohen 2009-06-24 14:45:02 UTC
In that case, I have requested a wrapper for konsole:
https://bugs.kde.org/show_bug.cgi?id=197730