Screensaver.

July 08th, 2012 - 05:11 pm ET by Sioux C. Queue | Report spam
Not a life threatening situation, but how can I run a script, or a
command, as a screensaver.

Meaning after XX minutes it will run the command:
/usr/bin/xlock -nolock -mode random -nice 19

The "-nice" would be nice, but not necessary. openSUSE 12.1 with all
the current 64bit software loaded.

As it is I have screenblanking turned off and simply aliased the command
and manually run it in a xterm (or whatever type of terminal it is, k,
j, l, m, konsole, etcetera) whenever I want to. I'm an old fashioned
guy, I have 5 xterms running and only use a GUI it's a requirement.
email Follow the discussionReplies 4 repliesReplies Make a reply

Replies

#1 houghi
July 08th, 2012 - 05:45 pm ET | Report spam
Sioux C. Queue wrote:
Meaning after XX minutes it will run the command:
/usr/bin/xlock -nolock -mode random -nice 19



at might be an option or sleep.
e.g. `sleep 600 ; /usr/bin/xlock -nolock -mode random -nice 19` to run
after 600 seconds (or 10 minutes)

at can be more specific. See `man at`. However then you must also run
the at deamon.

houghi
________________________ Open your eyes, open your mind
| proud like a god don't pretend to be blind
| trapped in yourself, break out instead
http://openSUSE.org | beat the machine that works in your head

Similar topics