Screener, a screensaver utility

Moderator: Forum moderators

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Screener, a screensaver utility

Post by fredx181 »

mikewalsh wrote: Thu Nov 10, 2022 9:56 am

@fredx181 :-

Just of curiosity, do you - or anybody else, for that matter! - have the faintest idea of where those individual "saver" files are located? I've been through the extracted .pet every which way I can think of, and don't see them anywhere.

Or are these somehow generated "on-the-fly" by a bunch of algorithms as-and-when they're selected? I'm curious as to just how this thing DOES work....

Mike. ;)

They are listed in '/usr/share/screener/savers' if that's what you mean.
Also hard-coded in xlock I guess (from xlockmore package).

User avatar
rockedge
Site Admin
Posts: 6551
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2754 times
Been thanked: 2627 times
Contact:

Re: Screener, a screensaver utility

Post by rockedge »

@mikewalsh I play around once in awhile with the screensaver scripts (lots in PERL) from the xscreensaver package. I might have a file laying around that has a collection of these screensaver scripts that I can share. These scripts will run on their own but of course need to be manually started and stopped.

Question: can computer files actually "lay around"?

User avatar
mikewalsh
Moderator
Posts: 6163
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 795 times
Been thanked: 1983 times

Re: Screener, a screensaver utility

Post by mikewalsh »

fredx181 wrote: Thu Nov 10, 2022 10:26 am
mikewalsh wrote: Thu Nov 10, 2022 9:56 am

@fredx181 :-

Just of curiosity, do you - or anybody else, for that matter! - have the faintest idea of where those individual "saver" files are located? I've been through the extracted .pet every which way I can think of, and don't see them anywhere.

Or are these somehow generated "on-the-fly" by a bunch of algorithms as-and-when they're selected? I'm curious as to just how this thing DOES work....

Mike. ;)

They are listed in '/usr/share/screener/savers' if that's what you mean.
Also hard-coded in xlock I guess (from xlockmore package).

@fredx181 :-

Yah, it appears you're right, Fred. All these "savers" are indeed an integral part of "xlock" :-

https://linux.die.net/man/1/xlock

The man page lists the entire lot.....and at almost 2½ MB, that would explain the size. Huh...

Well, that's answered that! Cheers. :thumbup:

Mike. ;)

User avatar
mikewalsh
Moderator
Posts: 6163
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 795 times
Been thanked: 1983 times

Re: Screener, a screensaver utility

Post by mikewalsh »

Just FYI, for anybody who's trying to get Screener working in some of the older 32-bit Slackos - and failing! - xlock requires libpam and libaudit. I just found that out this morning, trying to get it functional in my customized re-master of Slacko 5.6.0.

Attached below is a 32-bit .pet for these. It may work with other older Puppies, too; these security libs weren't included OOTB until more recently (6-series & newer).

Mike. ;)

Attachments
screener_extra_deps_slacko_i686.pet
Extra deps for older 32-bit Slacko Pups (may work with other older Pups, too...)
(62.14 KiB) Downloaded 70 times
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Screener, a screensaver utility

Post by fredx181 »

For info: the xlock included in the xlockmore package at first post has not much "modes", from xlock --help [-mode ball | dclock | goop
| lyapunov | mandelbrot | matrix | penrose | solitaire | spiral | blank
| random]

First times, a while back, that I shared these packages (screener, xlockmore) the xlock version contained much more modes, nice, but some problems I found (and were reported), as far as I can remember, e.g. setting password not working or crashing X (at some point) when using random mode (perhaps due to the included "bomb" mode, not sure), so I finally replaced by the one with limited number of modes that doesn't have these bugs.

EDIT:

mikewalsh wrote:

.... All these "savers" are indeed an integral part of "xlock" :-

https://linux.die.net/man/1/xlock

The man page lists the entire lot.....and at almost 2½ MB, that would explain the size. Huh...

90 display modes supported :shock:

-mode modename
As of this writing there are over 90 display modes supported (plus one more for random selection of one of these).
.... .....

If anyone knows about a bug-free xlock to be able to choose from 90 modes it would be nice (but a bit overdone perhaps ? :roll: :D )

twigboy
Posts: 13
Joined: Tue Nov 08, 2022 12:20 am
Has thanked: 1 time

Re: Screener, a screensaver utility

Post by twigboy »

The xautolock command would trigger the backlight on again, after the xset had turned it off, so I reverse the commands and added another bit of time to allow things to run smoothly (.5 seconds was too short to allow xautolock to finish):

Code: Select all

#!/bin/sh
sleep .5
xautolock -locknow
sleep 1
xset dpms force off

I added the "Windows"+L key combo to .jwmrc-personal file so I can use that, just as I'm accustomed on Windows as I use also. Thank you all for this successful project.

HerrBert wrote: Thu Nov 10, 2022 7:51 am

EDIT:

From a separate script (without editing screener scripts) you can do something like:

Code: Select all

#!/bin/sh
sleep .5
xset dpms force off
xautolock -locknow

- added sleep to give time to release mouse

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: Screener, a screensaver utility

Post by gyrog »

How to install 'screener-1.0.1' on "dpup Bookworm64".

In a terminal, execute the following commands:

Code: Select all

apt update
apt install xautolock

Download and install 'screener-1.0.1_amd64.pet'

From the menu select:
Desktop->Display Control->Screen Saver->Disable

From the menu select:
Desktop->Screener

Warning:
Do NOT install 'xlockmore-5.31_amd64.pet'.
"dpup Bookworm64" already contains a working 'xlock'.

Post Reply

Return to “Desktop”