Bug 197623 - Accept arguments on start
Summary: Accept arguments on start
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-23 16:44 UTC by Dotan Cohen
Modified: 2009-06-24 14:45 UTC (History)
1 user (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 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