Using figlet for a console screensaver

This one is of my own invention, so if it’s sloppy or if there’s another way to do this, please let me know. I was thinking about tty-clock and clockywock, and at the same time thinking about the 3D hostname screensaver that usually appears in the xscreensaver package. This is nowhere near as cool, but it does something similar.

while true  
		echo "Crux" `uname -r -s` "on" $HOSTNAME | figlet -t -c -f /usr/share/figlet/small.flf  
		date | figlet -t -c -f /usr/share/figlet/big.flf  
		sleep 15s  

Trigger that as part of a screensaver script for GNU/screen, and it should display something like this …

But without the split screen effects, of course. Needless to say you’ll need figlet installed, but beyond that, it shouldn’t require anything special. Feel free to expound upon it; I’m sure there are better or more interesting ways of accomplishing this. ;)

About these ads

4 Responses to “Using figlet for a console screensaver”

  1. 1 gogi-goji 2010/01/03 at 7:29 AM

    Wow, that’s an awesome idea!

  2. 2 Dario 2010/01/10 at 9:50 AM

    I would like to help for the this script
    who can help me?

    “1 = Tekst aanpassen”
    “2 = Logo aanpassen”
    “4 = Ander font kiezen”
    “5 = Ascii art toevoegen of verwijderen”
    “6 = Mail bekijken”
    “7 = Mail versturen”
    “X = exit”

  1. 1 Links 3/1/2010: KDE SC 4.4 Videos, Zorin OS 2.0 Reviewed | Boycott Novell Trackback on 2010/01/04 at 12:02 AM

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Visit the Wiki!

Some recent desktops

May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF

May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games

Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers


This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,963,663 hits



Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: