I want the beep to alert me so that sometimes I can nudge the mouse a bit just to keep the system running. (I've set the inactivity time to be very short).
How can this be done?
I'm using Lubuntu 16.04 to be exact.
I want the beep to alert me so that sometimes I can nudge the mouse a bit just to keep the system running. (I've set the inactivity time to be very short).
How can this be done?
I'm using Lubuntu 16.04 to be exact.
First install
beep
package:Then load
pcspkr
module, by default pc speaker is not enable (module is not loaded):Now install
xprintidle
, it's a utility to print user's idle time.Finally we need a command to check if idle time was bigger than of X, runs beep:
After all create a line in
/etc/crontab
to run this command every minute: