Screen blanks while watching video. Leap 15.5 KDE
I installed 15.5 a couple of weeks ago and one annoyance is the screen will blank after a few minutes while watching a video, unless I move the mouse or press a key occasionally. Is there any way to stop that behaviour, while a video is playing? tnx jk
* James Knott <james.knott@jknott.net> [12-16-23 19:28]:
I installed 15.5 a couple of weeks ago and one annoyance is the screen will blank after a few minutes while watching a video, unless I move the mouse or press a key occasionally. Is there any way to stop that behaviour, while a video is playing?
tnx jk
xset --help you might also look at: systemsettings -> workspace behavour -> screen locking -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
James Knott composed on 2023-12-19 22:17 (UTC-0500):
Patrick Shanahan wrote:
xset --help
Searching on the web turned up this: xset s off && xset s noblank && xset -dpms
That appears to stop it from blanking during a video. It also appears to stop it from blanking when idle.
Make a file in /etc/X11/xorg.conf.d/ containing: Section "Monitor" Identifier "DefaultMonitor" Option "DPMS" "off" EndSection I think that Option "BlankTime" "120" has similar effect. I use the latter instead of the former on my main PC, but I also set screen power saving in personal settings to 120min. I normally don't watch videos of as much as 120m on a PC. I go lay in front of the TV for that, but I use the same settings for the PC connected to my TV. My Samsung PC screen stays on no matter what for 120m after last mouse or KB input, unless I flip off its nice mechanical power switch on its rear. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 12/19/23 22:54, Felix Miata wrote:
James Knott composed on 2023-12-19 22:17 (UTC-0500):
Patrick Shanahan wrote:
xset --help Searching on the web turned up this: xset s off && xset s noblank && xset -dpms That appears to stop it from blanking during a video. It also appears to stop it from blanking when idle. Make a file in /etc/X11/xorg.conf.d/ containing:
Section "Monitor" Identifier "DefaultMonitor" Option "DPMS" "off" EndSection
I think that
Option "BlankTime" "120"
has similar effect.
I use the latter instead of the former on my main PC, but I also set screen power saving in personal settings to 120min. I normally don't watch videos of as much as 120m on a PC. I go lay in front of the TV for that, but I use the same settings for the PC connected to my TV. My Samsung PC screen stays on no matter what for 120m after last mouse or KB input, unless I flip off its nice mechanical power switch on its rear.
There is a file 50-monitor.conf there containing: #Section "Monitor" # Identifier "Default Monitor" # # ## If your monitor doesn't support DDC you may override the # ## defaults here # #HorizSync 28-85 # #VertRefresh 50-100 # # ## Add your mode lines here, use e.g the cvt tool # #EndSection Is that where I should put those lines?
On 2023-12-20 23:34, James Knott wrote:
On 12/19/23 22:54, Felix Miata wrote:
James Knott composed on 2023-12-19 22:17 (UTC-0500):
Patrick Shanahan wrote:
There is a file 50-monitor.conf there containing:
#Section "Monitor" # Identifier "Default Monitor" # # ## If your monitor doesn't support DDC you may override the # ## defaults here # #HorizSync 28-85 # #VertRefresh 50-100 # # ## Add your mode lines here, use e.g the cvt tool # #EndSection
Is that where I should put those lines?
It is easier to just configure your desktop timeout. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
James Knott composed on 2023-12-20 17:34 (UTC-0500):
Felix Miata wrote:
James Knott composed on 2023-12-19 22:17 (UTC-0500):
Patrick Shanahan wrote:
xset --help
Searching on the web turned up this: xset s off && xset s noblank && xset -dpms That appears to stop it from blanking during a video. It also appears to stop it from blanking when idle.
Make a file in /etc/X11/xorg.conf.d/ containing:
Section "Monitor" Identifier "DefaultMonitor" Option "DPMS" "off" EndSection
I think that
Option "BlankTime" "120"
has similar effect.
I use the latter instead of the former on my main PC, but I also set screen power saving in personal settings to 120min. I normally don't watch videos of as much as 120m on a PC. I go lay in front of the TV for that, but I use the same settings for the PC connected to my TV. My Samsung PC screen stays on no matter what for 120m after last mouse or KB input, unless I flip off its nice mechanical power switch on its rear.
There is a file 50-monitor.conf there containing:
#Section "Monitor" # Identifier "Default Monitor" # # ## If your monitor doesn't support DDC you may override the # ## defaults here # #HorizSync 28-85 # #VertRefresh 50-100 # # ## Add your mode lines here, use e.g the cvt tool # #EndSection
Is that where I should put those lines?
You could. It's no longer provided in new TW installs. I would have thought it would have been gone by now in Leap too. Maybe in 15.6 it will be. That file as it currently exists does nothing. It's all comments, so you would need all the lines from my prior reply, or to uncomment those that are equivalent. The identifier can be anything other than null. Unlike Carlos' recommendation, this should affect any and every DE you might log into, should you ever log into something besides Plasma to watch your videos. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 2023-12-21 01:50, Felix Miata wrote:
James Knott composed on 2023-12-20 17:34 (UTC-0500):
Felix Miata wrote:
...
Is that where I should put those lines?
You could. It's no longer provided in new TW installs. I would have thought it would have been gone by now in Leap too. Maybe in 15.6 it will be. That file as it currently exists does nothing. It's all comments, so you would need all the lines from my prior reply, or to uncomment those that are equivalent. The identifier can be anything other than null.
Unlike Carlos' recommendation, this should affect any and every DE you might log into, should you ever log into something besides Plasma to watch your videos.
And every user. And a restart of the graphical system is needed to change it back. It is the most invasive method. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On 12/20/23 19:50, Felix Miata wrote:
Is that where I should put those lines? You could. It's no longer provided in new TW installs. I would have thought it would have been gone by now in Leap too. Maybe in 15.6 it will be. That file as it currently exists does nothing. It's all comments, so you would need all the lines from my prior reply, or to uncomment those that are equivalent. The identifier can be anything other than null.
That prevents my system from booting to a desktop.
James Knott composed on 2023-12-21 11:28 (UTC-0500):
Felix Miata wrote:
Is that where I should put those lines? You could. It's no longer provided in new TW installs. I would have thought it would have been gone by now in Leap too. Maybe in 15.6 it will be. That file as it currently exists does nothing. It's all comments, so you would need all the lines from my prior reply, or to uncomment those that are equivalent. The identifier can be anything other than null.
That prevents my system from booting to a desktop.
Show us the content of the file you created or modified. Show us /var/log/Xorg.0.log resulting from an Xorg start with that file employed. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 12/21/23 12:07, Felix Miata wrote:
Show us the content of the file you created or modified.
#Section "Monitor" # Identifier "Default Monitor" # # ## If your monitor doesn't support DDC you may override the # ## defaults here # #HorizSync 28-85 # #VertRefresh 50-100 # # ## Add your mode lines here, use e.g the cvt tool # #EndSection # # #Section "Monitor" Identifier "DefaultMonitor" Option "DPMS""off" EndSection I think I just saw the problem. The Section line is a comment. I'll have to try again.
On 2023-12-20 04:17, James Knott wrote:
On 12/16/23 19:34, Patrick Shanahan wrote:
xset --help
Searching on the web turned up this: xset s off && xset s noblank && xset -dpms
That appears to stop it from blanking during a video. It also appears to stop it from blanking when idle.
But of course, you are inhibiting it from blanking *ever*. I have a similar problem in a laptop with VLC on Leap 15.4 and XFCE Settings → advanced settings Settings → Video → Disable screensaver [X] Yet it blanks. What I had to do was to increase the desktop blanking time to 60 minutes while on mains power, which is the maximum on XFCE. Likely I will press a key during the hour, to pause the movie or repeat a section. I might try xine instead to see if it works. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
I'm using "firefox" on KDE. And "firefox" seems to always block power savings while playing media. If your browser doesn't do that, you can click on the power icon in the tray, and manually block power savings. If you are not using KDE, then this won't help.
On 12/16/23 19:35, Neil Rickert wrote:
I'm using "firefox" on KDE. And "firefox" seems to always block power savings while playing media. If your browser doesn't do that, you can click on the power icon in the tray, and manually block power savings.
I'm also using Firefox on KDE. What power icon?
If you are not using KDE, then this won't help.
* James Knott <james.knott@jknott.net> [12-16-23 20:39]:
On 12/16/23 19:35, Neil Rickert wrote:
I'm using "firefox" on KDE. And "firefox" seems to always block power savings while playing media. If your browser doesn't do that, you can click on the power icon in the tray, and manually block power savings.
I'm also using Firefox on KDE.
What power icon?
If you are not using KDE, then this won't help.
it looks like an AA battery laying sideways. surely you have the capacity to find the "power" utility. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 12/16/23 21:46, Patrick Shanahan wrote:
it looks like an AA battery laying sideways. surely you have the capacity to find the "power" utility.
I have that on my ThinkPad, but this is a desktop system. On my desktop, it shows my UPS, though I just found a battery setting that may be useful. I just noticed that when I click on that setting, a battery appears on my tray. I'll have to see what happens next time I watch a video.
* James Knott <james.knott@jknott.net> [12-16-23 22:34]:
On 12/16/23 21:46, Patrick Shanahan wrote:
it looks like an AA battery laying sideways. surely you have the capacity to find the "power" utility.
I have that on my ThinkPad, but this is a desktop system. On my desktop, it shows my UPS, though I just found a battery setting that may be useful.
I just noticed that when I click on that setting, a battery appears on my tray. I'll have to see what happens next time I watch a video.
while I do not believe that energy app has anything to do with your screen blanking while viewing a video past the screensaver, it does contain configuration for screen blanking which you apparently did not find. perhaps you need to be somewhat more inquisitive in what setting are available for your system (besides networking). did you bother to look for settings in firefox to stop screen blanking while viewing a video? or try google or duckduckdo or ... if you find these things on your own, you will be more likely to remember them the next time, and there will be a next time. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 12/16/23 22:51, Patrick Shanahan wrote:
did you bother to look for settings in firefox to stop screen blanking while viewing a video? or try google or duckduckdo or ...
if you find these things on your own, you will be more likely to remember them the next time, and there will be a next time.
1) I've never had to worry about that before. 2) I did look around and didn't see anything appropriate. I have noticed some other changes, such as duplicate web sites not showing as such. In 15.4, if I made a 2nd connection to the same thing, the browser would say so. There are other changes that I'm not thrilled with.
* James Knott <james.knott@jknott.net> [12-16-23 23:06]:
On 12/16/23 22:51, Patrick Shanahan wrote:
did you bother to look for settings in firefox to stop screen blanking while viewing a video? or try google or duckduckdo or ...
if you find these things on your own, you will be more likely to remember them the next time, and there will be a next time.
1) I've never had to worry about that before.
maybe not about *this particular instance*, but you have many others as you have testified here.
2) I did look around and didn't see anything appropriate.
apparently you spent miniminal effort. the first hit I get on google searching for "firefox screen blanking while viewing a videw" had some very good information.
I have noticed some other changes, such as duplicate web sites not showing as such. In 15.4, if I made a 2nd connection to the same thing, the browser would say so. There are other changes that I'm not thrilled with.
quite possible a difference in configuration or a new configuration. but, "1) I've never had to worry about that before." no pain, no gain, and quick to forget!. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 12/16/23 20:46, Patrick Shanahan wrote:
* James Knott<james.knott@jknott.net> [12-16-23 20:39]:
On 12/16/23 19:35, Neil Rickert wrote:
I'm using "firefox" on KDE. And "firefox" seems to always block power savings while playing media. If your browser doesn't do that, you can click on the power icon in the tray, and manually block power savings. I'm also using Firefox on KDE.
What power icon?
If you are not using KDE, then this won't help.
it looks like an AA battery laying sideways. surely you have the capacity to find the "power" utility.
He's talking about the "Battery" icon you typically see on laptops. -- If you gaze long into an abyss, the abyss will gaze back into you." - Friedrich Nietzsche
On 2023-12-17 01:26, James Knott wrote:
I installed 15.5 a couple of weeks ago and one annoyance is the screen will blank after a few minutes while watching a video, unless I move the mouse or press a key occasionally. Is there any way to stop that behaviour, while a video is playing?
It is up to the application you use to watch the video to stop the desktop from blanking. It may be configurable. I know that, for example, xine-ui emulated the keyboard being used, by touching one of the LEDs on and off. Uppercase-shift or something. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On 2023-12-17 04:32, James Knott wrote:
On 12/16/23 22:22, Carlos E. R. wrote:
It is up to the application you use to watch the video to stop the desktop from blanking.
I normally use Firefox and have done so for years. I've noticed a few things seem to be missing with 15.5.
I never use Firefox to watch a video. Unless you are talking of youtube or similar online sites. Sometimes, Firefox actually calls a plugin to display the video, or calls a detached player. That plugin will have settings. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On 12/16/23 22:46, Carlos E. R. wrote:
I normally use Firefox and have done so for years. I've noticed a few things seem to be missing with 15.5.
I never use Firefox to watch a video. Unless you are talking of youtube or similar online sites.
Sometimes, Firefox actually calls a plugin to display the video, or calls a detached player.
That plugin will have settings.
Yeah, mostly YouTube. I don't recall any such plugin or settings. It just worked. There is a setting someone else mentioned on the "battery", which I've set. I'll have to see what happens next time I watch a video that lasts longer than a few minutes.
On 12/16/23 22:50, James Knott wrote:
Yeah, mostly YouTube. I don't recall any such plugin or settings. It just worked. There is a setting someone else mentioned on the "battery", which I've set. I'll have to see what happens next time I watch a video that lasts longer than a few minutes.
That battery setting didn't do anything for this problem, but it fixed another, where the screen wouldn't go black when the computer was idle.
* James Knott <james.knott@jknott.net> [12-17-23 11:35]:
On 12/16/23 22:50, James Knott wrote:
Yeah, mostly YouTube. I don't recall any such plugin or settings. It just worked. There is a setting someone else mentioned on the "battery", which I've set. I'll have to see what happens next time I watch a video that lasts longer than a few minutes.
That battery setting didn't do anything for this problem, but it fixed another, where the screen wouldn't go black when the computer was idle.
did you follow the suggestions on google for firefox? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
* James Knott <james.knott@jknott.net> [12-17-23 12:10]:
On 12/17/23 12:03, Patrick Shanahan wrote:
did you follow the suggestions on google for firefox?
There are a few things, but they don't seem to fix this situation. Again, this is a computer that's been running several versions of openSUSE, for years, and this issue started with 15.5.
the issue is probably not with 15.5 but with firefox. and it has nothing to do with "several ver..." but you are very difficult to help :( -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
* James Knott <james.knott@jknott.net> [12-17-23 15:56]:
On 12/17/23 15:11, Patrick Shanahan wrote:
the issue is probably not with 15.5 but with firefox.
It's the Firefox that came with 15.5. I did a fresh install, retaining only /home from 15.4. It was fine with 15.4, but not 15.5.
and "/home" did not contain .mozilla/ which contains settings for firefox. AND YOU KNOW THIS. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
From: James Knott <james.knott@jknott.net> Date: Sun, 17 Dec 2023 12:07:22 -0500 On 12/17/23 12:03, Patrick Shanahan wrote:
did you follow the suggestions on google for firefox?
There are a few things, but they don't seem to fix this situation. Again, this is a computer that's been running several versions of openSUSE, for years, and this issue started with 15.5. As a workaround, you could try "Enable Presentation Mode" on the Display Configuration menu. You'd have to turn it on and then off again when you were done, but at least you could then watch a video without interruption. (Or I would assume so; I haven't tried it myself.) -- Bob Rogers http://www.rgrjr.com/
On 12/17/23 20:09, Bob Rogers wrote:
As a workaround, you could try "Enable Presentation Mode" on the Display Configuration menu. You'd have to turn it on and then off again when you were done, but at least you could then watch a video without interruption. (Or I would assume so; I haven't tried it myself.)
Yeah, I already saw that and decided against it.
On maandag 18 december 2023 03:02:42 CET James Knott wrote:
On 12/17/23 20:09, Bob Rogers wrote:
As a workaround, you could try "Enable Presentation Mode" on the Display Configuration menu. You'd have to turn it on and then off again when you were done, but at least you could then watch a video without interruption. (Or I would assume so; I haven't tried it myself.)
Yeah, I already saw that and decided against it. check a newly created user and see if the issue exists for that user.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board openSUSE Forums Team
participants (8)
-
Bill Walsh
-
Bob Rogers
-
Carlos E. R.
-
Felix Miata
-
James Knott
-
Knurpht-openSUSE
-
Neil Rickert
-
Patrick Shanahan