table of contents
LilyTerm(1) | A light and eazy-to-use terminal emulator | LilyTerm(1) |
NAME¶
LilyTerm - A light and eazy-to-use terminal emulator for X.
SYNOPSIS¶
lilyterm [-? | -h | --help] [-T TITLE | --title TITLE] [-R ROLE | --role ROLE] [-t NUMBER | --tab NUMBER] [-n TAB NAMES | --tab_names TAB NAMES] [-d DIRECTORY | --directory DIRECTORY] [-g GEOMETRY | --geometry GEOMETRY] [-l | -ls | --login] [-ut] [-H | --hold] [-s | --separate] [-j | --join] [-p | --profile] [-u PROFILE | --user_profile PROFILE] [-v | --version] [-e COMMAND | -x COMMAND | --execute COMMAND]
DESCRIPTION¶
LilyTerm is a terminal emulator for the X Window System, based on the libvte library, and aims to be fast and lightweight.
OPTIONS¶
-? | -h | --help
-T TITLE | --title TITLE
-R ROLE | --role ROLE
-t NUMBER | --tab NUMBER
-n TAB NAMES | --tab_names TAB NAMES
-d DIRECTORY | --directory DIRECTORY
-g GEOMETRY | --geometry GEOMETRY
A reasonable example value is "80x24+0+0", witch means "width x height {+-} xoffset {+-} yoffset" (without space).
-l | -ls | --login
-ut
-H | --hold
-s | --separate
-j | --join
It may be useful for launching multi commands with LilyTerm in a shell script.
-p | --profile
-u PROFILE | --user_profile PROFILE
-v | --version
-e COMMAND | -x COMMAND | --execute COMMAND
KEYBOARD CONTROL¶
The following key bindings may custom or disable by the right click menu [Set key binding].
- <Ctrl><`>
- Disable/Enable hyperlinks, function keys and right click menu for temporary.
- <Ctrl><T>
- Add a New tab with current directory.
- <Ctrl><PgUp/PgDn>
- Switch to Prev/Next tab.
- <Ctrl><Home/End>
- Switch to First/Last tab.
- <Ctrl><[/]>
- Move current tab Forward/Backward.
- <Ctrl><Up/Down>
- Move current tab to First/Last.
- <Ctrl><F1~F12>
- Switch to 1st ~ 12th tab.
- <Ctrl><O>
- Select all the text in the Vte Terminal box.
- <Ctrl><+/-/Enter>
- Increase/Decrease/Reset the font size of current tab.
- <Alt><F11/Enter>
- Switch between fullwindow/unfullwindow and fullscreen/unfullscreen state.
- <Shift><Left/Right>
- Emulate a mouse Scroll Up/Down event on Vte Terminal box.
- <Shift><Up/Down>
- Asks to scroll Up/Down 1 line on Vte Terminal box.
- <Shift><PgUp/PgDn>
- Asks to scroll Up/Down on Vte Terminal box.
- <Ctrl><Delete/Insert>
- Copy the text to clipboard / Paste the text in clipboard.
- <Shift><Delete/Insert>
- Copy the text to primary clipboard / Paste the text in primary clipboard.
i.e. Emulate a middle button mouse click to copy/paste the text.
Some key bindings that disabled by default but maybe useful:
- <Ctrl><Q>
- Close current tab.
Using <Ctrl><D> or 'exit' to close tabs is recommended. - <Ctrl><N>
- Open a new window with current directory.
- <Ctrl><E>
- Rename the current tab.
FILE¶
- /etc/xdg/lilyterm.conf
- System configure file
- ~/.config/lilyterm/default.conf
- User's profile.
Use [Save settings] in the right click menu to save the current tab's settings as default to the specified profile.
TIPS¶
Display UTF-8 character under C locale
bind "set output-meta on"
And use the right click menu to set the text encoding to "UTF-8".
Launch LilyTerm under a chroot jail
Mount the devpts device and /tmp (may not necessary) before chroot into a chroot jail:
mount -o bind /tmp /PathToChroot/tmp (may not necessary)
Merge the extracted xauth info and set the DISPLAY environ after chroot into the chroot jail:
export DISPLAY=:0
Launch LilyTerm directly, or run it under Xnest/Xephyr:
or
<Ctrl><S> and <Ctrl><Q> don't work under VIM:
or
BSD Users:
ENVIRONMENT¶
- TERM
- Sets what type of terminal attempts to emulate. Please always set to "xterm" under LilyTerm.
- VTE_CJK_WIDTH
- Controls the width of some ideographs should be "single width
(narrow)" or "double width (wide)" in a vte teminal.
This environment should be set before creating a vte widget.
In LilyTerm, you may set the VTE_CJK_WIDTH of a new tab to 'wide' with right click menu 'New tab with specified locale' -> 'xx_XX.UTF-8 (Wide)' or 'UTF-8 (Wide)'. - PROMPT_COMMAND
- Customs the "Window Title" for shell.
The following is a reasonable example ~/.bashrc for bash:
case $TERM in
xterm*)
PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME}: ${PWD}\007"'
;;
*)
;;
esac
switch ($TERM)
case "xterm*":
setenv TITLE "%{\033]0;%m: %~\007%}"
breaksw
endsw
set prompt = "${TITLE}%# "
AUTHOR¶
Lu, Chao-Ming (Tetralet) <tetralet@gmail.com>
SEE ALSO¶
March 2013 | LilyTerm 0.9.9.5 |