You are not logged in.

#1 2009-09-14 20:20:34

x0rg
Member
From: Switzerland
Registered: 2009-07-12
Posts: 116

Bash Screensaver

Recently I saw this interesting shell-command in commandlinefu.com

yes "$(seq 1 255)" | while read i; do printf "\x1b[48;5;${i}m\n"; sleep .01; done

And I thought if it weren't funny if you could turn this "rainbow" into a screensaver that would show up every x seconds/minutes of shell inactivity. I would imagine after a time the flashing colours will get annoying but you could replace that for a clock or something.

Unfortunately I'm not a Bash-fu expert nor a programmer. But has anybody got an Idea how to realize this idea?

Offline

#2 2009-09-14 23:46:45

tcoffeep
Member
From: Timmins, Ontario
Registered: 2008-11-26
Posts: 99

Re: Bash Screensaver

That's really cool, actually tongue


=============== Read An Essay ===============
   Distro : Funtoo Linux || Kernel : ckernel-2.6.30-gentoo-r5
Processor : Athlon 64 X2 4400+ || RAM : 2GB || HD : 300GB
========================================

Offline

#3 2009-09-15 08:57:39

zowki
Member
From: Trapped in The Matrix
Registered: 2008-11-27
Posts: 582
Website

Re: Bash Screensaver

Correct me if I'm wrong but I don't think terminal screensavers are possible.

PS: But if it were possible, using cmatrix as a screensaver would look totally 1337!

Last edited by zowki (2009-09-15 08:58:08)


How's my programming? Call 1-800-DEV-NULL

Offline

#4 2009-09-15 09:24:19

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Bash Screensaver

There is one in the AUR: terminal-screensaver.
It implements an ncurses based ASCII screensaver.

But, alas, it is broken as the source server appears inaccessible now. Yet some googeling will show you how it looks.


To know or not to know ...
... the questions remain forever.

Offline

#5 2009-09-15 10:46:04

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Bash Screensaver

Sure it is possible.  Did you google "linux console screensaver"?  One of the top hits:

http://kmandla.wordpress.com/2009/05/05 … reensaver/

My personal favorite is clockywock.

Offline

#6 2009-09-15 15:28:43

x0rg
Member
From: Switzerland
Registered: 2009-07-12
Posts: 116

Re: Bash Screensaver

keenerd wrote:

Sure it is possible.  Did you google "linux console screensaver"?  One of the top hits:

Nope. I just searched "bash screensaver", "shell screensaver" and "commandline screensaver" roll
Thanks for the tip!

Offline

Board footer

Powered by FluxBB