Skip to content

feh slideshow as screensaver : logging current image file #778

@stephenboston

Description

@stephenboston

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions