Thank you very much Greenfuse, your input had gotten me a lot further.
I guess I made a mistake with gqview that I was logged on as a normal user and tried to start it from the root terminal right after installing gqview. Therefore the settings made in the GUI did not apply..
This is what I have now:
- a WOL script in the startup from another pc which is always used, and switched on immediately when shop is open.
- gqview at startup (configured through the GUI startup) with the folder as location to start from
- found unclutter to hide mouse cursor (was also a reason to go with VLC)
- shutdown scheduled with crontab
So far, so good and I'm quite happy with this.
Now I'm trying to push it a little further by a script on the windows machine. The goal is to be able to stop and start gqview, shutdown and restart the pc.
The reason for this is that, since the pc is on all the time and if they want to make changes to the presentation, by just adding/removing files to the samba share while the presentation is running, it stops and you need remote access to start it again.
I could use VNC for this but thought of making it easier/idiot proof with a batch file; there are a few issues though...
I'm using plink to control remotely, which works fine for shutting down/restart - even from a batch file.
Stopping gqview with kill:
I don't know if this is the right/best way and you first have to get the PID -> how to script this so you can always shutdown gqview from command line.
Starting gqview with plink:
I'm stuck because when I do this with the credentials for the right user, I get an 'Access denied' error even though I succeed in accessing with putty.
I don't know if I'm approaching this the right/best way so your comments are appreciated.
Thanks a lot in advance!
Peter