Discussion:
Xlib screen saver APIs
(too old to reply)
M***@dastardlyhq.com
2023-07-29 09:23:25 UTC
Permalink
Does anyone know how the 2 seperate Xlib APIs that deal with the screen saver
work together?

There's the core built in API with functions such as XSetScreenSaver() and
the API found in the X11/extensions/scrnsaver.h and I can't figure out if
they're seperate subsystems or they somehow interact.
Lew Pitcher
2023-07-29 15:08:57 UTC
Permalink
Post by M***@dastardlyhq.com
Does anyone know how the 2 seperate Xlib APIs that deal with the screen saver
work together?
There's the core built in API with functions such as XSetScreenSaver() and
the API found in the X11/extensions/scrnsaver.h and I can't figure out if
they're seperate subsystems or they somehow interact.
From a quick reading of the XSetScreenSaver(3) and Xss(3) manual pages
it appears that
a) XSetScreenSaver() is part of the core X11 implementation, and that it
"saves the screen" by simply blanking it, or overlaying it with an
implementation-defined graphic, and
b) the Xss(3) functions are implemented as an optional X11 extension,
and provide facilities to hook a application-defined drawing code
into the basic X11 screensaver code that XSetScreenSaver() uses.

Thus, the Xss(3) functions are an optional layer that replaces the
single XSetScreenSaver() call


HTH
--
Lew Pitcher
"In Skills We Trust"
M***@dastardlyhq.com
2023-07-29 15:30:41 UTC
Permalink
On Sat, 29 Jul 2023 15:08:57 -0000 (UTC)
Post by Lew Pitcher
Post by M***@dastardlyhq.com
Does anyone know how the 2 seperate Xlib APIs that deal with the screen saver
work together?
There's the core built in API with functions such as XSetScreenSaver() and
the API found in the X11/extensions/scrnsaver.h and I can't figure out if
they're seperate subsystems or they somehow interact.
From a quick reading of the XSetScreenSaver(3) and Xss(3) manual pages
it appears that
a) XSetScreenSaver() is part of the core X11 implementation, and that it
"saves the screen" by simply blanking it, or overlaying it with an
implementation-defined graphic, and
b) the Xss(3) functions are implemented as an optional X11 extension,
and provide facilities to hook a application-defined drawing code
into the basic X11 screensaver code that XSetScreenSaver() uses.
Thus, the Xss(3) functions are an optional layer that replaces the
single XSetScreenSaver() call
But I'm not sure it does. I've been reading this:

https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html

And you get sentences such as this for XScreenSaverSetAttributes():

"this routine sets the attributes to be used the next time the external screen
saver is activated."

What external screen saver? The X built in or something else? Also Drawable is
a parameter to a number of functions but it doesn't say if you have to create
it yourself or its provided by the X server? For example some sentences are
is confusing me such as this one:

"If the server chooses the latter approach, a window with a special identifier
is created and mapped at the top of the stacking order where it remains until
the screen saver deactivates"

Great, but where does the window come from? Does the server create it or do
I - is it passed to me as a Drawable argument but if so why is it an
attribute in XScreenSaverSetAttributes() ?

As usual with Xlib, things are rather vague. I suppose it'll be a case of
suck it and see.
Lew Pitcher
2023-07-29 16:42:14 UTC
Permalink
Hi, Muttley
Post by M***@dastardlyhq.com
On Sat, 29 Jul 2023 15:08:57 -0000 (UTC)
Post by Lew Pitcher
Post by M***@dastardlyhq.com
Does anyone know how the 2 seperate Xlib APIs that deal with the screen saver
work together?
There's the core built in API with functions such as XSetScreenSaver() and
the API found in the X11/extensions/scrnsaver.h and I can't figure out if
they're seperate subsystems or they somehow interact.
From a quick reading of the XSetScreenSaver(3) and Xss(3) manual pages
it appears that
a) XSetScreenSaver() is part of the core X11 implementation, and that it
"saves the screen" by simply blanking it, or overlaying it with an
implementation-defined graphic, and
b) the Xss(3) functions are implemented as an optional X11 extension,
and provide facilities to hook a application-defined drawing code
into the basic X11 screensaver code that XSetScreenSaver() uses.
Thus, the Xss(3) functions are an optional layer that replaces the
single XSetScreenSaver() call
https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html
OK, so I'm a beginner at X11/Xlib progamming myself, so I don't
have all (or even most) of the answers. What I can tell you is
that you use the Xss(3) extensions in an X11 client program that
runs in the background and intercepts and processes screensaver
events. It runs as a stand-alone process, and is not integrated
into the X11 server.

So, the screensaver client will have to draw on something called
a "Drawable" (which can be a "Window" or a "Pixmap") which it
tells the Xss(3) extension should be used as the screensaver
image. It's up the the client to establish this Drawable, and
to actually draw the image. This you can do with the usual
XLib calls. The client does this drawing (or stops drawing)
when it receives a ScreenSaverNotify event in it's event loop.

I can think of more to say, but I'd just be guessing. As this
is your project, I'll defer to your lead.
--
Lew Pitcher
"In Skills We Trust"
M***@dastardlyhq.com
2023-07-31 09:08:42 UTC
Permalink
On Sat, 29 Jul 2023 16:42:14 -0000 (UTC)
Post by Lew Pitcher
Hi, Muttley
Post by M***@dastardlyhq.com
https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html
OK, so I'm a beginner at X11/Xlib progamming myself, so I don't
have all (or even most) of the answers. What I can tell you is
that you use the Xss(3) extensions in an X11 client program that
runs in the background and intercepts and processes screensaver
events. It runs as a stand-alone process, and is not integrated
into the X11 server.
So, the screensaver client will have to draw on something called
a "Drawable" (which can be a "Window" or a "Pixmap") which it
tells the Xss(3) extension should be used as the screensaver
image. It's up the the client to establish this Drawable, and
to actually draw the image. This you can do with the usual
XLib calls. The client does this drawing (or stops drawing)
when it receives a ScreenSaverNotify event in it's event loop.
Thanks. I do wish a lot of Xlib documentation was less vague. Programming
is a precise activity, there's no reason for the documentation to not be
precise too.
Spiros Bousbouras
2023-08-02 11:04:19 UTC
Permalink
On Mon, 31 Jul 2023 09:08:42 -0000 (UTC)
Post by M***@dastardlyhq.com
On Sat, 29 Jul 2023 16:42:14 -0000 (UTC)
Post by Lew Pitcher
Hi, Muttley
Post by M***@dastardlyhq.com
https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html
[...]
Post by M***@dastardlyhq.com
Thanks. I do wish a lot of Xlib documentation was less vague. Programming
is a precise activity, there's no reason for the documentation to not be
precise too.
I just wanted to add that there exists also comp.windows.x for such
questions. I don't know if there exist people who read that group and
not comp.unix.programmer .
M***@dastardlyhq.com
2023-08-02 15:50:45 UTC
Permalink
On Wed, 2 Aug 2023 11:04:19 -0000 (UTC)
Post by Spiros Bousbouras
On Mon, 31 Jul 2023 09:08:42 -0000 (UTC)
Post by M***@dastardlyhq.com
On Sat, 29 Jul 2023 16:42:14 -0000 (UTC)
Post by Lew Pitcher
Hi, Muttley
Post by M***@dastardlyhq.com
https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html
[...]
Post by M***@dastardlyhq.com
Thanks. I do wish a lot of Xlib documentation was less vague. Programming
is a precise activity, there's no reason for the documentation to not be
precise too.
I just wanted to add that there exists also comp.windows.x for such
questions. I don't know if there exist people who read that group and
not comp.unix.programmer .
Cheers. Looks more admin than dev but something to remember for next time.
Po Lu
2023-08-17 04:30:05 UTC
Permalink
Post by M***@dastardlyhq.com
On Wed, 2 Aug 2023 11:04:19 -0000 (UTC)
Post by Spiros Bousbouras
On Mon, 31 Jul 2023 09:08:42 -0000 (UTC)
Post by M***@dastardlyhq.com
On Sat, 29 Jul 2023 16:42:14 -0000 (UTC)
Post by Lew Pitcher
Hi, Muttley
Post by M***@dastardlyhq.com
https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html
[...]
Post by M***@dastardlyhq.com
Thanks. I do wish a lot of Xlib documentation was less vague. Programming
is a precise activity, there's no reason for the documentation to not be
precise too.
I just wanted to add that there exists also comp.windows.x for such
questions. I don't know if there exist people who read that group and
not comp.unix.programmer .
Cheers. Looks more admin than dev but something to remember for next time.
X screensaver protocols don't suffer from vague documentation. But
instead, they suffer from incoherent design and interoperability issues.

The core screen saver requests and the MIT screen saver extension are
both hopelessly misdesigned: they designate a server-managed window as
the screen saver window, and place the responsibility for activating the
screen saver in the hands of the server itself, precluding clients
displaying screen savers from either customizing the visual used by the
screen saver window or controlling the activation of the screen saver
themselves.

SGI servers provide a better screen saver extension which is absent from
the sample server and most other X servers, so the only portable option
is to map an override redirect window and manage screen saver policy
yourself, or to use xscreensaver.
Kaz Kylheku
2023-08-17 07:17:48 UTC
Permalink
Post by Po Lu
Post by M***@dastardlyhq.com
On Wed, 2 Aug 2023 11:04:19 -0000 (UTC)
Post by Spiros Bousbouras
On Mon, 31 Jul 2023 09:08:42 -0000 (UTC)
Post by M***@dastardlyhq.com
On Sat, 29 Jul 2023 16:42:14 -0000 (UTC)
Post by Lew Pitcher
Hi, Muttley
Post by M***@dastardlyhq.com
https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html
[...]
Post by M***@dastardlyhq.com
Thanks. I do wish a lot of Xlib documentation was less vague. Programming
is a precise activity, there's no reason for the documentation to not be
precise too.
I just wanted to add that there exists also comp.windows.x for such
questions. I don't know if there exist people who read that group and
not comp.unix.programmer .
Cheers. Looks more admin than dev but something to remember for next time.
X screensaver protocols don't suffer from vague documentation. But
instead, they suffer from incoherent design and interoperability issues.
The core screen saver requests and the MIT screen saver extension are
both hopelessly misdesigned: they designate a server-managed window as
the screen saver window, and place the responsibility for activating the
screen saver in the hands of the server itself, precluding clients
displaying screen savers from either customizing the visual used by the
screen saver window or controlling the activation of the screen saver
themselves.
Devil's advocacy time.

The purpose of a screensaver is to save the screen against burn-in; i.e.
protect the hardware from damage.

That hardware is attachd to the machine which runs the X server, so
it makes sense for the X server to be responsible for that.

Why should the server trust remote clients to protect local hardware?
--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @***@mstdn.ca
Scott Lurndal
2023-08-17 15:22:53 UTC
Permalink
Post by Po Lu
Post by M***@dastardlyhq.com
On Wed, 2 Aug 2023 11:04:19 -0000 (UTC)
Post by Spiros Bousbouras
On Mon, 31 Jul 2023 09:08:42 -0000 (UTC)
Post by M***@dastardlyhq.com
On Sat, 29 Jul 2023 16:42:14 -0000 (UTC)
Post by Lew Pitcher
Hi, Muttley
Post by M***@dastardlyhq.com
https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html
[...]
Post by M***@dastardlyhq.com
Thanks. I do wish a lot of Xlib documentation was less vague. Programming
is a precise activity, there's no reason for the documentation to not be
precise too.
I just wanted to add that there exists also comp.windows.x for such
questions. I don't know if there exist people who read that group and
not comp.unix.programmer .
Cheers. Looks more admin than dev but something to remember for next time.
X screensaver protocols don't suffer from vague documentation. But
instead, they suffer from incoherent design and interoperability issues.
Given DPMS, screensavers are obsolete power wasters anyway.
Po Lu
2023-08-24 02:35:16 UTC
Permalink
Post by Scott Lurndal
Given DPMS, screensavers are obsolete power wasters anyway.
Given the advent and proliferation of LCD displays, the principal
purpose of a screensaver is no longer to save a screen, but to decorate
them subsequent to a period of inactivity.

Po Lu
2023-08-24 02:32:15 UTC
Permalink
Post by Kaz Kylheku
Devil's advocacy time.
The purpose of a screensaver is to save the screen against burn-in; i.e.
protect the hardware from damage.
That hardware is attachd to the machine which runs the X server, so
it makes sense for the X server to be responsible for that.
Why should the server trust remote clients to protect local hardware?
If that were genuinely the impetus for the design of the core
screen-saver requests (and its outgrowth, the MIT screen saver
extension), then the X server wouldn't trust any other clients with any
graphics requests and whatnot...

Particularly given that any client can ``save'' a screen absent even the
permission to create or map windows, by drawing to the root window with
a GC whose subwindow mode is set to IncludeInferiors.
M***@dastardlyhq.com
2023-08-17 10:34:38 UTC
Permalink
On Thu, 17 Aug 2023 12:30:05 +0800
Post by Po Lu
X screensaver protocols don't suffer from vague documentation. But
instead, they suffer from incoherent design and interoperability issues.
The core screen saver requests and the MIT screen saver extension are
both hopelessly misdesigned: they designate a server-managed window as
the screen saver window, and place the responsibility for activating the
screen saver in the hands of the server itself, precluding clients
displaying screen savers from either customizing the visual used by the
screen saver window or controlling the activation of the screen saver
themselves.
It definately has an last minute afterthought feel about it.

"Did we forget something? Oh shit, screensaver! Quick, somebody hack something
up fast!"
Lew Pitcher
2023-08-17 12:43:57 UTC
Permalink
Post by M***@dastardlyhq.com
On Thu, 17 Aug 2023 12:30:05 +0800
Post by Po Lu
X screensaver protocols don't suffer from vague documentation. But
instead, they suffer from incoherent design and interoperability issues.
The core screen saver requests and the MIT screen saver extension are
both hopelessly misdesigned: they designate a server-managed window as
the screen saver window, and place the responsibility for activating the
screen saver in the hands of the server itself, precluding clients
displaying screen savers from either customizing the visual used by the
screen saver window or controlling the activation of the screen saver
themselves.
It definately has an last minute afterthought feel about it.
"Did we forget something? Oh shit, screensaver! Quick, somebody hack something
up fast!"
But, given that a screensaver's primary responsibility is to prevent burnin,
X already has a built-in "screensaver": it simply blanks the screen after
a given length of time (see xset(1) dpms options).

The Xscreensaver framework seems to have been a response to the sort of
screensaver common to early MSWindows and Apple Mac operating systems,
solving an X11 "they got flying toasters, but we only got a blank screen"
sort of envy. It is notable that Jamie Zawinski released Xscreensaver
in 1991, about the same time as After Dark released their "flying toaster"
screensaver.
--
Lew Pitcher
"In Skills We Trust"
Kalevi Kolttonen
2023-08-17 14:34:05 UTC
Permalink
Post by Lew Pitcher
Post by M***@dastardlyhq.com
On Thu, 17 Aug 2023 12:30:05 +0800
Post by Po Lu
X screensaver protocols don't suffer from vague documentation. But
instead, they suffer from incoherent design and interoperability issues.
The core screen saver requests and the MIT screen saver extension are
both hopelessly misdesigned: they designate a server-managed window as
the screen saver window, and place the responsibility for activating the
screen saver in the hands of the server itself, precluding clients
displaying screen savers from either customizing the visual used by the
screen saver window or controlling the activation of the screen saver
themselves.
It definately has an last minute afterthought feel about it.
"Did we forget something? Oh shit, screensaver! Quick, somebody hack something
up fast!"
But, given that a screensaver's primary responsibility is to prevent burnin,
X already has a built-in "screensaver": it simply blanks the screen after
a given length of time (see xset(1) dpms options).
That is a very good point.

What is more, now in 2023 we have to care about our ecological
footprint. So the simple blank screen is a superior choice, because
it consumes less electricity than running flashy animations.

br,
KK
vallor
2023-08-19 01:33:48 UTC
Permalink
Post by Kalevi Kolttonen
Post by Lew Pitcher
Post by M***@dastardlyhq.com
Post by Po Lu
X screensaver protocols don't suffer from vague documentation. But
instead, they suffer from incoherent design and interoperability issues.
The core screen saver requests and the MIT screen saver extension are
both hopelessly misdesigned: they designate a server-managed window as
the screen saver window, and place the responsibility for activating
the screen saver in the hands of the server itself, precluding clients
displaying screen savers from either customizing the visual used by
the screen saver window or controlling the activation of the screen
saver themselves.
It definately has an last minute afterthought feel about it.
"Did we forget something? Oh shit, screensaver! Quick, somebody hack
something up fast!"
But, given that a screensaver's primary responsibility is to prevent burnin,
X already has a built-in "screensaver": it simply blanks the screen
after a given length of time (see xset(1) dpms options).
That is a very good point.
What is more, now in 2023 we have to care about our ecological
footprint. So the simple blank screen is a superior choice, because it
consumes less electricity than running flashy animations.
I don't know about you, but I don't use a screensaver to avoid burn-in.

I use a screensaver to *lock the screen* -- hopefully with art.
--
-v
(Currently using xscreensaver with the "starwars"
screensaver, fed by text from fortune(1).)
Kalevi Kolttonen
2023-08-19 08:40:16 UTC
Permalink
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.

It blanks the screen even when locking it. When I press
any key, the screen wakes up and I can login again. No
art of any kind is involved in this process.

br,
KK
M***@dastardlyhq.com
2023-08-19 08:44:01 UTC
Permalink
On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
Post by Kalevi Kolttonen
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.
No one seems to mention KDE these days. I find it far more user friendly than
chrome and with the kind of functionality you don't get with the simpler IDEs.
M***@dastardlyhq.com
2023-08-19 08:50:35 UTC
Permalink
On Sat, 19 Aug 2023 08:44:01 -0000 (UTC)
Post by M***@dastardlyhq.com
On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
Post by Kalevi Kolttonen
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.
No one seems to mention KDE these days. I find it far more user friendly than
chrome and with the kind of functionality you don't get with the simpler IDEs.
Typo: chrome = gnome
Alastair Hogge
2023-08-20 00:16:22 UTC
Permalink
Post by M***@dastardlyhq.com
On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
Post by Kalevi Kolttonen
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.
No one seems to mention KDE these days.
It is unfortunate.
Post by M***@dastardlyhq.com
I find it far more user friendly
than chrome and with the kind of functionality you don't get with the
simpler IDEs.
I agree.

It has been my DE for over 20 years, however, I switched to a tiling WM
many years ago, currently bspwm. I install bspwm with KDE for computer
illiterate people on FreeBSD, the major problem is the poor performance,
and integration of some GTK applications, most do integrate well. KDE is
still faster on 10+ year old x86 hardware.
--
To health and anarchy
M***@dastardlyhq.com
2023-08-20 07:09:23 UTC
Permalink
On Sun, 20 Aug 2023 00:16:22 -0000 (UTC)
Post by Alastair Hogge
Post by M***@dastardlyhq.com
On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
Post by Kalevi Kolttonen
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.
No one seems to mention KDE these days.
It is unfortunate.
Post by M***@dastardlyhq.com
I find it far more user friendly
than chrome and with the kind of functionality you don't get with the
simpler IDEs.
I agree.
Just noticed I wrote IDE instead of WM as well as chrome instead of gnome.
Note to self - don't post when half asleep!
Post by Alastair Hogge
It has been my DE for over 20 years, however, I switched to a tiling WM
many years ago, currently bspwm. I install bspwm with KDE for computer
Not heard of that one, will have to check it out.
Post by Alastair Hogge
illiterate people on FreeBSD, the major problem is the poor performance,
and integration of some GTK applications, most do integrate well. KDE is
still faster on 10+ year old x86 hardware.
The one area I do rate gnome ahead of KDE is that it can be programmed in
C (gtk) as well as C++ (gtkmm) whereas KDE is C++ only (Qt).
Alastair Hogge
2023-08-20 09:37:05 UTC
Permalink
Post by M***@dastardlyhq.com
On Sun, 20 Aug 2023 00:16:22 -0000 (UTC)
Post by Alastair Hogge
Post by M***@dastardlyhq.com
On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
Post by Kalevi Kolttonen
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.
No one seems to mention KDE these days.
It is unfortunate.
Post by M***@dastardlyhq.com
I find it far more user friendly than chrome and with the kind of
functionality you don't get with the simpler IDEs.
I agree.
Just noticed I wrote IDE instead of WM as well as chrome instead of gnome.
Note to self - don't post when half asleep!
Post by Alastair Hogge
It has been my DE for over 20 years, however, I switched to a tiling WM
many years ago, currently bspwm. I install bspwm with KDE for computer
Not heard of that one, will have to check it out.
Post by Alastair Hogge
illiterate people on FreeBSD, the major problem is the poor performance,
and integration of some GTK applications, most do integrate well. KDE is
still faster on 10+ year old x86 hardware.
The one area I do rate gnome ahead of KDE is that it can be programmed
in C (gtk) as well as C++ (gtkmm) whereas KDE is C++ only (Qt).
I do not with program either. I came to FreeBSD and KDE/Qt from Windows
9x, I was having fun writing my own classes around the Win32 API, but was
over the many crashes—mostly unrelated. I read about Qt, already knew of
open-source Unix—wanting more stability in a DE, I switched. I played with
Qt, and really liked the signal/slot pattern, tho, I never produced
anything interesting, and found myself interested the kernel, and the
graphics stack at the time. I am not a fan of C or C++ much anymore, tho
prefer the typing and namespaces in C++....would love a Display Server in
a strongly typed language really. I believe the vtable magic in Qt is very
fast too now, but I am not a fan of multiple inheritance either.
--
To health and anarchy
Scott Lurndal
2023-08-20 17:26:50 UTC
Permalink
Post by Alastair Hogge
Post by M***@dastardlyhq.com
On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
Post by Kalevi Kolttonen
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.
No one seems to mention KDE these days.
It is unfortunate.
Is it? They're both heavyweight desktops.

I just use TWM, xterm, xpdf and other X11/GUI applications. No desktop.

xfce isn't altogether bad, certainly better than Gnome or KDE.
Alastair Hogge
2023-08-20 00:17:28 UTC
Permalink
Post by M***@dastardlyhq.com
On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
Post by Kalevi Kolttonen
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.
No one seems to mention KDE these days.
It is unfortunate.
Post by M***@dastardlyhq.com
I find it far more user friendly
than chrome and with the kind of functionality you don't get with the
simpler IDEs.
I agree.

It has been my DE for over 20 years, however, I switched to a tiling WM
many years ago, currently bspwm. I install bspwm with KDE for computer
illiterate people on FreeBSD, the major problem is the poor performance,
and integration of some GTK applications, most do integrate well. KDE is
still faster on 10+ year old x86 hardware.
--
To health and anarchy
Alastair Hogge
2023-08-20 00:16:52 UTC
Permalink
Post by M***@dastardlyhq.com
On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
Post by Kalevi Kolttonen
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.
No one seems to mention KDE these days.
It is unfortunate.
Post by M***@dastardlyhq.com
I find it far more user friendly
than chrome and with the kind of functionality you don't get with the
simpler IDEs.
I agree.

It has been my DE for over 20 years, however, I switched to a tiling WM
many years ago, currently bspwm. I install bspwm with KDE for computer
illiterate people on FreeBSD, the major problem is the poor performance,
and integration of some GTK applications, most do integrate well. KDE is
still faster on 10+ year old x86 hardware.
--
To health and anarchy
vallor
2023-08-22 02:06:27 UTC
Permalink
Post by Kalevi Kolttonen
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.
It blanks the screen even when locking it. When I press any key, the
screen wakes up and I can login again. No art of any kind is involved in
this process.
br,
KK
I use xfce also, which I switched to on the Ubuntu
install from System76.

But then I installed xscreensaver, which _can_ be set
to use DPMS...but in the past (maybe too long ago to matter), I would
have trouble with getting my video back.

I guess it's time to try again: I'm going to set it to use
DPMS to shutdown displays. Wish me luck.
--
-v
Scott Lurndal
2023-08-22 14:19:48 UTC
Permalink
Post by vallor
Post by Kalevi Kolttonen
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.
It blanks the screen even when locking it. When I press any key, the
screen wakes up and I can login again. No art of any kind is involved in
this process.
br,
KK
I use xfce also, which I switched to on the Ubuntu
install from System76.
But then I installed xscreensaver, which _can_ be set
to use DPMS...but in the past (maybe too long ago to matter), I would
have trouble with getting my video back.
I guess it's time to try again: I'm going to set it to use
DPMS to shutdown displays. Wish me luck.
Have you tried

$ xset dpms force off

xset has other options to set inactivity period after which it automatically
enters DPMS.
vallor
2023-08-22 17:26:16 UTC
Permalink
Post by Scott Lurndal
Post by Kalevi Kolttonen
Post by vallor
I don't know about you, but I don't use a screensaver to avoid burn-in.
I use a screensaver to *lock the screen* -- hopefully with art.
I have installed Fedora 38 xfce4 Spin because I hate Gnome.
It blanks the screen even when locking it. When I press any key, the
screen wakes up and I can login again. No art of any kind is involved
in this process.
br,
KK
I use xfce also, which I switched to on the Ubuntu install from
System76.
But then I installed xscreensaver, which _can_ be set to use DPMS...but
in the past (maybe too long ago to matter), I would have trouble with
getting my video back.
I guess it's time to try again: I'm going to set it to use DPMS to
shutdown displays. Wish me luck.
Have you tried
$ xset dpms force off
xset has other options to set inactivity period after which it
automatically enters DPMS.
Indeed, that's one way to do it. :)

But I used the settings in xscreensaver-demo (advanced tab) thusly:

https://imgur.com/jvrRDe1
--
-v
Loading...