Scroll to navigation

UEBERZUGPP(1) General Commands Manual UEBERZUGPP(1)

NAME

ueberzugpp - display images in a terminal

SYNOPSIS

ueberzugpp [options]

DESCRIPTION

ueberzugpp is a program meant to display images in a terminal in a with an IPC.

OPTIONS

Show help text.

Show version

Use escape codes to get terminal capabilities

Do not listen on stdin for commands

Disable caching of resized images

Do not use OpenCV, use Libvips instead

Image output method, valid values for this include:

x11 (May not be available if disabled in compilation)
sixel
kitty
iterm2
wayland (May not be available if disabled in compilation)
chafa

UNUSED , only present for backwards compatibility

UNUSED , only present for backwards compatibility

STDIN

Ueberzugpp reads commands through stdin. Or through the unix socket located at /tmp/ueberzug_.sock

Commands should be in JSON form, as described in the JSON IPC section

JSON IPC

There are two actions, add and remove

add

action json schema

Requried Keys


should be add

the path to the image to use

an identifier for the image, so that it can be removed with the remove action

width of the image

maximum width of the image

height of the image

maximum height of the image

the column position in the terminal

the row position in the terminal

Optional keys

can be fit_contain or forced_cover.
Both base the scale on whichever is larger, the width, or height of the image

remove

action json schema

Requried Keys

should be remove

The identifier of the image to remove

EXAMPLE

Create a fifo file named fifo, and have an image in the current folder named image.png for this example to work

ueberzugpp layer -o sixel < fifo &

echo '{"path": "./image.png", "action": "add", "identifier": "image", "x": 0, "y": 0, "width": 20, "height": 20}' > fifo

2023 May Ueberzugpp 2.9.6