LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Monitor goes blank (black) watching Flash video (screen savers are disabled) (http://www.linuxquestions.org/questions/linux-software-2/monitor-goes-blank-black-watching-flash-video-screen-savers-are-disabled-925045/)

elaterite 01-22-2012 12:58 AM

Monitor goes blank (black) watching Flash video (screen savers are disabled)
 
Problem: Watching flash in web browser screen 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 (Package base Kubuntu, Lucid Lynx.)
Desktop KDE

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

2) And this site which suggests running the following at the command line: "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! :)

Thor_2.0 01-22-2012 09:44 AM

Well, it is a (feather of a) thought, but here goes, youtube has a help page - okay, it's maybe not directly youtube related, but it helped me out with flash troubless...

If it works, repo is the one to thank :) got the link from him...

Good luck

Thor

elaterite 01-22-2012 11:50 PM

Thanks, I checked it but no help. Over on the Linux Mint forums, under KDE, I was given these instructions (UPDATE CORRECTION: this does work if you run the codes as the user, not root):
For a temporary solution (at least for the time you are logged in) you can run the following 2 commands in the terminal:

Code:

xset -dpms
Code:

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.

elaterite 01-23-2012 07:03 PM

Solved
 
OK, I'm marking this thread as SOLVED.

Caffeine maybe another fix for this. I did not try it however.

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

Code:

xset -dpms
Code:

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

Thanks everyone!

Thor_2.0 01-23-2012 09:52 PM

Thanks for sharing the solution.


All times are GMT -5. The time now is 11:50 PM.