Hey Emre Ucan,

thanks for your answer, but I didn't want to write a screenshot tool rather 
than I want to write a screensaver which basically should just disable the 
display and on touch reenable the display.
Either by a program or via DPMS.

Program I learned is not an option, as the basic weston compositor which we 
use, hasn't the screensaver interface anymore.

But DPMS should be supported but it isn't triggered in our device. So I 
wondered how it should work or can be triggered.

Can someone please shed some light on the DPMS Mechanism (or point me to the 
right direction) which is used in weston compositor?

Cheers,
Thilo

Am Montag, den 23.01.2017, 07:20 +0000 schrieb Ucan, Emre (ADITG/SW1):
> 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-
> > [email protected]] On Behalf Of [email protected]
> > Sent: Freitag, 20. Januar 2017 16:42
> > To: [email protected]
> > Cc: [email protected]
> > 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
> > > "[email protected]" <[email protected]> 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to