• MGA9, Xfce4, xscreensaver: energy manag. broken

    From Markus Robert Kessler@2:250/1 to All on Tue Sep 26 06:13:32 2023
    Hello all,

    after upgrading to MGA9 my HP 24" monitor is no longer switched off automatically after a certain time.
    I have set xscreensaver as the default screensaver,
    in xfce4 "Application autostart" Power manag. is set to start on login,
    in xfce4 power manager, "Display power management" is set to "switch off after" 15 min.
    If I wait for that time and don't touch anything, the monitor still shows xscreensaver's pictures.

    Anyone have a solution, or know how to test in detail?

    Thanks!

    Best regards,

    Markus

    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Sun Oct 1 19:13:29 2023
    On Tue, 26 Sep 2023 01:13:32 -0400, Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:

    Hello all,

    after upgrading to MGA9 my HP 24" monitor is no longer switched off automatically after a certain time.
    I have set xscreensaver as the default screensaver,
    in xfce4 "Application autostart" Power manag. is set to start on login,
    in xfce4 power manager, "Display power management" is set to "switch off after" 15 min.
    If I wait for that time and don't touch anything, the monitor still shows xscreensaver's pictures.

    Anyone have a solution, or know how to test in detail?

    Thanks!

    Best regards,

    Markus

    You can use "xset q" to see the current screen saver and dpms settings, rather then
    waiting to test them.

    The xscreensaver program overrides desktop environment settings using /etc/X11/app-defaults/XScreenSaver. Uninstall xscreensaver-common and xscreensaver
    and chbg, if you're not going to be using xscreensaver, or change the settings, settings. Reboot (likely logout/in would be enough) after changing the settings or
    uninstalling the packages.

    The xscreensaver package is primarily meant for use on desktop environments that do
    not include a screen saver or power management feature, though it can be used in
    other desktops.

    I find it's easier to use a script rather then dig through the settings of each desktop environment. In my case, I normally do not want any screen saver or blanking.

    I have two scripts ...
    [dave@x3 ~]$ cat ~/.config/autostart-scripts/noblank
    #!/bin/bash
    /home/dave/bin/noblank &

    [dave@x3 ~]$ cat ~/bin/noblank
    #!/bin/bash
    sleep 60
    xset s 0 0
    xset s noblank
    xset s off
    xset dpms 0 0 0
    xset -dpms

    The sleep 60 allows the desktop to set things as it's configured, and then the script overrides them. By having the first script start the second in the background, the second script doesn't hold up starting the desktop.
    See "man xset" for the various configuration options available.

    I haven't looked into how to do this if you're using wayland instead of xorg.

    Regards, Dave Hodgins

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Markus Robert Kessler@2:250/1 to All on Mon Oct 2 18:56:34 2023
    On Tue, 26 Sep 2023 05:13:32 -0000 (UTC) Markus Robert Kessler wrote:

    Hello all,

    after upgrading to MGA9 my HP 24" monitor is no longer switched off automatically after a certain time.
    I have set xscreensaver as the default screensaver,
    in xfce4 "Application autostart" Power manag. is set to start on login,
    in xfce4 power manager, "Display power management" is set to "switch off after" 15 min.
    If I wait for that time and don't touch anything, the monitor still
    shows xscreensaver's pictures.

    In MGA9 there are many things messed up. What I've found out is, for
    instance, that xfce's energy settings do not take effect at all, though
    they look like coworking with xscreensaver's settings, and xscreensaver "forgets" its settings, so that every checked box is unchecked after
    leaving and reentering. So, it's never clear what xscreensaver does. After opening the settings form and reading the values, they should be displayed correctly, as it was in former versions.

    Markus

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Daniel65@2:250/1 to All on Tue Oct 3 10:08:48 2023
    Markus Robert Kessler wrote on 3/10/23 4:56 am:
    On Tue, 26 Sep 2023 05:13:32 -0000 (UTC) Markus Robert Kessler
    wrote:

    Hello all,

    after upgrading to MGA9 my HP 24" monitor is no longer switched
    off automatically after a certain time. I have set xscreensaver as
    the default screensaver, in xfce4 "Application autostart" Power
    manag. is set to start on login, in xfce4 power manager, "Display
    power management" is set to "switch off after" 15 min. If I wait
    for that time and don't touch anything, the monitor still shows
    xscreensaver's pictures.

    In MGA9 there are many things messed up. What I've found out is, for instance, that xfce's energy settings do not take effect at all,
    though they look like coworking with xscreensaver's settings, and xscreensaver "forgets" its settings, so that every checked box is
    unchecked after leaving and reentering. So, it's never clear what xscreensaver does. After opening the settings form and reading the
    values, they should be displayed correctly, as it was in former
    versions.

    Markus

    Hmm!! "so that every checked box is unchecked after leaving and
    reentering" .... Could it be the preferences file is set to "Read Only"??
    --
    Daniel

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Markus Robert Kessler@2:250/1 to All on Wed Oct 4 15:47:34 2023
    On Tue, 3 Oct 2023 20:08:48 +1100 Daniel65 wrote:

    Markus Robert Kessler wrote on 3/10/23 4:56 am:
    On Tue, 26 Sep 2023 05:13:32 -0000 (UTC) Markus Robert Kessler wrote:

    Hello all,

    after upgrading to MGA9 my HP 24" monitor is no longer switched off
    automatically after a certain time. I have set xscreensaver as the
    default screensaver, in xfce4 "Application autostart" Power manag. is
    set to start on login, in xfce4 power manager, "Display power
    management" is set to "switch off after" 15 min. If I wait for that
    time and don't touch anything, the monitor still shows xscreensaver's
    pictures.

    In MGA9 there are many things messed up. What I've found out is, for
    instance, that xfce's energy settings do not take effect at all, though
    they look like coworking with xscreensaver's settings, and xscreensaver
    "forgets" its settings, so that every checked box is unchecked after
    leaving and reentering. So, it's never clear what xscreensaver does.
    After opening the settings form and reading the values, they should be
    displayed correctly, as it was in former versions.

    Markus

    Hmm!! "so that every checked box is unchecked after leaving and
    reentering" .... Could it be the preferences file is set to "Read
    Only"??

    Hi, good point, thanks!
    Unfortunately, that seems not to be the "root cause" -- I tested with a
    newly created user and empty home space and the same occurred.

    Best regards,
    Markus

    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)