Hi @jaski.tx
thanks for your answer. But It’s not what I’m trying to do.
Maybe I explained it badly, I’ll try to do better:
I have an application running on my device where users can press buttons on screen an do other stuff. If the screen isn’t touch by anyone for x sec (or minute) I’d like it to turn off backlight.
Previously I used another linux image with Xfbdev, to do it I had this command lunch at startup Xfbdev $DISPLAY -mouse tslib,,device=/dev/input/event0 -screen 800x480x16 -s 10
The last parameter -s X set a “screen sleep mode” after X sec.
Now, with the toradex image I’m a little bit lost.
I have found a solution, don’t know if it is the best way but it did the job.
I’ve found this documentation : https://www.x.org/archive//X11R7.0/doc/html/xset.1.html
So my solution is to use this command line xset s {n sec} to set the screen saver parameters. And to make it permanent I’ve added it to the file .profile of the user, this file is here ‘/home/{user}/.profile’ .
Thanks for the information. Did the solution work?
Yeah, you can set a value of standby and suspend time also in /etc/X11/xorg.conf.
We set this value to 0 since in general our demo images are used in exhibition where setting display to standby or suspend mode is disabled.