<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="lt">
	<id>https://wiki.eofnet.lt/w//index.php?action=history&amp;feed=atom&amp;title=Fbwall</id>
	<title>Fbwall - Versijų istorija</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eofnet.lt/w//index.php?action=history&amp;feed=atom&amp;title=Fbwall"/>
	<link rel="alternate" type="text/html" href="https://wiki.eofnet.lt/w//index.php?title=Fbwall&amp;action=history"/>
	<updated>2026-04-15T22:02:24Z</updated>
	<subtitle>Šio puslapio versijų istorija projekte</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.eofnet.lt/w//index.php?title=Fbwall&amp;diff=9425&amp;oldid=prev</id>
		<title>\dev\null 21:01, 9 rugpjūčio 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.eofnet.lt/w//index.php?title=Fbwall&amp;diff=9425&amp;oldid=prev"/>
		<updated>2022-08-09T21:01:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;lt&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Ankstesnė versija&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;21:01, 9 rugpjūčio 2022 versija&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l73&quot; &gt;73 eilutė:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;73 eilutė:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;( cat $IMGPATH/BACKGROUND.fbimg  &amp;gt; /dev/fb0 &amp;amp;) &amp;gt; /dev/null; fbterm&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;( cat $IMGPATH/BACKGROUND.fbimg  &amp;gt; /dev/fb0 &amp;amp;) &amp;gt; /dev/null; fbterm&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/Syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/Syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Scripts]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>\dev\null</name></author>
	</entry>
	<entry>
		<id>https://wiki.eofnet.lt/w//index.php?title=Fbwall&amp;diff=9424&amp;oldid=prev</id>
		<title>\dev\null 22:44, 7 rugpjūčio 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.eofnet.lt/w//index.php?title=Fbwall&amp;diff=9424&amp;oldid=prev"/>
		<updated>2022-08-07T22:44:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;lt&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Ankstesnė versija&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;22:44, 7 rugpjūčio 2022 versija&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot; &gt;48 eilutė:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;48 eilutė:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;IMAGE=&amp;quot;$( readlink -f &amp;quot;$@&amp;quot; )&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;IMAGE=&amp;quot;$( readlink -f &amp;quot;$@&amp;quot; )&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;( sleep 1; cat /dev/fb0 &amp;gt; $IMGPATH/BACKGROUND.fbimg ) &amp;amp; fbi -t 2 -1 --noverbose -a  &amp;quot;$IMAGE&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;( sleep 1; cat /dev/fb0 &amp;gt; $IMGPATH/BACKGROUND.fbimg ) &amp;amp; fbi -t 2 -1 --noverbose -a  &amp;quot;$IMAGE&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fi&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if [[ ! -e $IMGPATH/BACKGROUND.fbimg ]]; then&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  echo &amp;quot;Generated image file not found&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  echo &amp;quot;You must run script with image file as it's first parameter&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  exit 1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;fi&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;fi&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>\dev\null</name></author>
	</entry>
	<entry>
		<id>https://wiki.eofnet.lt/w//index.php?title=Fbwall&amp;diff=9423&amp;oldid=prev</id>
		<title>\dev\null: Naujas puslapis: Scriptas skirtas uždėti wallpaperį ant linux framebuffer konsolių pasitelkiant fbterm ir fbi įrankius (pastarieji jau turi būti įdiegti sistemoje).     &lt;SyntaxHigh...</title>
		<link rel="alternate" type="text/html" href="https://wiki.eofnet.lt/w//index.php?title=Fbwall&amp;diff=9423&amp;oldid=prev"/>
		<updated>2022-08-07T22:41:44Z</updated>

		<summary type="html">&lt;p&gt;Naujas puslapis: Scriptas skirtas uždėti wallpaperį ant linux framebuffer konsolių pasitelkiant &lt;a href=&quot;/w//index.php?title=Fbterm&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Fbterm (puslapis neegzistuoja)&quot;&gt;fbterm&lt;/a&gt; ir &lt;a href=&quot;/w//index.php?title=Fbi&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Fbi (puslapis neegzistuoja)&quot;&gt;fbi&lt;/a&gt; įrankius (pastarieji jau turi būti įdiegti sistemoje).     &amp;lt;SyntaxHigh...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Naujas puslapis&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Scriptas skirtas uždėti wallpaperį ant linux framebuffer konsolių pasitelkiant [[fbterm]] ir [[fbi]] įrankius (pastarieji jau turi būti įdiegti sistemoje).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;SyntaxHighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# (c) 2022 refurbished by e1z0&lt;br /&gt;
# source this file from your .bashrc&lt;br /&gt;
&lt;br /&gt;
# Original Author : Serg Kolo&lt;br /&gt;
# Date: Dec 5, 2015&lt;br /&gt;
# Description: Script to render image and set it as background&lt;br /&gt;
# in conjunction with fbterm&lt;br /&gt;
# Depends: fbterm,fbi, awk&lt;br /&gt;
# Written for: https://askubuntu.com/q/701874/295286&lt;br /&gt;
&lt;br /&gt;
IMGPATH=&amp;quot;/opt/fb&amp;quot;&lt;br /&gt;
&lt;br /&gt;
if [[ ! -d $IMGPATH ]]; then&lt;br /&gt;
mkdir $IMGPATH&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
function printUsage&lt;br /&gt;
{&lt;br /&gt;
  echo &amp;quot;&amp;lt;&amp;lt;&amp;lt; Script to set background image in TTY console&amp;quot;&lt;br /&gt;
  echo &amp;quot;&amp;lt;&amp;lt;&amp;lt; Written by Serg Kolo, Dec 5 , 2015&amp;quot;&lt;br /&gt;
  echo &amp;quot;&amp;lt;&amp;lt;&amp;lt; First time run: fbwall /path/to/image&amp;quot;&lt;br /&gt;
  echo &amp;quot;&amp;lt;&amp;lt;&amp;lt; It will generate corresponding image used by fbterm&amp;quot;&lt;br /&gt;
  echo &amp;quot;&amp;lt;&amp;lt;&amp;lt; Second times you only need to run fbwall without any parameters&amp;quot;&lt;br /&gt;
  echo &amp;quot;&amp;lt;&amp;lt;&amp;lt; But if you want to change wallpaper you must run with parameter&amp;quot;&lt;br /&gt;
  echo &amp;quot;&amp;lt;&amp;lt;&amp;lt; Must be ran with root privileges, in TTY only&amp;quot;&lt;br /&gt;
  echo &amp;quot;exiting&amp;quot;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# check if we're root, if there's at least one ARG, and it is a TTY&lt;br /&gt;
&lt;br /&gt;
if [ &amp;quot;$( tty | awk '{gsub(/[[:digit:]]/,&amp;quot;&amp;quot;); gsub(/\/dev\//,&amp;quot;&amp;quot;);print}' )&amp;quot; != &amp;quot;tty&amp;quot;  ] ;then&lt;br /&gt;
   exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# Launch fbi with whatever image was supplied as command line arg&lt;br /&gt;
# then take out whatever is the data in framebuffer;&lt;br /&gt;
# Store that data to /tmp folder&lt;br /&gt;
&lt;br /&gt;
if [[ &amp;quot;$1&amp;quot; != &amp;quot;&amp;quot; ]]; then&lt;br /&gt;
IMAGE=&amp;quot;$( readlink -f &amp;quot;$@&amp;quot; )&amp;quot;&lt;br /&gt;
( sleep 1; cat /dev/fb0 &amp;gt; $IMGPATH/BACKGROUND.fbimg ) &amp;amp; fbi -t 2 -1 --noverbose -a  &amp;quot;$IMAGE&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# This portion is really optional; you can comment it out &lt;br /&gt;
# if you choose so&lt;br /&gt;
&lt;br /&gt;
# The man page states that fbterm takes screenshot of &lt;br /&gt;
# what is currently in framebuffer and sets it as background&lt;br /&gt;
# if FBTERM_BACKGROUND_IMAGE is set to 1&lt;br /&gt;
# Therefore the trick is to send the framebuffer data captured&lt;br /&gt;
# in the last step (which will display the image on screen)&lt;br /&gt;
# and then launch fbterm. Note, that I send output from the command&lt;br /&gt;
# send to background in order to avoid the extra text displayed on &lt;br /&gt;
# screen. That way we have clear image in framebuffer, without &lt;br /&gt;
# the shell text, when we launch fbterm&lt;br /&gt;
&lt;br /&gt;
export FBTERM_BACKGROUND_IMAGE=1&lt;br /&gt;
clear&lt;br /&gt;
( cat $IMGPATH/BACKGROUND.fbimg  &amp;gt; /dev/fb0 &amp;amp;) &amp;gt; /dev/null; fbterm&lt;br /&gt;
&amp;lt;/Syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>\dev\null</name></author>
	</entry>
</feed>