writing my own screensaver
Ucan, Emre (ADITG/SW1)
eucan at de.adit-jv.com
Mon Jan 23 07:20:29 UTC 2017
Hi,
The ivi-controller protocol supports taking screenshots:
Protocol: https://github.com/GENIVI/wayland-ivi-extension/blob/master/protocol/ivi-controller.xml
Server side implementation of the procotol: https://github.com/GENIVI/wayland-ivi-extension/blob/master/weston-ivi-shell/src/ivi-controller.c (screenshot function is called controller_screen_screenshot)
Client side implementation of the protocol: https://github.com/GENIVI/wayland-ivi-extension/blob/master/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c (The API is called ilm_takeScreenshot)
You can use ivi-controller protocol only with ivi-shell.
Best regards
Emre Ucan
Software Group I (ADITG/SW1)
Tel. +49 5121 49 6937
> -----Original Message-----
> From: wayland-devel [mailto:wayland-devel-
> bounces at lists.freedesktop.org] On Behalf Of thilo.cestonaro at ts.fujitsu.com
> Sent: Freitag, 20. Januar 2017 16:42
> To: ppaalanen at gmail.com
> Cc: wayland-devel at lists.freedesktop.org
> Subject: Re: writing my own screensaver
>
> Am Freitag, den 20.01.2017, 16:59 +0200 schrieb Pekka Paalanen:
> > On Fri, 20 Jan 2017 13:41:40 +0000
> > "thilo.cestonaro at ts.fujitsu.com" <thilo.cestonaro at ts.fujitsu.com> wrote:
> >
> > > Hey there!
> > >
> > > I wanted to write my own screensaver program, but have no glue where
> > > to start. The example screensaver client is gone from the sources
> > > since 1.9, so I wondered if there is some docu which can help to
> > > implement a screensaver.
> > >
> > > AFAI can see is the screensaver interface gone too, right?
> > >
> > > Or can I implement just a fullscreen app which is mentioned in the
> > > weston.ini as screensaver and weston will use that?
> >
> > Hi,
> >
> > you cannot do that without specific compositor support, and Weston
> > indeed has no support at all anymore. Other compositors might have
> > their own interfaces.
> >
> >
> > Thanks,
> > pq
> Hey,
>
> thats sad to read. Anyway, I read that DPMS is the recommended way to
> switch the display off.
> I found the idle-time configuration in the core section of weston.ini, but it
> does nothing, no fading out or switching the screen off.
>
> Is there another way I need to use? Can I somehow manually trigger weston
> to switch DPMS off and On again?
>
> Cheers,
> Thilo
More information about the wayland-devel
mailing list