sakura1
A simple but powerful libvte-based terminal emulator.
Usage
sakura [options ...]
Overview
sakura is a terminal emulator based on GTK+ and VTE. It's a terminal emulator with few dependencies, so you don't need a full GNOME desktop installed to have a decent terminal emulator.
Options
-
-?, --help -
Show help options.
-
--help-all -
Show all help options
-
--help-gtk -
Show GTK+ Options
Options
-
-v, --version -
Print version number
-
-f, --font -
Select initial terminal font
-
-n, --ntabs -
Select initial number of tabs
-
-x, --execute -
Execute command
-
-e, --xterm-execute -
Execute command (compatible with xterm's -e option)
-
-l, --login -
Login shell
-
-c, --columns -
Set columns number
-
-r, --rows -
Set rows number
-
-h, --hold -
Hold window after execute command
-
-d, --working-directory -
Set working directory
-
-m, --maximize -
Maximize window
-
-s, --fullscreen -
Fullscreen mode
-
--display=DISPLAY -
X display to use
-
--config-file=FILENAME -
Use alternate configuration file. Path is relative to the sakura config dir. (Example: ~/.config/sakura/FILENAME).
Options
-
--class=CLASS -
Program class as used by the window manager
-
--name=NAME -
Program name as used by the window manager
-
--screen=SCREEN -
X screen to use
-
--sync -
Make X calls synchronous
-
--gtk-module=MODULES -
Load additional GTK+ modules
-
--g-fatal-warnings -
Make all warnings fatal
Configuration
- show_tab_bar=[always | multiple | never]
-
This list of options is currently incomplete.
Keybindings support
sakura supports keyboard bindings. They are configurable by setting the following properties in your sakura config file (~/.config/sakura/sakura.conf).
Accelerators
Accelerators can be set to any mask value from the GdkModifierType in gdktypes.h; see:
http://gtk.php.net/manual/en/html/gdk/gdk.enum.modifiertype.html
Mask values can be combined by ORing them.
For example, to set the delete tab accelerator to Ctrl + Shift:
del_tab_accelerator=5
because GDK_SHIFT_MASK has a value of 1 (1 << 0), and GDK_CONTROL_MASK has a value of 4 (1 << 2); ORing them together, you get 5.
I realise that this configuration is not so friendly to non-programmers, but it is a start. :)
Keys
For example, to set the add tab key to 'T':
add_tab_key=T
Before sakura used keycodes instead of strings. They're still valid.
Defaults
Ctrl + Shift + T -> New tabCtrl + Shift + W -> Close current tabCtrl + Shift + C -> Copy selected textCtrl + Shift + V -> Paste selected textCtrl + Left cursor -> Previous tabCtrl + Right cursor -> Next tabCtrl + [1-9] -> Switch to tab N (1-9)Ctrl + Shift + S -> Toggle scrollbarCtrl + Shift + Mouse left button -> Open linkF11 -> FullscreenShift + PageUp -> Move up through scrollback by pageShift + PageDown -> Move down through scrollback by pageCtrl + Shift + Up -> Move up through scrollback by lineCtrl + Shift + Down -> Move down through scrollback by line
You can also increase and decrease the font size in the GTK+ standard way (not configurable):
Ctrl + '+' -> Increase font sizeCtrl + '-' -> Decrease font size
Releases
9 releases since Debian 6.0 (Squeeze); the text changed 8 times.
--config-file since Debian 7 (Wheezy);
--fullscreen since Debian 9 (Stretch);
--maximize since Debian 9 (Stretch);
--working-directory since Debian 9 (Stretch);
--xterm-execute since Debian 7 (Wheezy);
-d since Debian 9 (Stretch);
-m since Debian 9 (Stretch);
-s since Debian 9 (Stretch);
-x since Debian 7 (Wheezy).
--title until Debian 11 (Bullseye);
-t until Debian 11 (Bullseye).