Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Biology is the only science in which multiplication means the same thing as division.


devel / comp.unix.programmer / Xlib screen saver APIs

SubjectAuthor
* Xlib screen saver APIsMuttley
`* Xlib screen saver APIsLew Pitcher
 `* Xlib screen saver APIsMuttley
  `* Xlib screen saver APIsLew Pitcher
   `* Xlib screen saver APIsMuttley
    `* Xlib screen saver APIsSpiros Bousbouras
     `* Xlib screen saver APIsMuttley
      `* Xlib screen saver APIsPo Lu
       +* Xlib screen saver APIsKaz Kylheku
       |+* Xlib screen saver APIsScott Lurndal
       ||`- Xlib screen saver APIsPo Lu
       |`- Xlib screen saver APIsPo Lu
       `* Xlib screen saver APIsMuttley
        `* Xlib screen saver APIsLew Pitcher
         `* Xlib screen saver APIsKalevi Kolttonen
          `* Xlib screen saver APIsvallor
           `* Xlib screen saver APIsKalevi Kolttonen
            +* Xlib screen saver APIsMuttley
            |+- Xlib screen saver APIsMuttley
            |+* Xlib screen saver APIsAlastair Hogge
            ||+* Xlib screen saver APIsMuttley
            |||`- Xlib screen saver APIsAlastair Hogge
            ||`- Xlib screen saver APIsScott Lurndal
            |+- Xlib screen saver APIsAlastair Hogge
            |`- Xlib screen saver APIsAlastair Hogge
            `* Xlib screen saver APIsvallor
             `* Xlib screen saver APIsScott Lurndal
              `- Xlib screen saver APIsvallor

Pages:12
Re: Xlib screen saver APIs

<87ttsyguk2.fsf@yahoo.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9904&group=comp.unix.programmer#9904

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Followup: comp.windows.x,comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: luang...@yahoo.com (Po Lu)
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Followup-To: comp.windows.x,comp.unix.programmer
Date: Thu, 17 Aug 2023 12:30:05 +0800
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <87ttsyguk2.fsf@yahoo.com>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="1676c5219e1b911c34db077651bf0f01";
logging-data="3847961"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+E2N1NmjaDRB0U6jDIPMhA/LVdSovovE="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:9GBuBoDfROJSmakFpETspDcyEDc=
sha1:b1XBWz9IwwZ0BBqgpDvXEkhnBqc=
 by: Po Lu - Thu, 17 Aug 2023 04:30 UTC

Muttley@dastardlyhq.com writes:

> On Wed, 2 Aug 2023 11:04:19 -0000 (UTC)
> Spiros Bousbouras <spibou@gmail.com> wrote:
>>On Mon, 31 Jul 2023 09:08:42 -0000 (UTC)
>>Muttley@dastardlyhq.com wrote:
>>> On Sat, 29 Jul 2023 16:42:14 -0000 (UTC)
>>> Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
>>> >Hi, Muttley
>>> >> But I'm not sure it does. I've been reading this:
>>> >>
>>> >> https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html
>>[...]
>>> 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.

Re: Xlib screen saver APIs

<20230817000928.951@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9905&group=comp.unix.programmer#9905

  copy link   Newsgroups: comp.windows.x comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.windows.x,comp.unix.programmer
Subject: Re: Xlib screen saver APIs
Date: Thu, 17 Aug 2023 07:17:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <20230817000928.951@kylheku.com>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
Injection-Date: Thu, 17 Aug 2023 07:17:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1aa1e972d16a2b9e389dd8d4860af990";
logging-data="3886532"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1930NNnmhYn+lBetMVv988POCVnw6YQu94="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:tpRQuGa1+XYFn6iB+OPU+K/yudw=
 by: Kaz Kylheku - Thu, 17 Aug 2023 07:17 UTC

On 2023-08-17, Po Lu <luangruo@yahoo.com> wrote:
> Muttley@dastardlyhq.com writes:
>
>> On Wed, 2 Aug 2023 11:04:19 -0000 (UTC)
>> Spiros Bousbouras <spibou@gmail.com> wrote:
>>>On Mon, 31 Jul 2023 09:08:42 -0000 (UTC)
>>>Muttley@dastardlyhq.com wrote:
>>>> On Sat, 29 Jul 2023 16:42:14 -0000 (UTC)
>>>> Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
>>>> >Hi, Muttley
>>>> >> But I'm not sure it does. I've been reading this:
>>>> >>
>>>> >> https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html
>>>[...]
>>>> 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: @Kazinator@mstdn.ca

Re: Xlib screen saver APIs

<ubkt3u$3oact$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9908&group=comp.unix.programmer#9908

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Thu, 17 Aug 2023 10:34:38 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <ubkt3u$3oact$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me>
<87ttsyguk2.fsf@yahoo.com>
Injection-Date: Thu, 17 Aug 2023 10:34:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c22366ece291fcc511ce050dc38e085e";
logging-data="3942813"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Jn5BPzfWHKBdlNCxNMUVS"
Cancel-Lock: sha1:L3AeKqClLSdC0kYq+ipnxOZMQLM=
 by: Mutt...@dastardlyhq.com - Thu, 17 Aug 2023 10:34 UTC

On Thu, 17 Aug 2023 12:30:05 +0800
Po Lu <luangruo@yahoo.com> wrote:
>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!"

Re: Xlib screen saver APIs

<ubl4md$3p8vp$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9913&group=comp.unix.programmer#9913

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Thu, 17 Aug 2023 12:43:57 -0000 (UTC)
Organization: The Pitcher Digital Freehold
Lines: 34
Message-ID: <ubl4md$3p8vp$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
<ubkt3u$3oact$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Aug 2023 12:43:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e7b782f6ce91e804933c49ef8cfdc1a1";
logging-data="3974137"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199FgfOqrVHfhC5kDhHDzKyjI3oTA4SYxI="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:vQfTj9GJhqmpxhUTtkJc7ZrqxUo=
 by: Lew Pitcher - Thu, 17 Aug 2023 12:43 UTC

On Thu, 17 Aug 2023 10:34:38 +0000, Muttley wrote:

> On Thu, 17 Aug 2023 12:30:05 +0800
> Po Lu <luangruo@yahoo.com> wrote:
>>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"

Re: Xlib screen saver APIs

<ublb4t$3q7jb$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9918&group=comp.unix.programmer#9918

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: kal...@kolttonen.fi (Kalevi Kolttonen)
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Thu, 17 Aug 2023 14:34:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Sender: <untosten@0.0.0.0>
Message-ID: <ublb4t$3q7jb$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me> <ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me> <ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co> <uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com> <ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me>
Injection-Date: Thu, 17 Aug 2023 14:34:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="04f2b2260dd64959a3b64bd8404ea6aa";
logging-data="4005483"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rsb5X8eYYi46ngoLbYR1Do25cGU8LwiE="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.4.10-200.fc38.x86_64 (x86_64))
Cancel-Lock: sha1:16RDpHbbwJX39ioydORk63vcsSQ=
 by: Kalevi Kolttonen - Thu, 17 Aug 2023 14:34 UTC

In comp.unix.programmer Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
> On Thu, 17 Aug 2023 10:34:38 +0000, Muttley wrote:
>
>> On Thu, 17 Aug 2023 12:30:05 +0800
>> Po Lu <luangruo@yahoo.com> wrote:
>>>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

Re: Xlib screen saver APIs

<hXqDM.215512$uLJb.148736@fx41.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9922&group=comp.unix.programmer#9922

  copy link   Newsgroups: comp.windows.x comp.unix.programmer
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx41.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Xlib screen saver APIs
Newsgroups: comp.windows.x,comp.unix.programmer
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me> <ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me> <ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co> <uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com> <20230817000928.951@kylheku.com>
Lines: 30
Message-ID: <hXqDM.215512$uLJb.148736@fx41.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 17 Aug 2023 15:22:53 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 17 Aug 2023 15:22:53 GMT
X-Received-Bytes: 2186
 by: Scott Lurndal - Thu, 17 Aug 2023 15:22 UTC

Kaz Kylheku <864-117-4973@kylheku.com> writes:
>On 2023-08-17, Po Lu <luangruo@yahoo.com> wrote:
>> Muttley@dastardlyhq.com writes:
>>
>>> On Wed, 2 Aug 2023 11:04:19 -0000 (UTC)
>>> Spiros Bousbouras <spibou@gmail.com> wrote:
>>>>On Mon, 31 Jul 2023 09:08:42 -0000 (UTC)
>>>>Muttley@dastardlyhq.com wrote:
>>>>> On Sat, 29 Jul 2023 16:42:14 -0000 (UTC)
>>>>> Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
>>>>> >Hi, Muttley
>>>>> >> But I'm not sure it does. I've been reading this:
>>>>> >>
>>>>> >> https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html
>>>>[...]
>>>>> 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.

Re: Xlib screen saver APIs

<ubp65r$eqeb$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9930&group=comp.unix.programmer#9930

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: val...@cultnix.org (vallor)
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Sat, 19 Aug 2023 01:33:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <ubp65r$eqeb$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
<ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me>
<ublb4t$3q7jb$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 19 Aug 2023 01:33:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1034f8957115d16cd2d8608cacf5cc1b";
logging-data="485835"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19peStY4xcKZ9YQnKF15S2A"
User-Agent: Pan/0.154 (Izium; b9ffd3c gitlab.gnome.org/GNOME/pan.git)
Cancel-Lock: sha1:TxPllrTgquJUabwvUon+lE8bcNU=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Sat, 19 Aug 2023 01:33 UTC

On Thu, 17 Aug 2023 14:34:05 -0000 (UTC), kalevi@kolttonen.fi (Kalevi
Kolttonen) wrote in <ublb4t$3q7jb$1@dont-email.me>:

> In comp.unix.programmer Lew Pitcher <lew.pitcher@digitalfreehold.ca>
> wrote:
>> On Thu, 17 Aug 2023 10:34:38 +0000, Muttley wrote:
>>
>>> On Thu, 17 Aug 2023 12:30:05 +0800 Po Lu <luangruo@yahoo.com> wrote:
>>>>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).)

Re: Xlib screen saver APIs

<ubpv5g$nu1c$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9931&group=comp.unix.programmer#9931

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: kal...@kolttonen.fi (Kalevi Kolttonen)
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Sender: <untosten@0.0.0.0>
Message-ID: <ubpv5g$nu1c$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me> <ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me> <ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co> <uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com> <ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me> <ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me>
Injection-Date: Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2c1bde2cedb8e52ead434659fbb918cd";
logging-data="784428"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19FEZcRXMhhRa4+S4ffPuXPXh4gBbe+zlk="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.4.10-200.fc38.x86_64 (x86_64))
Cancel-Lock: sha1:u1I+jwtq5EcYn/xXdKcksHXOPfQ=
 by: Kalevi Kolttonen - Sat, 19 Aug 2023 08:40 UTC

In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
> 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

Re: Xlib screen saver APIs

<ubpvcg$o38k$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9932&group=comp.unix.programmer#9932

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Sat, 19 Aug 2023 08:44:01 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <ubpvcg$o38k$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me> <ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me> <ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co> <uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com> <ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me> <ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me> <ubpv5g$nu1c$1@dont-email.me>
Injection-Date: Sat, 19 Aug 2023 08:44:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1d43f0aa88eeb6b065a9c586d80e864a";
logging-data="789780"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uMT8la5Pyodpv7vQpsZPe"
Cancel-Lock: sha1:NhKC38YoL4a9lZnuG7cbzkVm93k=
 by: Mutt...@dastardlyhq.com - Sat, 19 Aug 2023 08:44 UTC

On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
kalevi@kolttonen.fi (Kalevi Kolttonen) wrote:
>In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
>> 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.

Re: Xlib screen saver APIs

<ubpvor$o569$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9933&group=comp.unix.programmer#9933

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Sat, 19 Aug 2023 08:50:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <ubpvor$o569$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me> <ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me> <ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co> <uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com> <ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me> <ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me> <ubpv5g$nu1c$1@dont-email.me> <ubpvcg$o38k$1@dont-email.me>
Injection-Date: Sat, 19 Aug 2023 08:50:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1d43f0aa88eeb6b065a9c586d80e864a";
logging-data="791753"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TLvPI8EYNP7SvC9pTXjKD"
Cancel-Lock: sha1:qfyFN8/9qLGTTaB9VPNR6QFtCNM=
 by: Mutt...@dastardlyhq.com - Sat, 19 Aug 2023 08:50 UTC

On Sat, 19 Aug 2023 08:44:01 -0000 (UTC)
Muttley@dastardlyhq.com wrote:
>On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
>kalevi@kolttonen.fi (Kalevi Kolttonen) wrote:
>>In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
>>> 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

Re: Xlib screen saver APIs

<ubrm0l$3uqe7$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9938&group=comp.unix.programmer#9938

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: agh...@riseup.net (Alastair Hogge)
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Sun, 20 Aug 2023 00:16:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <ubrm0l$3uqe7$2@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
<ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me>
<ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me>
<ubpv5g$nu1c$1@dont-email.me> <ubpvcg$o38k$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 20 Aug 2023 00:16:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8daac31efd123eb0af07351617686198";
logging-data="4155847"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qhoZ5rRo9zY9nskbYSGPF3tDz17IXgg8="
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:91Pa6z9miDF9iBD/783HzDDbOVY=
 by: Alastair Hogge - Sun, 20 Aug 2023 00:16 UTC

On Sat, 19 Aug 2023 08:44:01 +0000, Muttley wrote:

> On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
> kalevi@kolttonen.fi (Kalevi Kolttonen) wrote:
>>In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
>>> 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.

> 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

Re: Xlib screen saver APIs

<ubrm2o$1279d$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9939&group=comp.unix.programmer#9939

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: agh...@riseup.net (Alastair Hogge)
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Sun, 20 Aug 2023 00:17:28 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <ubrm2o$1279d$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
<ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me>
<ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me>
<ubpv5g$nu1c$1@dont-email.me> <ubpvcg$o38k$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 20 Aug 2023 00:17:28 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8daac31efd123eb0af07351617686198";
logging-data="1121581"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WwDjQkeWFc7twQ5p7mTPg07HII4vv0eA="
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:ifSl6j8Zi/dbe/KYju04Kg9REn0=
 by: Alastair Hogge - Sun, 20 Aug 2023 00:17 UTC

On Sat, 19 Aug 2023 08:44:01 +0000, Muttley wrote:

> On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
> kalevi@kolttonen.fi (Kalevi Kolttonen) wrote:
>>In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
>>> 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.

> 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

Re: Xlib screen saver APIs

<ubrm1j$3uqen$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9940&group=comp.unix.programmer#9940

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: agh...@riseup.net (Alastair Hogge)
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Sun, 20 Aug 2023 00:16:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <ubrm1j$3uqen$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
<ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me>
<ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me>
<ubpv5g$nu1c$1@dont-email.me> <ubpvcg$o38k$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 20 Aug 2023 00:16:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8daac31efd123eb0af07351617686198";
logging-data="4155863"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18M7hOyWaTY6/IGfmB/g967ghm7lknmCfk="
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:dQ7ujUCxth/PR/+RmXGdB2bUbMM=
 by: Alastair Hogge - Sun, 20 Aug 2023 00:16 UTC

On Sat, 19 Aug 2023 08:44:01 +0000, Muttley wrote:

> On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
> kalevi@kolttonen.fi (Kalevi Kolttonen) wrote:
>>In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
>>> 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.

> 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

Re: Xlib screen saver APIs

<ubse73$198j3$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9942&group=comp.unix.programmer#9942

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Sun, 20 Aug 2023 07:09:23 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <ubse73$198j3$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
<ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me>
<ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me>
<ubpv5g$nu1c$1@dont-email.me> <ubpvcg$o38k$1@dont-email.me>
<ubrm0l$3uqe7$2@dont-email.me>
Injection-Date: Sun, 20 Aug 2023 07:09:23 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="565d25ce5c7587bdc9de52b5844d4c1a";
logging-data="1352291"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19TCIGhkK469sQtfLaYBys5"
Cancel-Lock: sha1:DIP5nNBpLzpXWaYxjB6o5NsgQ6Y=
 by: Mutt...@dastardlyhq.com - Sun, 20 Aug 2023 07:09 UTC

On Sun, 20 Aug 2023 00:16:22 -0000 (UTC)
Alastair Hogge <agh@riseup.net> wrote:
>On Sat, 19 Aug 2023 08:44:01 +0000, Muttley wrote:
>
>> On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
>> kalevi@kolttonen.fi (Kalevi Kolttonen) wrote:
>>>In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
>>>> 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.
>
>> 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!

>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.

>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).

Re: Xlib screen saver APIs

<ubsms1$1279d$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9943&group=comp.unix.programmer#9943

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: agh...@riseup.net (Alastair Hogge)
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Sun, 20 Aug 2023 09:37:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 55
Message-ID: <ubsms1$1279d$2@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
<ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me>
<ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me>
<ubpv5g$nu1c$1@dont-email.me> <ubpvcg$o38k$1@dont-email.me>
<ubrm0l$3uqe7$2@dont-email.me> <ubse73$198j3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 20 Aug 2023 09:37:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8daac31efd123eb0af07351617686198";
logging-data="1121581"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7Nun4wHqWB8lYlVcSzkieyl/bFLou3FA="
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:Za0gJZ8QQXvipmQMvYxWglQfXyg=
 by: Alastair Hogge - Sun, 20 Aug 2023 09:37 UTC

On Sun, 20 Aug 2023 07:09:23 +0000, Muttley wrote:

> On Sun, 20 Aug 2023 00:16:22 -0000 (UTC)
> Alastair Hogge <agh@riseup.net> wrote:
>>On Sat, 19 Aug 2023 08:44:01 +0000, Muttley wrote:
>>
>>> On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
>>> kalevi@kolttonen.fi (Kalevi Kolttonen) wrote:
>>>>In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
>>>>> 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.
>>
>>> 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!
>
>>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.
>
>>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

Re: Xlib screen saver APIs

<u1sEM.716068$AsA.115416@fx18.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9945&group=comp.unix.programmer#9945

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx18.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Xlib screen saver APIs
Newsgroups: comp.unix.programmer,comp.windows.x
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me> <ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me> <ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co> <uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com> <ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me> <ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me> <ubpv5g$nu1c$1@dont-email.me> <ubpvcg$o38k$1@dont-email.me> <ubrm0l$3uqe7$2@dont-email.me>
Lines: 22
Message-ID: <u1sEM.716068$AsA.115416@fx18.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Sun, 20 Aug 2023 17:26:50 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Sun, 20 Aug 2023 17:26:50 GMT
X-Received-Bytes: 1751
 by: Scott Lurndal - Sun, 20 Aug 2023 17:26 UTC

Alastair Hogge <agh@riseup.net> writes:
>On Sat, 19 Aug 2023 08:44:01 +0000, Muttley wrote:
>
>> On Sat, 19 Aug 2023 08:40:16 -0000 (UTC)
>> kalevi@kolttonen.fi (Kalevi Kolttonen) wrote:
>>>In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
>>>> 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.

Re: Xlib screen saver APIs

<uc1573$23ne9$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9962&group=comp.unix.programmer#9962

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: val...@cultnix.org (vallor)
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Tue, 22 Aug 2023 02:06:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <uc1573$23ne9$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
<ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me>
<ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me>
<ubpv5g$nu1c$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 22 Aug 2023 02:06:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c95b1b00885e8a39737b7c1ceaa20d92";
logging-data="2219465"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18gBxRus5++PrktlXg5f8Dx"
Cancel-Lock: sha1:ffr3mdYU40pJF5/K/eoJLWWNFaM=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Tue, 22 Aug 2023 02:06 UTC

On Sat, 19 Aug 2023 08:40:16 -0000 (UTC), kalevi@kolttonen.fi (Kalevi
Kolttonen) wrote in <ubpv5g$nu1c$1@dont-email.me>:

> In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
>> 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

Re: Xlib screen saver APIs

<8u3FM.455983$U3w1.248069@fx09.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9964&group=comp.unix.programmer#9964

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Xlib screen saver APIs
Newsgroups: comp.unix.programmer,comp.windows.x
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me> <ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me> <ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co> <uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com> <ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me> <ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me> <ubpv5g$nu1c$1@dont-email.me> <uc1573$23ne9$1@dont-email.me>
Lines: 34
Message-ID: <8u3FM.455983$U3w1.248069@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 22 Aug 2023 14:19:48 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 22 Aug 2023 14:19:48 GMT
X-Received-Bytes: 2120
 by: Scott Lurndal - Tue, 22 Aug 2023 14:19 UTC

vallor <vallor@cultnix.org> writes:
>On Sat, 19 Aug 2023 08:40:16 -0000 (UTC), kalevi@kolttonen.fi (Kalevi
>Kolttonen) wrote in <ubpv5g$nu1c$1@dont-email.me>:
>
>> In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
>>> 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.

Re: Xlib screen saver APIs

<uc2r3o$2g5o8$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9965&group=comp.unix.programmer#9965

  copy link   Newsgroups: comp.unix.programmer comp.windows.x
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: val...@cultnix.org (vallor)
Newsgroups: comp.unix.programmer,comp.windows.x
Subject: Re: Xlib screen saver APIs
Date: Tue, 22 Aug 2023 17:26:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <uc2r3o$2g5o8$2@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
<ubkt3u$3oact$1@dont-email.me> <ubl4md$3p8vp$1@dont-email.me>
<ublb4t$3q7jb$1@dont-email.me> <ubp65r$eqeb$1@dont-email.me>
<ubpv5g$nu1c$1@dont-email.me> <uc1573$23ne9$1@dont-email.me>
<8u3FM.455983$U3w1.248069@fx09.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 22 Aug 2023 17:26:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c95b1b00885e8a39737b7c1ceaa20d92";
logging-data="2627336"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JkHQfih4tBgBawPaVKiQs"
Cancel-Lock: sha1:AgpL0JGHFckl5UnbI6x/uA8Su58=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Tue, 22 Aug 2023 17:26 UTC

On Tue, 22 Aug 2023 14:19:48 GMT, scott@slp53.sl.home (Scott Lurndal)
wrote in <8u3FM.455983$U3w1.248069@fx09.iad>:

> vallor <vallor@cultnix.org> writes:
>>On Sat, 19 Aug 2023 08:40:16 -0000 (UTC), kalevi@kolttonen.fi (Kalevi
>>Kolttonen) wrote in <ubpv5g$nu1c$1@dont-email.me>:
>>
>>> In comp.unix.programmer vallor <vallor@cultnix.org> wrote:
>>>> 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

Re: Xlib screen saver APIs

<87edjt6uhc.fsf@yahoo.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9966&group=comp.unix.programmer#9966

  copy link   Newsgroups: comp.windows.x comp.unix.programmer
Followup: comp.windows.x,comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: luang...@yahoo.com (Po Lu)
Newsgroups: comp.windows.x,comp.unix.programmer
Subject: Re: Xlib screen saver APIs
Followup-To: comp.windows.x,comp.unix.programmer
Date: Thu, 24 Aug 2023 10:32:15 +0800
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <87edjt6uhc.fsf@yahoo.com>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
<20230817000928.951@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="0ad8db42a02595e2fa0bf287d54f19d9";
logging-data="3477101"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19TvRhc04Va391GJVEjQA5wj3a6dFgzn2s="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:xaFk6OwjvgPG2TO7upyXrD9YEUM=
sha1:mOdwVHDd619juyyAIGuQSajuuSw=
 by: Po Lu - Thu, 24 Aug 2023 02:32 UTC

Kaz Kylheku <864-117-4973@kylheku.com> writes:

> 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.

Re: Xlib screen saver APIs

<87a5uh6ucb.fsf@yahoo.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9967&group=comp.unix.programmer#9967

  copy link   Newsgroups: comp.windows.x comp.unix.programmer
Followup: comp.windows.x,comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: luang...@yahoo.com (Po Lu)
Newsgroups: comp.windows.x,comp.unix.programmer
Subject: Re: Xlib screen saver APIs
Followup-To: comp.windows.x,comp.unix.programmer
Date: Thu, 24 Aug 2023 10:35:16 +0800
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <87a5uh6ucb.fsf@yahoo.com>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me> <ua3fh5$2l267$2@dont-email.me>
<ua7tmq$3852t$1@dont-email.me> <kq60E9OQdnWzYNhjP@bongo-ra.co>
<uadu0l$5129$1@dont-email.me> <87ttsyguk2.fsf@yahoo.com>
<20230817000928.951@kylheku.com> <hXqDM.215512$uLJb.148736@fx41.iad>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="0ad8db42a02595e2fa0bf287d54f19d9";
logging-data="3477101"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+KK+P5KLTlyEubLqz1Gn+FN25/mBuahUA="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:uQTd7cMhocu7KoQJp3pWja0QNnY=
sha1:IjR6HN38U+J86Zwa6NH9lOttyjE=
 by: Po Lu - Thu, 24 Aug 2023 02:35 UTC

scott@slp53.sl.home (Scott Lurndal) writes:

> 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.

Xlib screen saver APIs

<ua2lqd$2j90a$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10799&group=comp.unix.programmer#10799

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.unix.programmer
Subject: Xlib screen saver APIs
Date: Sat, 29 Jul 2023 09:23:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <ua2lqd$2j90a$1@dont-email.me>
Injection-Date: Sat, 29 Jul 2023 09:23:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6e21755dde3d8931f28b0ed2f43857cb";
logging-data="2728970"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LJB5lPhKWd2RILl7bUL2T"
Cancel-Lock: sha1:efyI5+MbeWidE9Tvtg4U/5WJMrc=
 by: Mutt...@dastardlyhq.com - Sat, 29 Jul 2023 09:23 UTC

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.

Re: Xlib screen saver APIs

<ua3a29$2l267$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10800&group=comp.unix.programmer#10800

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.unix.programmer
Subject: Re: Xlib screen saver APIs
Date: Sat, 29 Jul 2023 15:08:57 -0000 (UTC)
Organization: The Pitcher Digital Freehold
Lines: 26
Message-ID: <ua3a29$2l267$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 29 Jul 2023 15:08:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a1f53a2c45a8ab098bf63a12761a20d2";
logging-data="2787527"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TJbUWyOQq/SdnLqgat5OZj/u/PQ5DXwU="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:Ce5d+ZuS8FJPvW+P0Y+b0GIeyNQ=
 by: Lew Pitcher - Sat, 29 Jul 2023 15:08 UTC

On Sat, 29 Jul 2023 09:23:25 +0000, Muttley wrote:

> 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"

Re: Xlib screen saver APIs

<ua3bb1$2l8st$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10801&group=comp.unix.programmer#10801

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.unix.programmer
Subject: Re: Xlib screen saver APIs
Date: Sat, 29 Jul 2023 15:30:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <ua3bb1$2l8st$1@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
Injection-Date: Sat, 29 Jul 2023 15:30:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6e21755dde3d8931f28b0ed2f43857cb";
logging-data="2794397"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Y/pBC50Gp+z1y0MiN1P1T"
Cancel-Lock: sha1:JdV0Mn34XyK85rkZxMlxeP2RShw=
 by: Mutt...@dastardlyhq.com - Sat, 29 Jul 2023 15:30 UTC

On Sat, 29 Jul 2023 15:08:57 -0000 (UTC)
Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
>On Sat, 29 Jul 2023 09:23:25 +0000, Muttley wrote:
>
>> 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.

Re: Xlib screen saver APIs

<ua3fh5$2l267$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10802&group=comp.unix.programmer#10802

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.unix.programmer
Subject: Re: Xlib screen saver APIs
Date: Sat, 29 Jul 2023 16:42:14 -0000 (UTC)
Organization: The Pitcher Digital Freehold
Lines: 52
Message-ID: <ua3fh5$2l267$2@dont-email.me>
References: <ua2lqd$2j90a$1@dont-email.me> <ua3a29$2l267$1@dont-email.me>
<ua3bb1$2l8st$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 29 Jul 2023 16:42:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a1f53a2c45a8ab098bf63a12761a20d2";
logging-data="2787527"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19H6tTQKYyArvUaQIbrDiaEUxsreLpndWo="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:gjwH+03rv7hz9pMUnqdUfSywc9I=
 by: Lew Pitcher - Sat, 29 Jul 2023 16:42 UTC

Hi, Muttley

On Sat, 29 Jul 2023 15:30:41 +0000, Muttley wrote:

> On Sat, 29 Jul 2023 15:08:57 -0000 (UTC)
> Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
>>On Sat, 29 Jul 2023 09:23:25 +0000, Muttley wrote:
>>
>>> 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

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"

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor