You are not logged in.

#1 2016-04-30 07:35:32

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Screensaver problem? [SOLVED]

Hi, I have been a long-time #! user and now upgraded to BL  - many thanks for continuing an excellent distro!

I have installed BL onto a Lenovo T420 64bit laptop and connected the DisplayPort to an LG smart TV so I can view my media files.

Everything works fine up to a point - after about 10 min or so the screen goes blank and I have to move the cursor around to get things going again.

It looks like a screensaver is causing the problem but I can't seem to find any settings for it... I see that light-locker is now used but I have no idea how to configure it.

I had a look here: https://forums.bunsenlabs.org/viewtopic.php?id=1780 but it didn't really help any.

Assistance would be much appreciated.

Thanks in advance.

Last edited by Kino (2016-05-02 13:16:32)

Offline

#2 2016-04-30 07:42:36

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Screensaver problem? [SOLVED]

In that thread you linked to, the second post says

Menu -> Preferences -> Power Management

Adjust the settings as required


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-04-30 09:00:02

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Re: Screensaver problem? [SOLVED]

I have adjusted the Power Management settings but the screen still blanks.
I was also under the impression that when using vlc as a media player it will over-ride power management (provided I'm using mains supply, not battery).

Offline

#4 2016-04-30 09:12:34

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Screensaver problem? [SOLVED]

Try this command before playing your videos:

xset s off -dpms

If it works, add it to ~/.config/openbox/autostart

Offline

#5 2016-04-30 09:26:40

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Screensaver problem? [SOLVED]

Also in the second post of the thread the OP linked to is

damo wrote:

Plenty of answers on the forum - search with "light-locker" as search term. Eg Unable to disable screen lock. [Solved]

Which says you need to edit `/etc/xdg/autostart/light-locker.desktop` and add "Hidden=True"

You need to log out/in after editing this file


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2016-04-30 11:21:33

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Re: Screensaver problem? [SOLVED]

Head_on_a_Stick wrote:

Try this command before playing your videos:

xset s off -dpms

If it works, add it to ~/.config/openbox/autostart

This seems to have done trick!

p.s.

you need to edit `/etc/xdg/autostart/light-locker.desktop` and add "Hidden=True"

I don't  have this file as I removed light-locker in an earlier attemp to solve the problem.

Thanks for your help.

p.p.s. Can't see how to add SOLVED to thread title...

Last edited by Kino (2016-04-30 11:24:12)

Offline

#7 2016-04-30 12:13:05

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Screensaver problem? [SOLVED]

Kino wrote:

....
p.p.s. Can't see how to add SOLVED to thread title...

Just edit your first post and add [SOLVED] to the title


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#8 2016-05-02 09:32:08

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Re: Screensaver problem? [SOLVED]

Well, I thought it was solved but the problem persists!

Help would be appreciated.

Offline

#9 2016-05-02 10:21:27

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Screensaver problem? [SOLVED]

Have you just done an update/upgrade? 'light-locker.desktop' may have been over-written.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#10 2016-05-02 11:09:58

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Re: Screensaver problem? [SOLVED]

damo wrote:

Have you just done an update/upgrade? 'light-locker.desktop' may have been over-written.

Not done one recently.
According to Synaptic, light-locker is not installed (I may have removed it earlier to try and solve the problem). Should I re-install it?

Offline

#11 2016-05-02 11:25:40

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Screensaver problem? [SOLVED]

Check the output of:

xset -q

and verify that the desired setting has "stuck".

I had presumed that using xset(1) would over-ride xfce4-power-manager but I may be wrong, see https://forums.bunsenlabs.org/viewtopic.php?id=1809

Offline

#12 2016-05-02 11:28:16

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Screensaver problem? [SOLVED]

damo wrote:

Have you just done an update/upgrade? 'light-locker.desktop' may have been over-written.

Sorry - I forgot you weren't using it 8o


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#13 2016-05-02 11:43:29

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Re: Screensaver problem? [SOLVED]

Head_on_a_Stick wrote:

Check the output of:

xset -q

and verify that the desired setting has "stuck".

I had presumed that using xset(1) would over-ride xfce4-power-manager but I may be wrong, see https://forums.bunsenlabs.org/viewtopic.php?id=1809

This is the output - looks like screensaver is enabled?

Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  250    repeat rate:  25
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  0    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins
DPMS (Energy Star):
  Standby: 600    Suspend: 600    Off: 600
  DPMS is Disabled

Offline

#14 2016-05-02 12:07:21

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Screensaver problem? [SOLVED]

Kino wrote:

This is the output - looks like screensaver is enabled?

Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  0

Yes, it is hmm

You could try adding `xset -s off` to the openbox menu entry command used to launch your video player (or write a wrapper script to launch it with `xset` and place that it ~/bin).

Offline

#15 2016-05-02 12:42:21

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Re: Screensaver problem? [SOLVED]

You could try adding `xset -s off` to the openbox menu entry command used to launch your video player (or write a wrapper script to launch it with `xset` and place that it ~/bin)

Tried it, but it had no effect.

Offline

#16 2016-05-02 12:43:58

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Screensaver problem? [SOLVED]

Does killing xfce4-power-manager "fix" things?

pkill xfce4-power-manager

Offline

#17 2016-05-02 13:15:58

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Re: Screensaver problem? [SOLVED]

I have found the solution:
The command

xset -s off

is incorrect. It should be

xset s off

which gives

Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0

and now the screen doesn't blank and I can watch my media files in relative comfort!

Offline

#18 2016-05-02 13:47:19

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Screensaver problem? [SOLVED]

Sorry!
:8

Offline

Board footer

Powered by FluxBB