Re: [DNG] Question re: screen blanking and shutoff

2022-09-03 Thread Olaf Meeuwissen via Dng
Hi,

onefang writes:

> For what it's worth I just discovered that xscreensaver now has
> xscreensaver-systemd, and is running on my Chimaera desktop.  "The
> xscreensaver-systemd program is a helper program to integrate
> xscreensaver with systemd(1)."
>
> I've been having problems with screen blanking / monitor power off
> recently.  Can we blame systemd now?
>
> S, I just want to be able to lock the screen manually, or have it
> lock after a configurable time out.  Once locked, the monitors should
> be powered down after a short time out.  No fancy OpenGL screen
> savers, just blanking, locking, and monitor power off.  So waving my
> mouse around or hitting some random key should then bring up a
> password prompt so I can unlock it.  Is there something that can do
> that which hasn't been infected with systemd?

I'm using slock (from suckless-tools) on Xfce4 and i3.  On Xfce4 it is
executed via xflock4 (a shell script, attached, that also seems to
handle turning off the display's backlight.  On i3 I just run it from
dmenu at the moment (still need to configure a keybinding).

slock does not respond to the mouse, only the keyboard.  There's no
password dialog, you just start typing your password and the screen
turns blue.  On a bad password the screen goes red (after you hit
return).  In that case just start typing again.

I don't think it supports configuring an auto-lock time, at least not
with a recompile, but perhaps xss-lock can help with that.  Haven't used
it myself (yet?) though.  See the manual page at

  https://bitbucket.org/raymonad/xss-lock/src/master/doc/xss-lock.1.rst.in

for details.

Hope this helps,
--
Olaf Meeuwissen.
#!/bin/sh
#
#  xfce4
#
#  Copyright (C) 1999, 2003 Olivier Fourdan (four...@xfce.org)
#  Copyright (C) 2011   Guido Berhoerster (guido+xfce@berhoerster.name)
#  Copyright (C) 2011   Jarno Suni (8...@iki.fi)
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#

# First test for the command set in the session's xfconf channel
LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)

# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
for lock_cmd in \
"$LOCK_CMD" \
"xfce4-screensaver-command --lock" \
"xscreensaver-command -lock" \
"light-locker-command --lock" \
"gnome-screensaver-command --lock" \
"mate-screensaver-command --lock"
do
if [ ! -z "$lock_cmd" ]; then
$lock_cmd >/dev/null 2>&1 && exit
fi
done

# else run another access locking utility, if installed
for lock_cmd in \
  "xlock -mode blank" \
  "slock"
  do
set -- $lock_cmd
if command -v -- $1 >/dev/null 2>&1; then
$lock_cmd >/dev/null 2>&1 &
# turn off display backlight:
xset dpms force off
exit
fi
done

# else access locking failed
exit 1
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-09-03 Thread o1bigtenor via Dng
On Sat, Sep 3, 2022 at 6:26 AM onefang  wrote:
>
> For what it's worth I just discovered that xscreensaver now has
> xscreensaver-systemd, and is running on my Chimaera desktop.  "The
> xscreensaver-systemd program is a helper program to integrate
> xscreensaver with systemd(1)."
>

I dunno if this will help mr onefang but here is a present day report.

I have found that there is a large difference in screensaver operation
depending upon the browsers being used.
There are 'only' some 7 - - - or is that 8 different browsers available for
use in my system. Four of which I use most all the time.

Perhaps my use of system resources also adds to the issue so will also
describe this.

I have some 5 monitors (4 - 1920x1080s and 1 4k) running from a
Ryzen 570X. I have a plethora of desktops (well over 25!!!).

Firefox allows me to use browser windows on more than one desktop
and only occasionally causes issues (usually when there is a version
update but that's a different peeve). The other three all use a
Chrome (maybe a Chromium but their literature says Chrome) backend
with their 'stuff' as a frontend. For these three the windows are only used
one 1 () desktop as a reboot does NOT place the windows on the
previous desktops used. These three browser are Opera, Brave and
Vivaldi. Opera is the most pita out of the three in that it likes blocking
the use of a screensaver (will not allow a screen shut off just goes
to the pretty blips part of the screen saver).

When I first reported this behavior the suggestion was given to just
use a 'kill' on the browsers, followed by a restart on each, to get the
screensaver system operational. Well for the last about month I
just kill Opera and restart it and my screensaver system is back.

IMHO the programming to requires this kind of usage - - - well its
most definitely NOT good.

I do have a relatively easy work around (as outlined in this email)
but it sure would be nice if it were fixed.

I'm guessing that it never will be fixed as that would require putting
some limits on Javascript - - - and why would anyone want that - -
- - - right.

Thank you to monsieur Ludovic Bellière and this community for
their assistance.

Keep on keeping on!
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-09-03 Thread onefang
For what it's worth I just discovered that xscreensaver now has
xscreensaver-systemd, and is running on my Chimaera desktop.  "The
xscreensaver-systemd program is a helper program to integrate
xscreensaver with systemd(1)."

I've been having problems with screen blanking / monitor power off
recently.  Can we blame systemd now?

S, I just want to be able to lock the screen manually, or have it
lock after a configurable time out.  Once locked, the monitors should be
powered down after a short time out.  No fancy OpenGL screen savers, just
blanking, locking, and monitor power off.  So waving my mouse around or
hitting some random key should then bring up a password prompt so I can
unlock it.  Is there something that can do that which hasn't been
infected with systemd?

I can probbably accept movie viewers being able to disable the blanking /
locking after a lengthy inactivity.  But right now if I have run certain
games, I get crap like the monitor keeps powering on and off every few
minutes.

The cancer, it spreads!

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-29 Thread o1bigtenor via Dng
On Fri, Jul 29, 2022 at 9:41 AM o1bigtenor  wrote:
>
> On Fri, Jul 29, 2022 at 9:21 AM Ludovic Bellière via Dng
>  wrote:
> >
> > On Fri, 29 Jul 2022, o1bigtenor wrote:
> >
> > >On Thu, Jul 28, 2022 at 8:23 PM Ludovic Bellière via Dng
> > > wrote:
> > >>
> > >> You need to understand how your Desktop environment is being 
> > >> initialized. It is
> > >> started by the Display Manager, thus inherit whatever environment 
> > >> variable is
> > >> sourced by the DM. To have the DM be aware of custom variables, it needs 
> > >> to
> > >> source that information from a file from your home directory. The file 
> > >> itself
> > >> depends on the DM and/or DE, on how it's been written, because this 
> > >> hasn't been
> > >> standardized.
> > >>
> > >> At the core, all they are doing is starting a Xorg session. Which means 
> > >> that
> > >> /etc/X11/Xsession is being involved. I remember having to change 
> > >> something in
> > >> order to make xfce aware of additional PATH entries, but I since then 
> > >> changed my
> > >> DE to KDE. I can't remember the steps I had to take. It probably has to 
> > >> do with
> > >> a file present in /etc/xdg/xfce4
> > >>
> > >> You could try your luck with ~/.xsessionrc though.
> > >>
> > >No ~/.xsessionrc present.
> >
> > https://wiki.debian.org/Xsession#User_configuration
> >
> > >
> > >Did find the following in the update log - - - seems like systemd is
> > >working on sneaking
> > >in the back door even if the front door is bolted shut! (in the
> > >Debian/xscreensaver files.)
> > >
> > > - X11: `xscreensaver-systemd' now detects when a video player has
> > >  inhibited screen blanking and then exits without uninhibiting.
> > >
> >
> > IIRC, It's a dbus component to xscreensaver because it can't talk to 
> > systemd,
> > otherwise. It's not systemd itself though.
> >
> Just looks like systemd trying to sneak in the back door by making itself
> totally ubiquitous - - - to a not totally knowledgeable person - - - me.
>
> > >I'm finding things are goofy though - - - I made my xrnadr settings
> > >permanent by
> > >writing the commands to a file and saving it (trying to remember where
> > >1 -0 - - argh!)
> > >and found that I needed to modify that placement.
> > >Changed the file but I still need to change the setup using xrandr
> > >after every restart.
> > >The bulk of things is correct but it would be nice if it all were.
> > >
> > >This issue is frustrating.
> > >I do a reboot and take that 1/2 hour to set everything up the way I want. 
> > >Then
> > >the screensaver works for 4 days - - - then it quits - - - like every
> > >stinking time!
> >
> > Restart it. Kill the processes and restart them.
>
> I'll try that.
> That should be easier than the rebooting.
>

OK - - - did just that.
Did a killall for all three browsers and yippee yippee kiyay - - - -
we now have
the screensaver working.

Thank you - - - - but

its a temporary fix - - - I would very much like to get to what is slipping so
that the screensaver no longer functions.

I've been thinking all along that the issue is buried deep in the guts of
our (imo!!) most flabbily coded programs run by most everyone every
stinking day - - - - our browsers.

Does anyone out there in Devuan land  that has any ideas as to where
to look to curtail this unwanted behavior in browsers?

TIA
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-29 Thread o1bigtenor via Dng
On Fri, Jul 29, 2022 at 9:21 AM Ludovic Bellière via Dng
 wrote:
>
> On Fri, 29 Jul 2022, o1bigtenor wrote:
>
> >On Thu, Jul 28, 2022 at 8:23 PM Ludovic Bellière via Dng
> > wrote:
> >>
> >> You need to understand how your Desktop environment is being initialized. 
> >> It is
> >> started by the Display Manager, thus inherit whatever environment variable 
> >> is
> >> sourced by the DM. To have the DM be aware of custom variables, it needs to
> >> source that information from a file from your home directory. The file 
> >> itself
> >> depends on the DM and/or DE, on how it's been written, because this hasn't 
> >> been
> >> standardized.
> >>
> >> At the core, all they are doing is starting a Xorg session. Which means 
> >> that
> >> /etc/X11/Xsession is being involved. I remember having to change something 
> >> in
> >> order to make xfce aware of additional PATH entries, but I since then 
> >> changed my
> >> DE to KDE. I can't remember the steps I had to take. It probably has to do 
> >> with
> >> a file present in /etc/xdg/xfce4
> >>
> >> You could try your luck with ~/.xsessionrc though.
> >>
> >No ~/.xsessionrc present.
>
> https://wiki.debian.org/Xsession#User_configuration
>
> >
> >Did find the following in the update log - - - seems like systemd is
> >working on sneaking
> >in the back door even if the front door is bolted shut! (in the
> >Debian/xscreensaver files.)
> >
> > - X11: `xscreensaver-systemd' now detects when a video player has
> >  inhibited screen blanking and then exits without uninhibiting.
> >
>
> IIRC, It's a dbus component to xscreensaver because it can't talk to systemd,
> otherwise. It's not systemd itself though.
>
Just looks like systemd trying to sneak in the back door by making itself
totally ubiquitous - - - to a not totally knowledgeable person - - - me.

> >I'm finding things are goofy though - - - I made my xrnadr settings
> >permanent by
> >writing the commands to a file and saving it (trying to remember where
> >1 -0 - - argh!)
> >and found that I needed to modify that placement.
> >Changed the file but I still need to change the setup using xrandr
> >after every restart.
> >The bulk of things is correct but it would be nice if it all were.
> >
> >This issue is frustrating.
> >I do a reboot and take that 1/2 hour to set everything up the way I want. 
> >Then
> >the screensaver works for 4 days - - - then it quits - - - like every
> >stinking time!
>
> Restart it. Kill the processes and restart them.

I'll try that.
That should be easier than the rebooting.

Thanks for the continuing ideas.

Regards
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-29 Thread Ludovic Bellière via Dng

On Fri, 29 Jul 2022, o1bigtenor wrote:


On Thu, Jul 28, 2022 at 8:23 PM Ludovic Bellière via Dng
 wrote:


You need to understand how your Desktop environment is being initialized. It is
started by the Display Manager, thus inherit whatever environment variable is
sourced by the DM. To have the DM be aware of custom variables, it needs to
source that information from a file from your home directory. The file itself
depends on the DM and/or DE, on how it's been written, because this hasn't been
standardized.

At the core, all they are doing is starting a Xorg session. Which means that
/etc/X11/Xsession is being involved. I remember having to change something in
order to make xfce aware of additional PATH entries, but I since then changed my
DE to KDE. I can't remember the steps I had to take. It probably has to do with
a file present in /etc/xdg/xfce4

You could try your luck with ~/.xsessionrc though.


No ~/.xsessionrc present.


https://wiki.debian.org/Xsession#User_configuration



Did find the following in the update log - - - seems like systemd is
working on sneaking
in the back door even if the front door is bolted shut! (in the
Debian/xscreensaver files.)

- X11: `xscreensaver-systemd' now detects when a video player has
 inhibited screen blanking and then exits without uninhibiting.



IIRC, It's a dbus component to xscreensaver because it can't talk to systemd,
otherwise. It's not systemd itself though.


I'm finding things are goofy though - - - I made my xrnadr settings
permanent by
writing the commands to a file and saving it (trying to remember where
1 -0 - - argh!)
and found that I needed to modify that placement.
Changed the file but I still need to change the setup using xrandr
after every restart.
The bulk of things is correct but it would be nice if it all were.

This issue is frustrating.
I do a reboot and take that 1/2 hour to set everything up the way I want. Then
the screensaver works for 4 days - - - then it quits - - - like every
stinking time!


Restart it. Kill the processes and restart them.


Sorry people but this aspect of technology is part of my - - - -can't
stand - - -
so I have a lot of sympathy for those who just throw up their hands and just
conform to the majority case - - - - do little and just play with the
toys. I am still
fighting that though.

Regards


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-29 Thread o1bigtenor via Dng
On Thu, Jul 28, 2022 at 8:23 PM Ludovic Bellière via Dng
 wrote:
>
> You need to understand how your Desktop environment is being initialized. It 
> is
> started by the Display Manager, thus inherit whatever environment variable is
> sourced by the DM. To have the DM be aware of custom variables, it needs to
> source that information from a file from your home directory. The file itself
> depends on the DM and/or DE, on how it's been written, because this hasn't 
> been
> standardized.
>
> At the core, all they are doing is starting a Xorg session. Which means that
> /etc/X11/Xsession is being involved. I remember having to change something in
> order to make xfce aware of additional PATH entries, but I since then changed 
> my
> DE to KDE. I can't remember the steps I had to take. It probably has to do 
> with
> a file present in /etc/xdg/xfce4
>
> You could try your luck with ~/.xsessionrc though.
>
No ~/.xsessionrc present.

Did find the following in the update log - - - seems like systemd is
working on sneaking
in the back door even if the front door is bolted shut! (in the
Debian/xscreensaver files.)

 - X11: `xscreensaver-systemd' now detects when a video player has
  inhibited screen blanking and then exits without uninhibiting.

I'm finding things are goofy though - - - I made my xrnadr settings
permanent by
writing the commands to a file and saving it (trying to remember where
1 -0 - - argh!)
and found that I needed to modify that placement.
Changed the file but I still need to change the setup using xrandr
after every restart.
The bulk of things is correct but it would be nice if it all were.

This issue is frustrating.
I do a reboot and take that 1/2 hour to set everything up the way I want. Then
the screensaver works for 4 days - - - then it quits - - - like every
stinking time!
Sorry people but this aspect of technology is part of my - - - -can't
stand - - -
so I have a lot of sympathy for those who just throw up their hands and just
conform to the majority case - - - - do little and just play with the
toys. I am still
fighting that though.

Regards
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-28 Thread Ludovic Bellière via Dng

You need to understand how your Desktop environment is being initialized. It is
started by the Display Manager, thus inherit whatever environment variable is
sourced by the DM. To have the DM be aware of custom variables, it needs to
source that information from a file from your home directory. The file itself
depends on the DM and/or DE, on how it's been written, because this hasn't been
standardized.

At the core, all they are doing is starting a Xorg session. Which means that
/etc/X11/Xsession is being involved. I remember having to change something in
order to make xfce aware of additional PATH entries, but I since then changed my
DE to KDE. I can't remember the steps I had to take. It probably has to do with
a file present in /etc/xdg/xfce4

You could try your luck with ~/.xsessionrc though.

Cheers,
Ludovic


On Thu, 28 Jul 2022, o1bigtenor wrote:


On Thu, Jul 28, 2022 at 8:44 AM Ludovic Bellière wrote:


That would be an environment variable. It has to be written into a file sourced
by your DM, each has their own standard. For KDE/sddm, you can look into
/etc/sddm/Xsession to see which file correspond to your system (it's different
whether you use bash or zsh or whatever else).


Hm - - - - did some snooping around in /etc/ . . .   where I see that lxdm is
the default-display-manager yet when I'm looking in the lxqt session settings
there I'm told that xfwm4 is my window manager.
(This doesn't help me figuring out what's wrong - - - that's for sure.)

Dunno what having these two things different does.

I can't find a neat place where anything is said about xscreensaver
and that it
run like this and do this (except in the xscreensaver setup dialog boxes).

I'm thinking this is somehow browser related but I can't find anywhere to
kick the browsers in their collective pants (don't care if I perhaps
break their
necks in the process either) so that the screensaver can shut of the screens.

Appreciate the ideas and am chasing any one of them as far as I can - - grin!

TIA


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-28 Thread o1bigtenor via Dng
On Thu, Jul 28, 2022 at 8:44 AM Ludovic Bellière
 wrote:
>
> That would be an environment variable. It has to be written into a file 
> sourced
> by your DM, each has their own standard. For KDE/sddm, you can look into
> /etc/sddm/Xsession to see which file correspond to your system (it's different
> whether you use bash or zsh or whatever else).
>
Hm - - - - did some snooping around in /etc/ . . .   where I see that lxdm is
the default-display-manager yet when I'm looking in the lxqt session settings
there I'm told that xfwm4 is my window manager.
(This doesn't help me figuring out what's wrong - - - that's for sure.)

Dunno what having these two things different does.

I can't find a neat place where anything is said about xscreensaver
and that it
run like this and do this (except in the xscreensaver setup dialog boxes).

I'm thinking this is somehow browser related but I can't find anywhere to
kick the browsers in their collective pants (don't care if I perhaps
break their
necks in the process either) so that the screensaver can shut of the screens.

Appreciate the ideas and am chasing any one of them as far as I can - - grin!

TIA
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-28 Thread Ludovic Bellière via Dng

That would be an environment variable. It has to be written into a file sourced
by your DM, each has their own standard. For KDE/sddm, you can look into
/etc/sddm/Xsession to see which file correspond to your system (it's different
whether you use bash or zsh or whatever else).

Cheers,
Ludovic


On Thu, 28 Jul 2022, o1bigtenor via Dng wrote:


H - - - -setting it system wide - - - - would that not be running as
root the command export SDL_VIDEOALLOW_SCREENSAVER=1 ?

Is that only invoked with a system restart?

TIA


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-28 Thread o1bigtenor via Dng
On Thu, Jul 28, 2022 at 7:33 AM onefang  wrote:
>
> On 2022-07-28 07:24:46, o1bigtenor via Dng wrote:
> > On Thu, Jul 28, 2022 at 3:53 AM onefang  
> > wrote:
> > >
> > > On 2022-07-27 21:24:42, o1bigtenor via Dng wrote:
> > > > On Wed, Jul 27, 2022 at 6:26 PM onefang  
> > > > wrote:
> > > > >
> > > > > On 2022-07-27 18:04:26, o1bigtenor via Dng wrote:
> > > > > > Greetings
> > > > > >
> > > > > > Running a AMD 3800X with a Radeon RX570X graphics card using
> > > > > > opensource amdgpu drivers (version compiled for 1.21.1.3, module
> > > > > > version = 22.0.0, Module class: X.Org Video Driver, ABI class: X.Org
> > > > > > Video Driver, version 25.2) running xorg-server 2:21.1.3-2+b1.
> > > > > >
> > > > > > I think my system is reasonably upto date running Daedalus. (Last 
> > > > > > apt
> > > > > > update check done this morning.)
> > > > > >
> > > > > > The issue - - -
> > > > > >
> > > > > > After a system reboot the screens will enter screensaver pretty
> > > > > > picture mode and then blank to off at the chosen times. I've got 5
> > > > > > monitors set up to display most of a 7680x3000 virtual desktop.
> > > > > > Also run a lot of desktops and tend to accumulate a lot of tabs in 
> > > > > > my
> > > > > > browsers. Run at least 3 browsers at once (Opera, Brave and Firefox)
> > > > > > with Firefox as the default and have in the past also run Vivaldi.
> > > > > > Firefox is the default browser.
> > > > > > Firefox is the only browser that will place its windows where I had
> > > > > > them on the various desktops. Finding this I have reduced every 
> > > > > > other
> > > > > > browser to windows on at most one 'desktop'. That is the only way 
> > > > > > that
> > > > > > I can get any time at all where the screensaver just does its job.
> > > > > > The problem is that after about 80 hours (or so - - - - haven't
> > > > > > defined that time with any precision) the screensaver will move to 
> > > > > > the
> > > > > > pretty pics screens but does NOT move to screen off.
> > > > > >
> > > > > > I have been trying to find what in either the browsers is hindering
> > > > > > the screen 'blanking' (if I'm using the correct term) or is breaking
> > > > > > on my system - - - dunno. Have been looking at xset as well but 
> > > > > > really
> > > > > > don't know what the bleeping blazes I'm doing and don't want to 
> > > > > > create
> > > > > > an even bigger mess!
> > > > > > I am using lxqt still on version 0.16.0 trying to wait patiently for
> > > > > > version 1.01 which is supposedly going to move from experimental to
> > > > > > unstable and testing hopefully very soon but that timing is NOT up 
> > > > > > to
> > > > > > me.
> > > > > >
> > > > > > Is there someone out there in Devuan land who has any idea of how to
> > > > > > change this annoying behavior?
> > > > > > Can I change something in Xset to make this happen?
> > > > > > Something else?
> > > > > >
> > > > > > (I can reboot and set up things the way I want (takes about 1/2 hour
> > > > > > in total to do everything) so I find that this time every 4 days is 
> > > > > > a
> > > > > > nuisance. )
> > > > >
> > > > > That sort of thing was driving me crazy for ages, screensaver would 
> > > > > blank
> > > > > the screen, but not turn the monitors off.  I finally tracked it down.
> > > > > In my case it was running SDL based programs, the fix is -
> > > > >
> > > > > export SDL_VIDEO_ALLOW_SCREENSAVER=1
> > > > >
> > > > > That may or may not be your problem though.
> > > > >
> > > > >
> > > > Hmmm - - - - will dig into that but I don't run any steam connected
> > > > items - - - at least AFAIK but - - - thanks!
> > >
> > > SDL is a popular graphics layer, nothing to do with steam.  Though
> > > perhaps steam and lots of games use it.  Some video players use it, lots
> > > of games use it, in my case it was a 3D virtual world client that I leave
> > > runnig all day, coz I run virtual worlds.  So non games use it to.
> > >
> >
> > Have used the command both as user and as root and there is no
> > perceivable change. Maybe a system reboot is also needed?
>
> Do it before running any SDL programs, so that they can see that
> environment variable when they run.  But if you don't know which are SDL
> programs, then setting it system wide might help.
>

H - - - -setting it system wide - - - - would that not be running as
root the command export SDL_VIDEOALLOW_SCREENSAVER=1 ?

Is that only invoked with a system restart?

TIA
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-28 Thread onefang
On 2022-07-28 07:24:46, o1bigtenor via Dng wrote:
> On Thu, Jul 28, 2022 at 3:53 AM onefang  wrote:
> >
> > On 2022-07-27 21:24:42, o1bigtenor via Dng wrote:
> > > On Wed, Jul 27, 2022 at 6:26 PM onefang  
> > > wrote:
> > > >
> > > > On 2022-07-27 18:04:26, o1bigtenor via Dng wrote:
> > > > > Greetings
> > > > >
> > > > > Running a AMD 3800X with a Radeon RX570X graphics card using
> > > > > opensource amdgpu drivers (version compiled for 1.21.1.3, module
> > > > > version = 22.0.0, Module class: X.Org Video Driver, ABI class: X.Org
> > > > > Video Driver, version 25.2) running xorg-server 2:21.1.3-2+b1.
> > > > >
> > > > > I think my system is reasonably upto date running Daedalus. (Last apt
> > > > > update check done this morning.)
> > > > >
> > > > > The issue - - -
> > > > >
> > > > > After a system reboot the screens will enter screensaver pretty
> > > > > picture mode and then blank to off at the chosen times. I've got 5
> > > > > monitors set up to display most of a 7680x3000 virtual desktop.
> > > > > Also run a lot of desktops and tend to accumulate a lot of tabs in my
> > > > > browsers. Run at least 3 browsers at once (Opera, Brave and Firefox)
> > > > > with Firefox as the default and have in the past also run Vivaldi.
> > > > > Firefox is the default browser.
> > > > > Firefox is the only browser that will place its windows where I had
> > > > > them on the various desktops. Finding this I have reduced every other
> > > > > browser to windows on at most one 'desktop'. That is the only way that
> > > > > I can get any time at all where the screensaver just does its job.
> > > > > The problem is that after about 80 hours (or so - - - - haven't
> > > > > defined that time with any precision) the screensaver will move to the
> > > > > pretty pics screens but does NOT move to screen off.
> > > > >
> > > > > I have been trying to find what in either the browsers is hindering
> > > > > the screen 'blanking' (if I'm using the correct term) or is breaking
> > > > > on my system - - - dunno. Have been looking at xset as well but really
> > > > > don't know what the bleeping blazes I'm doing and don't want to create
> > > > > an even bigger mess!
> > > > > I am using lxqt still on version 0.16.0 trying to wait patiently for
> > > > > version 1.01 which is supposedly going to move from experimental to
> > > > > unstable and testing hopefully very soon but that timing is NOT up to
> > > > > me.
> > > > >
> > > > > Is there someone out there in Devuan land who has any idea of how to
> > > > > change this annoying behavior?
> > > > > Can I change something in Xset to make this happen?
> > > > > Something else?
> > > > >
> > > > > (I can reboot and set up things the way I want (takes about 1/2 hour
> > > > > in total to do everything) so I find that this time every 4 days is a
> > > > > nuisance. )
> > > >
> > > > That sort of thing was driving me crazy for ages, screensaver would 
> > > > blank
> > > > the screen, but not turn the monitors off.  I finally tracked it down.
> > > > In my case it was running SDL based programs, the fix is -
> > > >
> > > > export SDL_VIDEO_ALLOW_SCREENSAVER=1
> > > >
> > > > That may or may not be your problem though.
> > > >
> > > >
> > > Hmmm - - - - will dig into that but I don't run any steam connected
> > > items - - - at least AFAIK but - - - thanks!
> >
> > SDL is a popular graphics layer, nothing to do with steam.  Though
> > perhaps steam and lots of games use it.  Some video players use it, lots
> > of games use it, in my case it was a 3D virtual world client that I leave
> > runnig all day, coz I run virtual worlds.  So non games use it to.
> >
> 
> Have used the command both as user and as root and there is no
> perceivable change. Maybe a system reboot is also needed?

Do it before running any SDL programs, so that they can see that
environment variable when they run.  But if you don't know which are SDL
programs, then setting it system wide might help.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-28 Thread o1bigtenor via Dng
On Thu, Jul 28, 2022 at 3:53 AM onefang  wrote:
>
> On 2022-07-27 21:24:42, o1bigtenor via Dng wrote:
> > On Wed, Jul 27, 2022 at 6:26 PM onefang  
> > wrote:
> > >
> > > On 2022-07-27 18:04:26, o1bigtenor via Dng wrote:
> > > > Greetings
> > > >
> > > > Running a AMD 3800X with a Radeon RX570X graphics card using
> > > > opensource amdgpu drivers (version compiled for 1.21.1.3, module
> > > > version = 22.0.0, Module class: X.Org Video Driver, ABI class: X.Org
> > > > Video Driver, version 25.2) running xorg-server 2:21.1.3-2+b1.
> > > >
> > > > I think my system is reasonably upto date running Daedalus. (Last apt
> > > > update check done this morning.)
> > > >
> > > > The issue - - -
> > > >
> > > > After a system reboot the screens will enter screensaver pretty
> > > > picture mode and then blank to off at the chosen times. I've got 5
> > > > monitors set up to display most of a 7680x3000 virtual desktop.
> > > > Also run a lot of desktops and tend to accumulate a lot of tabs in my
> > > > browsers. Run at least 3 browsers at once (Opera, Brave and Firefox)
> > > > with Firefox as the default and have in the past also run Vivaldi.
> > > > Firefox is the default browser.
> > > > Firefox is the only browser that will place its windows where I had
> > > > them on the various desktops. Finding this I have reduced every other
> > > > browser to windows on at most one 'desktop'. That is the only way that
> > > > I can get any time at all where the screensaver just does its job.
> > > > The problem is that after about 80 hours (or so - - - - haven't
> > > > defined that time with any precision) the screensaver will move to the
> > > > pretty pics screens but does NOT move to screen off.
> > > >
> > > > I have been trying to find what in either the browsers is hindering
> > > > the screen 'blanking' (if I'm using the correct term) or is breaking
> > > > on my system - - - dunno. Have been looking at xset as well but really
> > > > don't know what the bleeping blazes I'm doing and don't want to create
> > > > an even bigger mess!
> > > > I am using lxqt still on version 0.16.0 trying to wait patiently for
> > > > version 1.01 which is supposedly going to move from experimental to
> > > > unstable and testing hopefully very soon but that timing is NOT up to
> > > > me.
> > > >
> > > > Is there someone out there in Devuan land who has any idea of how to
> > > > change this annoying behavior?
> > > > Can I change something in Xset to make this happen?
> > > > Something else?
> > > >
> > > > (I can reboot and set up things the way I want (takes about 1/2 hour
> > > > in total to do everything) so I find that this time every 4 days is a
> > > > nuisance. )
> > >
> > > That sort of thing was driving me crazy for ages, screensaver would blank
> > > the screen, but not turn the monitors off.  I finally tracked it down.
> > > In my case it was running SDL based programs, the fix is -
> > >
> > > export SDL_VIDEO_ALLOW_SCREENSAVER=1
> > >
> > > That may or may not be your problem though.
> > >
> > >
> > Hmmm - - - - will dig into that but I don't run any steam connected
> > items - - - at least AFAIK but - - - thanks!
>
> SDL is a popular graphics layer, nothing to do with steam.  Though
> perhaps steam and lots of games use it.  Some video players use it, lots
> of games use it, in my case it was a 3D virtual world client that I leave
> runnig all day, coz I run virtual worlds.  So non games use it to.
>

Have used the command both as user and as root and there is no
perceivable change. Maybe a system reboot is also needed?

TIA
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-28 Thread onefang
On 2022-07-27 21:24:42, o1bigtenor via Dng wrote:
> On Wed, Jul 27, 2022 at 6:26 PM onefang  wrote:
> >
> > On 2022-07-27 18:04:26, o1bigtenor via Dng wrote:
> > > Greetings
> > >
> > > Running a AMD 3800X with a Radeon RX570X graphics card using
> > > opensource amdgpu drivers (version compiled for 1.21.1.3, module
> > > version = 22.0.0, Module class: X.Org Video Driver, ABI class: X.Org
> > > Video Driver, version 25.2) running xorg-server 2:21.1.3-2+b1.
> > >
> > > I think my system is reasonably upto date running Daedalus. (Last apt
> > > update check done this morning.)
> > >
> > > The issue - - -
> > >
> > > After a system reboot the screens will enter screensaver pretty
> > > picture mode and then blank to off at the chosen times. I've got 5
> > > monitors set up to display most of a 7680x3000 virtual desktop.
> > > Also run a lot of desktops and tend to accumulate a lot of tabs in my
> > > browsers. Run at least 3 browsers at once (Opera, Brave and Firefox)
> > > with Firefox as the default and have in the past also run Vivaldi.
> > > Firefox is the default browser.
> > > Firefox is the only browser that will place its windows where I had
> > > them on the various desktops. Finding this I have reduced every other
> > > browser to windows on at most one 'desktop'. That is the only way that
> > > I can get any time at all where the screensaver just does its job.
> > > The problem is that after about 80 hours (or so - - - - haven't
> > > defined that time with any precision) the screensaver will move to the
> > > pretty pics screens but does NOT move to screen off.
> > >
> > > I have been trying to find what in either the browsers is hindering
> > > the screen 'blanking' (if I'm using the correct term) or is breaking
> > > on my system - - - dunno. Have been looking at xset as well but really
> > > don't know what the bleeping blazes I'm doing and don't want to create
> > > an even bigger mess!
> > > I am using lxqt still on version 0.16.0 trying to wait patiently for
> > > version 1.01 which is supposedly going to move from experimental to
> > > unstable and testing hopefully very soon but that timing is NOT up to
> > > me.
> > >
> > > Is there someone out there in Devuan land who has any idea of how to
> > > change this annoying behavior?
> > > Can I change something in Xset to make this happen?
> > > Something else?
> > >
> > > (I can reboot and set up things the way I want (takes about 1/2 hour
> > > in total to do everything) so I find that this time every 4 days is a
> > > nuisance. )
> >
> > That sort of thing was driving me crazy for ages, screensaver would blank
> > the screen, but not turn the monitors off.  I finally tracked it down.
> > In my case it was running SDL based programs, the fix is -
> >
> > export SDL_VIDEO_ALLOW_SCREENSAVER=1
> >
> > That may or may not be your problem though.
> >
> >
> Hmmm - - - - will dig into that but I don't run any steam connected
> items - - - at least AFAIK but - - - thanks!

SDL is a popular graphics layer, nothing to do with steam.  Though
perhaps steam and lots of games use it.  Some video players use it, lots
of games use it, in my case it was a 3D virtual world client that I leave
runnig all day, coz I run virtual worlds.  So non games use it to.

> Reassuring to know that I'm not the only one with a similar problem!!!

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-27 Thread Ralph Ronnquist
On Wed, Jul 27, 2022 at 09:24:42PM -0500, o1bigtenor via Dng wrote:
> On Wed, Jul 27, 2022 at 6:26 PM onefang  wrote:
> >
> > On 2022-07-27 18:04:26, o1bigtenor via Dng wrote:
> > > Greetings
> > >
> > > Running a AMD 3800X with a Radeon RX570X graphics card using
> > > opensource amdgpu drivers (version compiled for 1.21.1.3, module
> > > version = 22.0.0, Module class: X.Org Video Driver, ABI class: X.Org
> > > Video Driver, version 25.2) running xorg-server 2:21.1.3-2+b1.
> > >
> > > I think my system is reasonably upto date running Daedalus. (Last apt
> > > update check done this morning.)
> > >
> > > The issue - - -
> > >
> > > After a system reboot the screens will enter screensaver pretty
> > > picture mode and then blank to off at the chosen times. I've got 5
> > > monitors set up to display most of a 7680x3000 virtual desktop.
> > > Also run a lot of desktops and tend to accumulate a lot of tabs in my
> > > browsers. Run at least 3 browsers at once (Opera, Brave and Firefox)
> > > with Firefox as the default and have in the past also run Vivaldi.
> > > Firefox is the default browser.
> > > Firefox is the only browser that will place its windows where I had
> > > them on the various desktops. Finding this I have reduced every other
> > > browser to windows on at most one 'desktop'. That is the only way that
> > > I can get any time at all where the screensaver just does its job.
> > > The problem is that after about 80 hours (or so - - - - haven't
> > > defined that time with any precision) the screensaver will move to the
> > > pretty pics screens but does NOT move to screen off.
> > >
> > > I have been trying to find what in either the browsers is hindering
> > > the screen 'blanking' (if I'm using the correct term) or is breaking
> > > on my system - - - dunno. Have been looking at xset as well but really
> > > don't know what the bleeping blazes I'm doing and don't want to create
> > > an even bigger mess!
> > > I am using lxqt still on version 0.16.0 trying to wait patiently for
> > > version 1.01 which is supposedly going to move from experimental to
> > > unstable and testing hopefully very soon but that timing is NOT up to
> > > me.
> > >
> > > Is there someone out there in Devuan land who has any idea of how to
> > > change this annoying behavior?
> > > Can I change something in Xset to make this happen?
> > > Something else?
> > >
> > > (I can reboot and set up things the way I want (takes about 1/2 hour
> > > in total to do everything) so I find that this time every 4 days is a
> > > nuisance. )
> >
> > That sort of thing was driving me crazy for ages, screensaver would blank
> > the screen, but not turn the monitors off.  I finally tracked it down.
> > In my case it was running SDL based programs, the fix is -
> >
> > export SDL_VIDEO_ALLOW_SCREENSAVER=1
> >
> > That may or may not be your problem though.
> >
> >
> Hmmm - - - - will dig into that but I don't run any steam connected
> items - - - at least AFAIK but - - - thanks!
> 
> Reassuring to know that I'm not the only one with a similar problem!!!

I had that similar problem; a laptop + second monitor, and for me it
was caused by "xfsettingsd" which discovered the monitor turning off
(due to screen blanking) and then forced it back on. The program
seemed to react to the acpi video events and really didn't want the
second monitor turned off while connected.

I resolved this by not running xfsettingsd. That also means the
keyboard shortcuts don't work (other than those of the window
manager), and of course no compositor (but who cares about that?).

Ralph.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-27 Thread o1bigtenor via Dng
On Wed, Jul 27, 2022 at 6:26 PM onefang  wrote:
>
> On 2022-07-27 18:04:26, o1bigtenor via Dng wrote:
> > Greetings
> >
> > Running a AMD 3800X with a Radeon RX570X graphics card using
> > opensource amdgpu drivers (version compiled for 1.21.1.3, module
> > version = 22.0.0, Module class: X.Org Video Driver, ABI class: X.Org
> > Video Driver, version 25.2) running xorg-server 2:21.1.3-2+b1.
> >
> > I think my system is reasonably upto date running Daedalus. (Last apt
> > update check done this morning.)
> >
> > The issue - - -
> >
> > After a system reboot the screens will enter screensaver pretty
> > picture mode and then blank to off at the chosen times. I've got 5
> > monitors set up to display most of a 7680x3000 virtual desktop.
> > Also run a lot of desktops and tend to accumulate a lot of tabs in my
> > browsers. Run at least 3 browsers at once (Opera, Brave and Firefox)
> > with Firefox as the default and have in the past also run Vivaldi.
> > Firefox is the default browser.
> > Firefox is the only browser that will place its windows where I had
> > them on the various desktops. Finding this I have reduced every other
> > browser to windows on at most one 'desktop'. That is the only way that
> > I can get any time at all where the screensaver just does its job.
> > The problem is that after about 80 hours (or so - - - - haven't
> > defined that time with any precision) the screensaver will move to the
> > pretty pics screens but does NOT move to screen off.
> >
> > I have been trying to find what in either the browsers is hindering
> > the screen 'blanking' (if I'm using the correct term) or is breaking
> > on my system - - - dunno. Have been looking at xset as well but really
> > don't know what the bleeping blazes I'm doing and don't want to create
> > an even bigger mess!
> > I am using lxqt still on version 0.16.0 trying to wait patiently for
> > version 1.01 which is supposedly going to move from experimental to
> > unstable and testing hopefully very soon but that timing is NOT up to
> > me.
> >
> > Is there someone out there in Devuan land who has any idea of how to
> > change this annoying behavior?
> > Can I change something in Xset to make this happen?
> > Something else?
> >
> > (I can reboot and set up things the way I want (takes about 1/2 hour
> > in total to do everything) so I find that this time every 4 days is a
> > nuisance. )
>
> That sort of thing was driving me crazy for ages, screensaver would blank
> the screen, but not turn the monitors off.  I finally tracked it down.
> In my case it was running SDL based programs, the fix is -
>
> export SDL_VIDEO_ALLOW_SCREENSAVER=1
>
> That may or may not be your problem though.
>
>
Hmmm - - - - will dig into that but I don't run any steam connected
items - - - at least AFAIK but - - - thanks!

Reassuring to know that I'm not the only one with a similar problem!!!

Regards
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Question re: screen blanking and shutoff

2022-07-27 Thread onefang
On 2022-07-27 18:04:26, o1bigtenor via Dng wrote:
> Greetings
> 
> Running a AMD 3800X with a Radeon RX570X graphics card using
> opensource amdgpu drivers (version compiled for 1.21.1.3, module
> version = 22.0.0, Module class: X.Org Video Driver, ABI class: X.Org
> Video Driver, version 25.2) running xorg-server 2:21.1.3-2+b1.
> 
> I think my system is reasonably upto date running Daedalus. (Last apt
> update check done this morning.)
> 
> The issue - - -
> 
> After a system reboot the screens will enter screensaver pretty
> picture mode and then blank to off at the chosen times. I've got 5
> monitors set up to display most of a 7680x3000 virtual desktop.
> Also run a lot of desktops and tend to accumulate a lot of tabs in my
> browsers. Run at least 3 browsers at once (Opera, Brave and Firefox)
> with Firefox as the default and have in the past also run Vivaldi.
> Firefox is the default browser.
> Firefox is the only browser that will place its windows where I had
> them on the various desktops. Finding this I have reduced every other
> browser to windows on at most one 'desktop'. That is the only way that
> I can get any time at all where the screensaver just does its job.
> The problem is that after about 80 hours (or so - - - - haven't
> defined that time with any precision) the screensaver will move to the
> pretty pics screens but does NOT move to screen off.
> 
> I have been trying to find what in either the browsers is hindering
> the screen 'blanking' (if I'm using the correct term) or is breaking
> on my system - - - dunno. Have been looking at xset as well but really
> don't know what the bleeping blazes I'm doing and don't want to create
> an even bigger mess!
> I am using lxqt still on version 0.16.0 trying to wait patiently for
> version 1.01 which is supposedly going to move from experimental to
> unstable and testing hopefully very soon but that timing is NOT up to
> me.
> 
> Is there someone out there in Devuan land who has any idea of how to
> change this annoying behavior?
> Can I change something in Xset to make this happen?
> Something else?
> 
> (I can reboot and set up things the way I want (takes about 1/2 hour
> in total to do everything) so I find that this time every 4 days is a
> nuisance. )

That sort of thing was driving me crazy for ages, screensaver would blank
the screen, but not turn the monitors off.  I finally tracked it down. 
In my case it was running SDL based programs, the fix is -

export SDL_VIDEO_ALLOW_SCREENSAVER=1

That may or may not be your problem though.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Question re: screen blanking and shutoff

2022-07-27 Thread o1bigtenor via Dng
Greetings

Running a AMD 3800X with a Radeon RX570X graphics card using
opensource amdgpu drivers (version compiled for 1.21.1.3, module
version = 22.0.0, Module class: X.Org Video Driver, ABI class: X.Org
Video Driver, version 25.2) running xorg-server 2:21.1.3-2+b1.

I think my system is reasonably upto date running Daedalus. (Last apt
update check done this morning.)

The issue - - -

After a system reboot the screens will enter screensaver pretty
picture mode and then blank to off at the chosen times. I've got 5
monitors set up to display most of a 7680x3000 virtual desktop.
Also run a lot of desktops and tend to accumulate a lot of tabs in my
browsers. Run at least 3 browsers at once (Opera, Brave and Firefox)
with Firefox as the default and have in the past also run Vivaldi.
Firefox is the default browser.
Firefox is the only browser that will place its windows where I had
them on the various desktops. Finding this I have reduced every other
browser to windows on at most one 'desktop'. That is the only way that
I can get any time at all where the screensaver just does its job.
The problem is that after about 80 hours (or so - - - - haven't
defined that time with any precision) the screensaver will move to the
pretty pics screens but does NOT move to screen off.

I have been trying to find what in either the browsers is hindering
the screen 'blanking' (if I'm using the correct term) or is breaking
on my system - - - dunno. Have been looking at xset as well but really
don't know what the bleeping blazes I'm doing and don't want to create
an even bigger mess!
I am using lxqt still on version 0.16.0 trying to wait patiently for
version 1.01 which is supposedly going to move from experimental to
unstable and testing hopefully very soon but that timing is NOT up to
me.

Is there someone out there in Devuan land who has any idea of how to
change this annoying behavior?
Can I change something in Xset to make this happen?
Something else?

(I can reboot and set up things the way I want (takes about 1/2 hour
in total to do everything) so I find that this time every 4 days is a
nuisance. )

TIA
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng