Fbterm: Difference between revisions

From wikinotes
 
Line 22: Line 22:


= Usage =
= Usage =
<blockquote>
== Basics ==
<blockquote>
<blockquote>
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
/usr/bin/fbterm
/usr/bin/fbterm
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Basics -->


You can render higher resolution fonts, images, etc which is pretty neat.<br>
== Launch with Wallpaper ==
For example running this prior to a framebuffer can set a wallpaper.
<blockquote>
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# ~/.bin/start-fbterm
#
# source: https://aur.archlinux.org/packages/fbterm/
# source: https://aur.archlinux.org/packages/fbterm/
#


# hide cursor
# hide cursor
echo -ne "\e[?25l"
echo -ne "\e[?25l"
# display fullscreen-stretched image and quit viewer without screen refreshing
# display fullscreen-stretched image and quit viewer without screen refreshing
fbv -ciuker "$WALLPAPER_FILE" << EOF
/usr/bin/fbv -ciuker "$WALLPAPER_FILE" << EOF
q
q
EOF
EOF
# use current screen state as a wallpaper
# use current screen state as a wallpaper
export FBTERM_BACKGROUND_IMAGE=1
export FBTERM_BACKGROUND_IMAGE=1
# finally launch fbterm from the same shell
/usr/bin/fbterm
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Launch with Wallpaper -->
</blockquote><!-- Usage -->
</blockquote><!-- Usage -->

Latest revision as of 17:30, 17 July 2021

A framebuffer terminal you can use in a tty. Neat!
Doesn't look maintained since 2015.

Documentation

home https://github.com/izmntuk/fbterm
man fbterm https://manpages.debian.org/buster/fbterm/fbterm.1.en.html

Locations

~/.fbtermrc config

Usage

Basics

/usr/bin/fbterm

Launch with Wallpaper

# ~/.bin/start-fbterm
#
# source: https://aur.archlinux.org/packages/fbterm/
#

# hide cursor
echo -ne "\e[?25l"

# display fullscreen-stretched image and quit viewer without screen refreshing
/usr/bin/fbv -ciuker "$WALLPAPER_FILE" << EOF
q
EOF

# use current screen state as a wallpaper
export FBTERM_BACKGROUND_IMAGE=1

# finally launch fbterm from the same shell
/usr/bin/fbterm