I want to use feh slideshow as a screensaver and to have the current file logged to a log file as it is displayed.
Currently I am using feh slideshow with xautolock as so :
xautolock -time 5 -locker feh_screensaver.sh &
where feh_screensaver.sh is :
feh --full-screen \
--image-bg black \
--randomize \
--hide-pointer \
--auto-zoom \
--slideshow-delay 15 \
$directory
I have tried putting an iinotifywait watch on the directory but it notifies of only the very first file accessed. (Interesting! Why is that?)
Looking into slideshow.c I see slideshow_change_image but my limited C skill cannot follow this last function clearly enough to know where to put the log statement which could use feh_frprinf?
I want to use feh slideshow as a screensaver and to have the current file logged to a log file as it is displayed.
Currently I am using feh slideshow with xautolock as so :
where
feh_screensaver.shis :I have tried putting an
iinotifywaitwatch on the directory but it notifies of only the very first file accessed. (Interesting! Why is that?)Looking into
slideshow.cI seeslideshow_change_imagebut my limited C skill cannot follow this last function clearly enough to know where to put the log statement which could usefeh_frprinf?