Page 3 of 5

Re: Howto: Disable Screen Saver In Raspbian

Posted: Tue May 10, 2016 3:00 pm
by Rive
lol

I myself have misquoted a few times... :?

Re: Howto: Disable Screen Saver In Raspbian

Posted: Fri May 13, 2016 12:22 pm
by timmoore46
Huge apologies about the wrong accreditation ! its was really Rive wot dun it !*LOL*

Delighted it was all taken in good humour ! I spotted it when I read through the listing this morning !

So I realised I needed to do a bit of serious grovelling ! *LOL*

Grovel Grovel......

:o :o :o

Tim

Re: Howto: Disable Screen Saver In Raspbian

Posted: Thu Jun 02, 2016 8:25 pm
by snowwalker
Am I going to have this screen blan king problem when I use ANDROID on my PI 3 B model? :?:

I will be using it to stream and watch movies and TV show across the Web. Everything I want to watch can be watched on my Tablet so Android seem to be the best option so far. I don't like flash player because of the security risk, so I don't plan to use Linux ( Although I love it.).

Re: Howto: Disable Screen Saver In Raspbian

Posted: Fri Jun 03, 2016 3:28 am
by klricks
snowwalker wrote:Am I going to have this screen blan king problem when I use ANDROID on my PI 3 B model? :?:

I will be using it to stream and watch movies and TV show across the Web. Everything I want to watch can be watched on my Tablet so Android seem to be the best option so far. I don't like flash player because of the security risk, so I don't plan to use Linux ( Although I love it.).

I don't think there is any Andriod that works well enough on the RPi to be useful?
Follow the links here and you may find a forum to ask your question: viewtopic.php?f=73&t=71658
You don't have to worry about flash player as that is not supported in any RPI OS.

Re: Howto: Disable Screen Saver In Raspbian

Posted: Fri Jun 03, 2016 3:55 pm
by snowwalker
klricks wrote:I don't think there is any Andriod that works well enough on the RPi to be useful?
Follow the links here and you may find a forum to ask your question: viewtopic.php?f=73&t=71658
You don't have to worry about flash player as that is not supported in any RPI OS.
Well I guess that solves my problem.. if no OS on the PI supports it then Linux it is...

Re: Howto: Disable Screen Saver In Raspbian

Posted: Fri Sep 02, 2016 9:31 am
by topcompanies
Thanks jwzumwalt for solution. I am also facing this problem.

Re: Howto: Disable Screen Saver In Raspbian

Posted: Tue Oct 11, 2016 8:29 pm
by keessap
To Disable the Screen Saver I have found out that it is very easy now in Rasbain-Jessie. CLI commands are not necessary anymore. You can set it in the LXSession configuration in Preferences. If you can't find the entry, you can add it with the Main Menu Editor.
Go to Preferences, LXsession configuration,
Choose: Autostart
Add a new command under Manual Autotarted Applications: @set s off -dpms
Your screen will go out again.posting.php?mode=reply&f=91&t=57552&con ... KHT80B53UD#

Re: Howto: Disable Screen Saver In Raspbian

Posted: Wed Nov 16, 2016 1:01 pm
by EMJB
Was hoping that adding:

Code: Select all

@set s off -dpms
to "/home/pi/.config/lxsession/LXDE-pi/autostart" would work, but no such luck. Is this the wrong place or the wrong command, or both?

EMJB

Re: Howto: Disable Screen Saver In Raspbian

Posted: Wed Nov 16, 2016 3:37 pm
by nl3prc
mmm

You should be in /root/.config/lxsession/LXDE-pi

Re: Howto: Disable Screen Saver In Raspbian

Posted: Thu Nov 17, 2016 8:25 am
by EMJB
@nl3prc

Thanks, but I don't seem to have any file like that. When I try looking for similar files:

Code: Select all

 ~ $ sudo ls /root/.config/lxsession/LXDE-pi
ls: cannot access /root/.config/lxsession/LXDE-pi: No such file or directory
~ $ sudo ls /root/.config
ls: cannot access /root/.config: No such file or directory
Also a command to autostart an application works when put in "/home/pi/.config/lxsession/LXDE-pi/autostart".

I'm confused!

EMJB

Re: Howto: Disable Screen Saver In Raspbian

Posted: Thu Nov 17, 2016 9:14 am
by nl3prc
my autostart looks like below
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@xset s 0 0
@xset s noblank
@xset s noexpose
@xset dpms 0 0 0

Re: Howto: Disable Screen Saver In Raspbian

Posted: Thu Nov 17, 2016 11:24 am
by Bosse_B
I think that if noone has logged on as root on the specific Pi then there will be no files inside /root/.
I do not have any (/root is completely empty) on any of my RPi:s.
So fixing things in root's home dir might not be the proper thing to do.

Re: Howto: Disable Screen Saver In Raspbian

Posted: Thu Nov 17, 2016 11:59 am
by RaTTuS
you never want to run x as root anyway

Re: Howto: Disable Screen Saver In Raspbian

Posted: Mon Nov 21, 2016 9:02 am
by EMJB
nl3prc wrote:my autostart looks like below
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@xset s 0 0
@xset s noblank
@xset s noexpose
@xset dpms 0 0 0
Thanks nl3prc - I copied the last 4 lines into my autostart folder which seems to have done the trick.

EMJB

Re: Howto: Disable Screen Saver In Raspbian

Posted: Fri Dec 16, 2016 2:49 pm
by Lomax
This is driving me nuts. Despite setting BLANK_TIME=0 and POWERDOWN_TIME=0 in /etc/kbd/config the screen still switches off after a few minutes. I am not running LXDE, or even X, so those instructions are unlikely to help. Considering how many people are struggling with this behaviour, may I suggest the Raspbian team change the default to not turn off the screen? Modern LCDs are all LED backlit anyway so there should be little need to "save" the screen - if you want to turn it off, press the power button! ;)

Re: Howto: Disable Screen Saver In Raspbian

Posted: Fri Dec 16, 2016 3:24 pm
by RaTTuS
there are ways to to do it via systemd but meh!
add
consoleblank=0
to the end of /boot/config.txt
IIRC

Re: How2 Disable Screen Saver In Raspbian

Posted: Sat Dec 17, 2016 1:48 pm
by bkjaya1952
klricks wrote:The easiest way to disable screen blanking in the Raspbian GUI is to install xscreensaver then configure it to disabled.

Code: Select all

sudo apt-get update
sudo apt-get install xscreensaver
In the [Display Mode] tab, set like this - Mode: [Disable Screen Saver]
Thank you :)

Re: Howto: Disable Screen Saver In Raspbian

Posted: Fri Jan 06, 2017 10:42 pm
by Lomax
RaTTuS wrote:there are ways to to do it via systemd but meh!
add
consoleblank=0
to the end of /boot/config.txt
IIRC
Thanks, but I'm still seeing blanking - looks like DPMS off. I have set

Code: Select all

BLANK_TIME=0 
POWERDOWN_TIME=0
in /etc/kbd/config, and

Code: Select all

consoleblank=0
in /boot/config.txt. I've got a Python/Kivy app running in public and really need the screen to remain on for as long as the Pi itself is on. Any other ideas?

Re: Howto: Disable Screen Saver In Raspbian

Posted: Thu Mar 16, 2017 10:20 pm
by AlecGalloway
I have installed xscreensaver and edited lightdm.conf with xserver-command=X -s 0 -dpms, but the screensaver is still on. Is there something that I'm missing?

Re: Howto: Disable Screen Saver In Raspbian

Posted: Mon Jun 26, 2017 2:09 am
by bettersweeps
After days of also dealing with this problem i have finally figured it out, so far the commands listed here will only disable it if you remember to use the bash command you design, or just put it into a loop. Here´s a 1 step fix and explanation as to why the first part has failed to work, first the code.

Code: Select all

xserver-command=X -s 0 -dpms
the reason this hasn´t always worked is because the command has 2 parts to it, the first 1 you see in the lightdm.conf file is merely a trigger, moving further down you will find a second part same print smaller description. The first one is located under Seat Defaults, the second is located under [seatdefalts] both xserver-command=X commands need to written exactly as

Code: Select all

xserver-command=X -s 0 -dpms
for it to work. This doesn´t matter what you run your pi as, this will guarentee to disable the screen saver aka blanking aka idle mode, your screen will never blank, blink, pause, its not a loop hole. this is the real deal fix to the screen saver without needing any apps, and or mods.

Re: Howto: Disable Screen Saver In Raspbian

Posted: Thu Jun 29, 2017 1:44 pm
by adeel88
hi,

I want to add screen saver in Raspberry-pi when screen goes to sleep and when user tap on that it shows the original state of raspberry-pi. Can someone please help me in this problem that how can I do this? I am using raspbian-jessy.

Re: Howto: Disable Screen Saver In Raspbian

Posted: Thu Jun 29, 2017 1:46 pm
by fruitoftheloom
adeel88 wrote:hi,

I want to add screen saver in Raspberry-pi when screen goes to sleep and when user tap on that it shows the original state of raspberry-pi. Can someone please help me in this problem that how can I do this? I am using raspbian-jessy.

Code: Select all

sudo apt-get update
sudo apt-get install xscreensaver
https://www.jwz.org/xscreensaver/

Re: Howto: Disable Screen Saver In Raspbian

Posted: Thu Jun 29, 2017 2:30 pm
by adeel88
fruitoftheloom wrote:
adeel88 wrote:hi,

I want to add screen saver in Raspberry-pi when screen goes to sleep and when user tap on that it shows the original state of raspberry-pi. Can someone please help me in this problem that how can I do this? I am using raspbian-jessy.

Code: Select all

sudo apt-get update
sudo apt-get install xscreensaver
https://www.jwz.org/xscreensaver/
Thanks for your prompt reply. Yes. It worked. Can I add my custom screensaver using 'xscreensaver'?

Re: Howto: Disable Screen Saver In Raspbian

Posted: Thu Jun 29, 2017 5:08 pm
by klricks
adeel88 wrote:...Thanks for your prompt reply. Yes. It worked. Can I add my custom screensaver using 'xscreensaver'?
Yes but you have to install some more addons to xscreenaver.
See this thread: viewtopic.php?f=63&t=185313

Re: Howto: Disable Screen Saver In Raspbian

Posted: Thu Jun 29, 2017 9:32 pm
by adeel88
klricks wrote:
adeel88 wrote:...Thanks for your prompt reply. Yes. It worked. Can I add my custom screensaver using 'xscreensaver'?
Yes but you have to install some more addons to xscreenaver.
See this thread: viewtopic.php?f=63&t=185313

Thanks. Sorry, one last thing can I add a simple black screen when user don't use the raspberry-pi or after specific idle time and when user tap on that it will show the last/original state of raspberry-pi?