Random File Feed

Screensavers

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

Well, this is not a real screensaver. It's more a simple shell script to feed screensavers that can display text from a program, like Apple2, Phosphor or StarWars.

This shell scripts searches for files in a given directory, selects a random file and pipes it into the screensaver.

This is great to get reminded of your own code, to learn about new code or to show any arbitrary text file. Optionally you can specify a file name filter.

For example to show a *.c file from the linux sources specify this as program:

randomfile /usr/src/linux/ '*.c'

(NOTE: In this case the addtional / at the end is important since /usr/src/linux is a link on most distributions)

kwartik

9 years ago

Hi,

I have used the same approach for my screensaver which displays quotes that are saves in a single file. More details here : http://kwartik.wordpress.com/use-your-screensaver-to-display-your-favorite-quotes/

Report

eon

13 years ago

There seems to be an off-by-one error on line 47, so I made a patch to address it. The patch also cleans up after itself, removing the temporary file in `/tmp/randomfile_filelist'.

Patch: http://eon.shellcode.eu/code/randomfile/randomfile.patch

Report

nescius

13 years ago

perfect, random you say? :)

it reminds like xscreensaver, which has rss support inside, i am using phosphor with bbc world news, they are in kde screeensavers now, too bad that the configurator doesn't allow me to choose own rss or file, i had to use xscreensaver instead.

Report

mordredbe

14 years ago

THKS

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.1
updated Apr 21 2005
added Apr 21 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0