To set a wallpaper in fbterm, you'll need fbv package (framebuffer image viewer). Execute the following instructions right before launching fbterm (works in POSIX-compliant shell like dash):
# hide cursor
echo -ne "\e[?25l"
# display fullscreen-stretched image and quit viewer without screen refreshing
fbv -ciuker "$WALLPAPER_FILE" << EOF
q
EOF
# use current screen state as a wallpaper
export FBTERM_BACKGROUND_IMAGE=1
Pinned Comments
ivanp7 commented on 2022-01-16 16:27 (UTC) (edited on 2022-01-16 18:24 (UTC) by ivanp7)
I have applied the proposed "configurable color palette" patch. Now the colors may be specified in the configuration file using numbered parameters
color-num=RRGGBB.ivanp7 commented on 2021-11-27 21:50 (UTC)
I changed my mind.
$XDG_CONFIG_HOME/fbterm/fbtermrcis now an allowed configuration location along with the old$XDG_CONFIG_HOME/fbtermrc. Old location is used only when$XDG_CONFIG_HOME/fbterm/does not exist.ivanp7 commented on 2021-05-20 11:46 (UTC) (edited on 2021-05-20 13:13 (UTC) by ivanp7)
To set a wallpaper in fbterm, you'll need
fbvpackage (framebuffer image viewer). Execute the following instructions right before launching fbterm (works in POSIX-compliant shell like dash):ivanp7 commented on 2021-05-20 11:35 (UTC) (edited on 2021-09-25 01:37 (UTC) by ivanp7)
To enable 256 color mode properly, do
export TERM=fbterm-256colorAFTER fbterm starts and then attach to a tmux session. IfTERMis notlinuxupon fbterm launch, it will fail. Tmux is needed because fbterm provides escape codes that differ from broadly used codes, so tmux serves as an abstraction layer.Unlike vanilla fbterm, in this version the configuration file is located at
$XDG_CONFIG_HOME/fbtermrcor$HOME/.config/fbtermrcifXDG_CONFIG_HOMEis unset or empty (the original placement is$HOME/.fbtermrc). Also, the configuration file is not forcibly recreated anymore. For default configuration, see/etc/fbterm/fbtermrc.example.