[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: [kde] Opening Konsole with Multiple Pre-loaded Tabs
From:       Duncan <1i5t5.duncan () cox ! net>
Date:       2013-07-22 22:02:33
Message-ID: pan$aee59$a077416d$13129de5$19b6c9a9 () cox ! net
[Download RAW message or body]

Jerome Yuzyk posted on Mon, 22 Jul 2013 11:02:27 -0600 as excerpted:

> I finally got it to work correctly after reading the Konsole source [2]
> for the function and would like to share how I use it to help fill in a
> little empty spot in the KDE documentation space.
> 
> I have a K Menu item configured to execute this command:
> 
>     konsole --tabs-from-file /home/jerome/bin/konsole_Work
> 
> where /home/jerome/bin/konsole_Work is a text file that looks like this:
> 
>	title: Work;; workdir: ~/work;; command: vi _desk
>	title: root;; command: sudo -i sysfiles
>	title: bss-gate;; command: sshto gateway

> Each line of konsole_Work specifies a tab to open using up to 4 fields
> specifying how it is to open. Fields are delimited with ';;' and a field
> name must have a ':' appended.
> 
>	title: 	a name for this tab, tab default if blank
>	workdir: working directory, ~ if blank
>	profile: a Konsole profile to use, the default if blank
>	command: a command to run

I see --tabs from file in konsole's --help output, but I would have had 
to guess or google the file's format.  Thanks.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic