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/