HOW2 simulate a keybrd-press ?

We want to start: gpicview *jpg, and immediately switch
to full-screen-mode; which is done by .
But `man gpicview` says it has no options.
And if the
it would need be spawned by gpicview ?
Or is there a lightweight *
.jpg to FrameBuffer utility?
This is for an educational toy.
And also,
would the following pseudo-code be suitable for cycling
pictures with their matching audio?
Write shell script to:--
FOR i := First TO Last DO
aplay $i.wav;
killall //after aplay times-out
== TIA

Reply to
Loading thread data ...
'fbi' might work for you.
Reply to
Gordon Henderson
Have a look at the example code in /opt/vc/src/hello_pi
Specifically the hello_jpeg code. This decodes and displays jpegs on the screen using the hardware, so will be fast.
Look at the README file first, you need to build the libaries, then build the program. It should take a minute or two in total, if you are up to that. No changes to any files required.
Reply to
xdotool search --name "Image Viewer" key F11
Reply to
Rob Morley
xmacroplay is very useful for that kind of thing. With a bit of scripting, it is possible to automate web login sequences or even printing both sides of a check on an online banking site.
Robert Riches 
 Click to see the full signature
Reply to
Robert Riches
Wow, thanks! That looks custom made for my requirents.
Reply to

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.