Page 1 of 1

[SOLVED] Monitor turns off watching Flash screensaver is off

Posted: Sun Jan 22, 2012 3:36 pm
by elaterite
[UPDATE: The solution is in the sixth post below.]

Problem: Watching flash in a web browser screen the goes off after 15 minutes or so.

Yes, I have turned off all screensavers and power management in both OS and Bios. (At least all that I could find.) I've even tried uninstalling both xscreensaver and kscreensaver.

Equipment and distro:
Lenovo Thinkpad #0302-44U
Linux Mint 9 "Isadora" LTS 64bit (Package base Kubuntu, Lucid Lynx.)
Desktop KDE

Current settings:
System Settings > Screen saver > "Settings" start automatically (NOT checked).
System settings > Advanced > Power Management & Edit Profiles > I went through and unchecked everything, set everything to "Performance" and set all of the dialog boxes to "Do Nothing".

I also checked in my bios at start up for power-saving settings and assured they we off &c.

This problem (annoyance) seems to be quite prevalent with a lot of people complaining about it on a variety of Linux forums.

Thus far I have found two solutions:

1) A script at this http://ubuntuforums.org/archive/index.p ... 90393.html which I've not tried because it seems insanely complicated for solving such a simple problem, and it's written for Gnome. There was one written for KDE however. I'll go back and see if I can get it to work if no one can come up with a simpler solution in this thread. Also, it's just the script (many versions) and it says nothing about in which directory it should be placed, how to make it active, or how to set the permissions on it--all things I need to know to use it. (I'm not very good with using scripts.)

2) And this http://silviumc.wordpress.com/2011/12/0 ... b-browser/ which suggests running the following at the command line:

Code: Select all

while /bin/true; do qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity > /dev/null; sleep 1m; done
Number (2) worked great, however, when I was trying to send the Flash stream out to my TV in the front room via the HDMI port and a long cable--the TV screen blanked out while the monitor on the laptop remained on!

So clearly, the command in number (2) only works for the laptop monitor but not the HDMI port. Oy vei.

Thoughts anyone? And thanks in advance for reviewing this question! :)

Re: Monitor turns off watching Flash (screensaver is off)

Posted: Sun Jan 22, 2012 6:38 pm
by tdockery97
For a temporary solution (at least for the time you are logged in) you can run the following 2 commands in the terminal:

Code: Select all

xset -dpms

Code: Select all

xset s off
If you put them in a script saved as a hidden file in your /home directory, you can add it to your startup applications to do it automatically each time you boot.

Re: Monitor turns off watching Flash (screensaver is off)

Posted: Mon Jan 23, 2012 3:39 am
by elaterite
tdockery97 wrote:For a temporary solution (at least for the time you are logged in) you can run the following 2 commands in the terminal:

Code: Select all

xset -dpms

Code: Select all

xset s off
If you put them in a script saved as a hidden file in your /home directory, you can add it to your startup applications to do it automatically each time you boot.

Thanks tdockery, but your commands did not work when I tried them as root. When I ran the commands they both returned:
No Protocol Specified
xset: unable to open display ":0.0"

Anymore thoughts?

It does seem, according to the other threads I've read on this topic, that whatever the DPMS is it's what's causing the problem. Somewhere (not in xorg though) I imagine there's a line something like: "DPMS=TRUE 10" (10 for ten minutes). But I can't seem to find the file. Do you know where the DPMS file is? If I could just change it to FALSE then everything would be OK. (I'm guessing.)

Re: Monitor turns off watching Flash (screensaver is off)

Posted: Mon Jan 23, 2012 4:24 am
by tdockery97
You don't run it as root. Run the command as your normal user. When you run the commands, you won't see it do anything; it will just return to command prompt.

Re: Monitor turns off watching Flash (screensaver is off)

Posted: Mon Jan 23, 2012 6:02 am
by senseiski
Have you tried Caffeine? It is a really handy application when it comes to preventing you display from going blank while watching flash videos. :)

Re: [SOLVED] Monitor turns off watching Flash screensaver is

Posted: Mon Jan 23, 2012 8:59 pm
by elaterite
OK, I'm marking this thread as SOLVED.

Yes, I've seen Caffine, however, for some reason I elected not to try it. May be it was because it's Gnome based, but I forget?

For anyone else having this problem and reading this thread, tdockery's solution works if you run the following commands in terminal (as yourself, not as root):

Code: Select all

xset -dpms

Code: Select all

xset s off
Additionally, for people having problems with the audio when trying to stream Flash out of their HDMI port to another monitor/TV a solution is posted at the follwoing link: https://wiki.archlinux.org/index.php/Ad ... s_Not_Work

Thanks everyone!

Re: Monitor turns off watching Flash (screensaver is off)

Posted: Sat Jan 28, 2012 4:14 pm
by Ebere
tdockery97 wrote:For a temporary solution (at least for the time you are logged in) you can run the following 2 commands in the terminal:

Code: Select all

xset -dpms

Code: Select all

xset s off
If you put them in a script saved as a hidden file in your /home directory, you can add it to your startup applications to do it automatically each time you boot.
HowIdodat ?

Re: Monitor turns off watching Flash (screensaver is off)

Posted: Sat Jan 28, 2012 5:16 pm
by elaterite
Ebere wrote:
tdockery97 wrote:For a temporary solution (at least for the time you are logged in) you can run the following 2 commands in the terminal:

Code: Select all

xset -dpms

Code: Select all

xset s off
If you put them in a script saved as a hidden file in your /home directory, you can add it to your startup applications to do it automatically each time you boot.
HowIdodat ?
How do you do what, run the commands or create a script?

To run the commands, open a terminal (in KDE: App Launcher (Start Button) > System > Konsole), and run each of the codes above one at a time by typing at the command promt: xset -dpms (hit enter) and then xset s off (hit enter). Close Knsole and you are done.

As far as the script, I can't help with that, however, this link http://www.linfo.org/create_shell_1.html should help you. Looks pretty easy if you read through it.

Re: [SOLVED] Monitor turns off watching Flash screensaver is

Posted: Sun Jun 17, 2012 12:57 pm
by ashtonford
why would mint put out a distro that you dont have a option to turn off the screen saver off? totally insane. That is a major complaint alot of people have been having. Shouldent have to go in editing start up files etc. Just a simple never option in the screen saver would be usefull. Could this be done as a update?

Re: [SOLVED] Monitor turns off watching Flash screensaver is

Posted: Mon Jun 18, 2012 9:04 am
by BostonPeng
Actually it should be very easy to disable the screensaver right within KDE. You should be able to go to System Settings > Display and Monitor > Screen Saver and clear the checkbox for Start automatically after:. At least that's how KDE 4.8.3 does it but it should be similar in the version of KDE you're running. I can snag a screenshot if you need me to.

ETA: You should also be able to get to that screen directly from the Run Command Interface by looking for Screen Saver.