Terminals: Difference between revisions

From miki
Jump to navigation Jump to search
Line 2: Line 2:
=== Gnome Terminal ===
=== Gnome Terminal ===
The default terminal on Ubuntu.
The default terminal on Ubuntu.

==== Configure cursor type ====
Use <code>gconftool</code> to configure once for all
<source lang=bash>
gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/cursor_shape <VALUE>
</source>

Or use escape sequence for changing it from application [http://askubuntu.com/questions/504240/how-to-change-the-caret-of-the-gnome-terminal]:
<source lang=bash>
echo -ne '\e[0 q' # reset to profile's setting
echo -ne '\e[1 q' # blinking block
echo -ne '\e[2 q' # steady block
echo -ne '\e[3 q' # blinking underline
echo -ne '\e[4 q' # steady underline
echo -ne '\e[5 q' # blinking I-beam
echo -ne '\e[6 q' # steady I-beam
.</source>


=== Terminator ===
=== Terminator ===

Revision as of 08:33, 13 January 2017

Terminals on Linux

Gnome Terminal

The default terminal on Ubuntu.

Configure cursor type

Use gconftool to configure once for all

gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/cursor_shape <VALUE>

Or use escape sequence for changing it from application [1]:

echo -ne '\e[0 q'    # reset to profile's setting
echo -ne '\e[1 q'    # blinking block
echo -ne '\e[2 q'    # steady block
echo -ne '\e[3 q'    # blinking underline
echo -ne '\e[4 q'    # steady underline
echo -ne '\e[5 q'    # blinking I-beam
echo -ne '\e[6 q'    # steady I-beam
.

Terminator

Terminator supports multiple GNOME Terminals in one window.

Xterm

Xterm is the legacy terminal emulator under X. See Xterm.

RXVT / uRXVT

Alacritty

Alacritty is a new GPU-accelerated terminal, touted to be the fastest terminal ever.

Troubleshoot
  • Slower than Gnome Terminal / Terminator on Ubuntu with Intel MESA driver (i915). On Vim, jitter in the scrolling.
See Issue #225.

st (simple terminal)

st, aka simple terminal from suckless.org, is a simple terminal implementation for X, that sucks less.

On Ubuntu, install either from package

sudo apt install stterm

Or download the git repository and compile from source.

git clone git://git.suckless.org/st
cd st
make clean install

To configure st, edit config.h and build again. Check also the excellent ArchLinux page on st.

Terminal features

Terminfo

256-color support

True-color support

Cursor type

  • Block vs Caret
  • Blinking vs steady