Difference between revisions of "Hacks"

From Maemo Leste Wiki
Jump to navigationJump to search
(Created page with "==== Fun Hacks for maemo-leste ==== ---- apt install -y uxterm imagemagick-6.q16 Add to ~/.bashrc: alias uxt="uxterm -ti vt340 -fa 'Monospace' -fs 16 -fullscreen" echo "c...")
 
 
Line 15: Line 15:
display pictures as sixel graphics in your terminal with:
display pictures as sixel graphics in your terminal with:


termimg mypic.png  
imgterm avatar-yinlee.png  


<gallery>Sixel.png</gallery>
<gallery>Sixel.png</gallery>

Latest revision as of 23:52, 6 April 2021

Fun Hacks for maemo-leste


apt install -y uxterm imagemagick-6.q16

Add to ~/.bashrc:

alias uxt="uxterm -ti vt340 -fa 'Monospace' -fs 16 -fullscreen"

echo "convert \$@ -geometry 950x484 sixel:-" > /usr/local/bin/imgterm

chmod uog+x /usr/local/bin/termimg

display pictures as sixel graphics in your terminal with:

imgterm avatar-yinlee.png

You can also get thumbnails of directories with images with imagemagick and the shellscript lsix sixel thumbnailer