Share

CMatrix

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Bash screensaver??

You are viewing a single message from this topic. View all messages.

  1. 2004-05-21 10:02:40 UTC
    Hi,

    I created a imple shell script that simulates your request:

    1. Create the file ~/.cmatrix_profile with:
    ---
    export TMOUT=60
    ---
    where 60 is the number of seconds of inactivity.

    2. Create the script ~/.cmatrix_screensaver with:
    ---
    #!/bin/bash

    while test 1; do
    bash -rcfile ~/.cmatrix_profile
    cmatrix
    echo -n "Logout? [y/N]"
    read LOGOUT
    if [ $LOGOUT = "y" ]; then
    exit;
    fi
    done
    ---

    # chmod 755 ~/.cmatrix_screensaver
    # ~/.cmatrix_screensaver

    Ready for fun! :)

    Regards,
    Fábio Berbert de Paula
    http://www.vivaolinux.com.br/~fabio/
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.