https://github.com/goblinhack/xtab
easy launch of script commands in tabbed terminals, supports gnome-terminal, konsole, mrxvt and even screen
https://github.com/goblinhack/xtab
Last synced: 11 months ago
JSON representation
easy launch of script commands in tabbed terminals, supports gnome-terminal, konsole, mrxvt and even screen
- Host: GitHub
- URL: https://github.com/goblinhack/xtab
- Owner: goblinhack
- Created: 2014-09-12T19:13:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-12T20:08:01.000Z (over 11 years ago)
- Last Synced: 2025-01-24T02:38:41.564Z (about 1 year ago)
- Language: Shell
- Size: 133 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
xtab
====
What is it?
A script to wrap the various syntaxes of tabbed terminal types to allow
the Easy launch of script commands within those tabs. Supports gnome-terminal,
konsole, mrxvt and even screen
Why?
I got tired of trying to remember the various obscure syntax forms that
each term type accepts and I wanted to have a script to just open a "tabbed"
terminal and launch commands with little care for which flavor of terminal
type is on the users system. This script makes that easy.
Usage:
You can choose the form of terminal to launch, or if not set it will
try gnome-terminal, konsole, mrvxt and xterm in that order. We never
auto launch screen as it is a bit too obscure for the average user,
even though it is my favourite. Default default is gnome-terminal as
it seems the most end-user friendly if you are wrapping this tool in
a script.
Usage: ./xtab.sh -name ... -title ... -command ... -title ... -command ...
e.g.:
xtab.sh -t tabA -c "vim 1" -t tabB -c "vim 2" # use any
xtab.sh -konsole -t tabA -c "vim 1" -t tabB -c "vim 2"
xtab.sh -screen -t tabA -c "vim 1" -t tabB -c "vim 2"
xtab.sh -gnome -t tabA -c "vim 1" -t tabB -c "vim 2"
xtab.sh -mrxvt -t tabA -c "vim 1" -t tabB -c "vim 2"