-rst- wrote:Hmm, I wonder if this 'screensaver module' can be any executable ...
Yes, it seems so ...in Linux that is.
I tested this yesterday ...with varying results and issues depending on the executable... (not a good idea to run a 'plain frame buffer' app that changes display resolution
) - prepare to have to swing your mouse around the desktop and maximise+normalise some window to get X to redraw the desktop
- check if screensaver already installed in LXDE, is "menu -> Preferences -> Screensaver" present
- if not installed: sudo apt-get install xscreensaver
- create file ~/.xscreensaver (that is a file named ".xscreensaver" in the user's home directory, '/home/pi' by default)
- add this line in the file:
- restart X (close X and 'startx' ...not sure how this works if you have 'autostart X' enabled - might need to boot)
- go to: menu -> Preferences -> Screensaver
- find the 'myownscreensaver' in list of scrteensaver modules and select
- click 'Settings...' and in the settings popup 'Advanced >>>'
- edit command line to point to your executable
Scratch projects can be run in 'fullscreen' autorun 'presentation' mode using (this would go to the command line above):
scratch presentation path-to/filename.sb
scratch presentation "/home/pi/Documents/Scratch Projects/Test.sb"
...best to test first from Run command-box (Alt+F2) or from LXTerminal.
So, if you are desp...determined enough to want to try this
http://raspberrycompote.blogspot.com/ - Low-level graphics and 'Coding Gold Dust'