Xibo Client could run as a screensaver

Registered by Alex Harrington

via Gummio "Will be a version of the XIBO client that run as a screen saver, scr file?

That would be nice possibility for a corporate to display a inhouse information to the employee."

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
gummio
Direction:
Needs approval
Assignee:
Dan Garner
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 1.7.0-alpha
Started by
Dan Garner
Completed by
Dan Garner

Related branches

Sprints

Whiteboard

Suggestion:

That could be achived by creating a small progam which will open, run xibo with parameter, (..\xibo.exe -screensaver) and close itself.
In Xibo: once runed with parameter, any double click in application will exit

-----------
Response from KEJ in absence of a better way to add feedback!

According to MS's support pages;

Window's Screensavers are simply .exe files that accept simple parameters.

The arguments Windows passes to a screensaver are:

•/s - load the screensaver
•/c - load the configuration screen
•/p - load the preview

This should be easily achievable using the current code base and simplify the installer needs as well.

I'll try to provide the devs with patches.

UPDATE - Gabriel Fournier:
My student association needed Xibo as a screensaver.
It doesn't quite comply with Windows' standard screensaver parameters, but it exits when the user moves the mouse, just like a screensaver is expected to behave. I don't intend to integrate exit on keyboard event today, though I suppose it is as easy to implement as the mouse interaction.

For deployment, I strongly advise to build in release configuration, with both DEBUG and TRACE logs disabled (else, you get a hangup on exit when the logs are saved after a long run).

You can find the patch I made over 1.5.2 mainframe.cs code here: http://ageg.usherbrooke.ca/owncloud/public.php?service=files&t=8eff878d8aaa1269585b79c9195260dd

and my full modified mainframe.cs here:
http://ageg.usherbrooke.ca/owncloud/public.php?service=files&t=e9b2251cf0c443104cbc94de20a185ee

Happy coding!

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.