User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: Howto: Disable Screen Saver In Raspbian

Tue May 10, 2016 3:00 pm

lol

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

timmoore46
Posts: 266
Joined: Tue Jul 17, 2012 4:36 pm

Re: Howto: Disable Screen Saver In Raspbian

Fri May 13, 2016 12:22 pm

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

snowwalker
Posts: 2
Joined: Thu Jun 02, 2016 3:53 pm
Location: Behind the wheel, or at my bench melting solder.

Re: Howto: Disable Screen Saver In Raspbian

Thu Jun 02, 2016 8:25 pm

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.).

klricks
Posts: 4545
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Howto: Disable Screen Saver In Raspbian

Fri Jun 03, 2016 3:28 am

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.
Go here for my RPi writeup. Basic config, Serial Port add-on etc:
http://blackeagle12.net/Comp/RPi/Rpi.html Click contact icon then world icon --->

snowwalker
Posts: 2
Joined: Thu Jun 02, 2016 3:53 pm
Location: Behind the wheel, or at my bench melting solder.

Re: Howto: Disable Screen Saver In Raspbian

Fri Jun 03, 2016 3:55 pm

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...

topcompanies
Posts: 1
Joined: Fri Sep 02, 2016 9:25 am
Contact: Website

Re: Howto: Disable Screen Saver In Raspbian

Fri Sep 02, 2016 9:31 am

Thanks jwzumwalt for solution. I am also facing this problem.

keessap
Posts: 1
Joined: Wed Jan 09, 2013 9:23 pm

Re: Howto: Disable Screen Saver In Raspbian

Tue Oct 11, 2016 8:29 pm

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#

EMJB
Posts: 93
Joined: Wed Jun 12, 2013 8:29 am

Re: Howto: Disable Screen Saver In Raspbian

Wed Nov 16, 2016 1:01 pm

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

User avatar
nl3prc
Posts: 152
Joined: Sun Jul 24, 2016 12:39 pm
Location: Den Helder the netherlands

Re: Howto: Disable Screen Saver In Raspbian

Wed Nov 16, 2016 3:37 pm

mmm

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

EMJB
Posts: 93
Joined: Wed Jun 12, 2013 8:29 am

Re: Howto: Disable Screen Saver In Raspbian

Thu Nov 17, 2016 8:25 am

@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

User avatar
nl3prc
Posts: 152
Joined: Sun Jul 24, 2016 12:39 pm
Location: Den Helder the netherlands

Re: Howto: Disable Screen Saver In Raspbian

Thu Nov 17, 2016 9:14 am

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

Bosse_B
Posts: 572
Joined: Thu Jan 30, 2014 9:53 am

Re: Howto: Disable Screen Saver In Raspbian

Thu Nov 17, 2016 11:24 am

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.
Bo Berglund
Sweden

User avatar
RaTTuS
Posts: 9358
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Howto: Disable Screen Saver In Raspbian

Thu Nov 17, 2016 11:59 am

you never want to run x as root anyway
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

EMJB
Posts: 93
Joined: Wed Jun 12, 2013 8:29 am

Re: Howto: Disable Screen Saver In Raspbian

Mon Nov 21, 2016 9:02 am

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

Lomax
Posts: 121
Joined: Wed May 20, 2015 9:43 pm

Re: Howto: Disable Screen Saver In Raspbian

Fri Dec 16, 2016 2:49 pm

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! ;)

User avatar
RaTTuS
Posts: 9358
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Howto: Disable Screen Saver In Raspbian

Fri Dec 16, 2016 3:24 pm

there are ways to to do it via systemd but meh!
add
consoleblank=0
to the end of /boot/config.txt
IIRC
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

bkjaya1952
Posts: 8
Joined: Thu Nov 24, 2016 11:46 am
Location: Sri Lanka
Contact: Website

Re: How2 Disable Screen Saver In Raspbian

Sat Dec 17, 2016 1:48 pm

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 :)

Lomax
Posts: 121
Joined: Wed May 20, 2015 9:43 pm

Re: Howto: Disable Screen Saver In Raspbian

Fri Jan 06, 2017 10:42 pm

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?

AlecGalloway
Posts: 1
Joined: Thu Mar 16, 2017 10:16 pm

Re: Howto: Disable Screen Saver In Raspbian

Thu Mar 16, 2017 10:20 pm

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?

bettersweeps
Posts: 2
Joined: Thu Jun 01, 2017 12:57 am

Re: Howto: Disable Screen Saver In Raspbian

Mon Jun 26, 2017 2:09 am

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.

adeel88
Posts: 7
Joined: Fri Mar 17, 2017 11:03 am

Re: Howto: Disable Screen Saver In Raspbian

Thu Jun 29, 2017 1:44 pm

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.

User avatar
fruitoftheloom
Posts: 14357
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Howto: Disable Screen Saver In Raspbian

Thu Jun 29, 2017 1:46 pm

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/
Asus ChromeBit running ChromeOS cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA

adeel88
Posts: 7
Joined: Fri Mar 17, 2017 11:03 am

Re: Howto: Disable Screen Saver In Raspbian

Thu Jun 29, 2017 2:30 pm

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'?

klricks
Posts: 4545
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Howto: Disable Screen Saver In Raspbian

Thu Jun 29, 2017 5:08 pm

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
Go here for my RPi writeup. Basic config, Serial Port add-on etc:
http://blackeagle12.net/Comp/RPi/Rpi.html Click contact icon then world icon --->

adeel88
Posts: 7
Joined: Fri Mar 17, 2017 11:03 am

Re: Howto: Disable Screen Saver In Raspbian

Thu Jun 29, 2017 9:32 pm

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?

Return to “Beginners”

Who is online

Users browsing this forum: chrisoh, klricks and 34 guests