How to put periodic <F9> in script?
Posted: Tue Apr 27, 2021 2:07 am
need to perodically press F9 to operate cache cleaner add-on [in all desktops?]. it's not built in-pity.
tks
Discussion, talk and tips
https://forum.puppylinux.com/
need to perodically press F9 to operate cache cleaner add-on [in all desktops?]. it's not built in-pity.
tks
If you have xdotool installed:
Code: Select all
#!/bin/sh
while true
do
sleep 10m
xdotool search --name "Firefox" key --clearmodifiers F9
done
This "presses" the F9 key to a window with Firefox in the name of the window, every 10 minutes.
Tahr v much
I see what you did there....nice
this is a good solution to my other problem, X no longer drops out at abt 24hrs. gr8 relief. tks.