Screensaver

General support for the Pi-Star System
KE5RAD
Posts: 5
Joined: Tue Jun 05, 2018 2:53 am

Screensaver

Post by KE5RAD » Fri Oct 11, 2019 10:13 pm

I am running Pi-Star version 3.4.17 in DMR on a DVMEGA RPi 3 mounted in a 7-Inch LCD Touch Screen Case. All is working fine; however, I'd like to run screensaver on the 7" screen when it is on. I was able to do this when I ran it with DVMEGA software but can't figure out how to do it under Pi-Star.

Any suggestions or is this even possible.

KE7FNS
Posts: 409
Joined: Wed Apr 17, 2019 11:11 pm

Re: Screensaver

Post by KE7FNS » Fri Oct 11, 2019 11:02 pm

I'm slightly confused.

Is the 7" touch screen a monitor showing what is displayed on a terminal?, or a 7" Nextion that is displaying what you would see on a Nextion.

I'm pretty sure if it is a terminal the screen blanker should be kicking in. If it is a Nextion there isn't an easy way to do that.

Thats an interesting question though.
All views, comments, posts and opinions shared are entirely my own.

KE5RAD
Posts: 5
Joined: Tue Jun 05, 2018 2:53 am

Re: Screensaver

Post by KE5RAD » Sat Oct 12, 2019 12:53 am

It is a monitor, not a Nextion. I have a couple of Nextions on other hotspots so am familiar with them. Yes, the screen blanker does kick in, but I'd like to have a screensaver like Xscreensaver come up, but don't seem to be able to "sudo apt-get install" it.

I can see the Pi-Star dashboard, etc from my desktop computer and thus configure, update, power off, reboot, etc it fine. I can log into the Pi from the touchscreen but cannot get a Linux desktop on it via STARTX. Does Pi-Star block all the normal Linux features?

KE7FNS
Posts: 409
Joined: Wed Apr 17, 2019 11:11 pm

Re: Screensaver

Post by KE7FNS » Sat Oct 12, 2019 1:20 am

ah ok, I understand now well bad news there is no xserver installed by default in raspbian lite so no graphical user interface. It would be a heck of a chore to install all the required packages, I'm sure there are instructions out there somewhere though. Let me know and I'll see if I can dig something up.

So all you are going to get without some major work is the terminal screen blanker.

Now I've seen posts mention a script that you could run that is "supposed" to install all of the graphical stuff and then automatically display the dashboard on a monitor. I have no idea if the script works correctly or not, I've just seen it mentioned a few times. It will take a very long time to download and install all the packages, but if it works you'll end up with it automatically showing the dashboard 24/7, it won't be a normal linux desktop. I believe a screen saver would be able to be installed, but I'm not sure how you'd configure it with no desktop menus.

To get back to a useable terminal you'll have to hit ctrl+alt+f1 on a keyboard

If you want the normal linux desktop that script wouldn't be what you want.

here's a blog about the script.
http://www.kd2iff.com/node/19

I dunno if its worth playing with or not but I'll help out if I can.

good luck and have fun.
All views, comments, posts and opinions shared are entirely my own.

KE5RAD
Posts: 5
Joined: Tue Jun 05, 2018 2:53 am

Re: Screensaver

Post by KE5RAD » Sat Oct 12, 2019 2:55 am

Thank you very much for the prompt and thorough replies. Sounds like it's not worth the effort just for some eye candy. I can live with just the blank screen since the rest of the system works fine.
73,
Chuck
KE5RAD

KE7FNS
Posts: 409
Joined: Wed Apr 17, 2019 11:11 pm

Re: Screensaver

Post by KE7FNS » Sat Oct 12, 2019 6:46 am

No problem.

So I was wondering if there were any linux ascii terminal based screen savers, and sure enough there are.

Image

Looks pretty cool! 8-)

Image

That one made me chuckle. :lol:

Maybe you could find one that you would like?
All views, comments, posts and opinions shared are entirely my own.

AF6VN
Posts: 269
Joined: Fri Jul 20, 2018 1:15 am

Re: Screensaver

Post by AF6VN » Sat Oct 12, 2019 4:46 pm

KE7FNS wrote:
Sat Oct 12, 2019 6:46 am
No problem.

So I was wondering if there were any linux ascii terminal based screen savers, and sure enough there are.

Image

Looks pretty cool! 8-)
And recognizable by anyone who has watched "The Matrix"... https://en.wikipedia.org/wiki/Matrix_digital_rain

--
AF6VN
Dennis L Bieber

User avatar
w7efs
Posts: 302
Joined: Sun Apr 22, 2018 4:26 pm

Re: Screensaver

Post by w7efs » Sun Oct 13, 2019 2:57 am

KE5RAD wrote:
Fri Oct 11, 2019 10:13 pm
I am running Pi-Star version 3.4.17 in DMR on a DVMEGA RPi 3 mounted in a 7-Inch LCD Touch Screen Case. All is working fine; however, I'd like to run screensaver on the 7" screen when it is on. I was able to do this when I ran it with DVMEGA software but can't figure out how to do it under Pi-Star, ...
If one has sufficient sdcard space, it's quite simple actually if one has a few minutes. On a Pi B Plus:

Code: Select all

[email protected](rw):~# time apt install xscreensaver -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  adwaita-icon-theme dictionaries-common emacsen-common gtk-update-icon-cache hicolor-icon-theme libauthen-sasl-perl libdata-dump-perl libencode-locale-perl libfile-listing-perl libfont-afm-perl libgail-common libgail18 libglade2-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libjpeg-turbo-progs liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libtimedate-perl libtry-tiny-perl libturbojpeg0 liburi-perl libwww-perl libwww-robotrules-perl libxcomposite1 libxft2 libxmu6 libxt6 miscfiles perl-openssl-defaults xscreensaver-data
Suggested packages:
  ispell | aspell | hunspell libgssapi-perl gvfs libcrypt-ssleay-perl libauthen-ntlm-perl fortune gdm3 | kdm-gdmcompat qcam | streamer xdaliclock xfishtank xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra
The following NEW packages will be installed:
  adwaita-icon-theme dictionaries-common emacsen-common gtk-update-icon-cache hicolor-icon-theme libauthen-sasl-perl libdata-dump-perl libencode-locale-perl libfile-listing-perl libfont-afm-perl libgail-common libgail18 libglade2-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libjpeg-turbo-progs liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libtimedate-perl libtry-tiny-perl libturbojpeg0 liburi-perl libwww-perl libwww-robotrules-perl libxcomposite1 libxft2 libxmu6 libxt6 miscfiles perl-openssl-defaults xscreensaver xscreensaver-data
0 upgraded, 49 newly installed, 0 to remove and 20 not upgraded.
Need to get 20.9 MB of archives.
After this operation, 68.1 MB of additional disk space will be used.
...
real    6m10.557s
user    1m28.836s
sys     1m0.537s
"man xscreensaver" is useful:

Code: Select all

xscreensaver(1)                                                XScreenSaver manual                                                xscreensaver(1)

NAME
       xscreensaver - extensible screen saver and screen locking framework

SYNOPSIS
       xscreensaver [-display host:display.screen] [-verbose] [-no-splash] [-no-capture-stderr] [-log filename]

DESCRIPTION
       The  xscreensaver  program waits until the keyboard and mouse have been idle for a period, and then runs a graphics demo chosen at random.
       It turns off as soon as there is any mouse or keyboard activity.

       This program can lock your terminal in order to prevent others from using it, though its default mode of operation is  merely  to  display
       pretty pictures on your screen when it is not in use.

       It also provides configuration and control of your monitor's power-saving features. ...

KE7FNS
Posts: 409
Joined: Wed Apr 17, 2019 11:11 pm

Re: Screensaver

Post by KE7FNS » Sun Oct 13, 2019 5:26 am

w7efs wrote:
Sun Oct 13, 2019 2:57 am
If one has sufficient sdcard space, it's quite simple actually if one has a few minutes. On a Pi B Plus:

Code: Select all

[email protected](rw):~# time apt install xscreensaver -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  adwaita-icon-theme dictionaries-common emacsen-common gtk-update-icon-cache hicolor-icon-theme libauthen-sasl-perl libdata-dump-perl libencode-locale-perl libfile-listing-perl libfont-afm-perl libgail-common libgail18 libglade2-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libjpeg-turbo-progs liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libtimedate-perl libtry-tiny-perl libturbojpeg0 liburi-perl libwww-perl libwww-robotrules-perl libxcomposite1 libxft2 libxmu6 libxt6 miscfiles perl-openssl-defaults xscreensaver-data
Suggested packages:
  ispell | aspell | hunspell libgssapi-perl gvfs libcrypt-ssleay-perl libauthen-ntlm-perl fortune gdm3 | kdm-gdmcompat qcam | streamer xdaliclock xfishtank xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra
The following NEW packages will be installed:
  adwaita-icon-theme dictionaries-common emacsen-common gtk-update-icon-cache hicolor-icon-theme libauthen-sasl-perl libdata-dump-perl libencode-locale-perl libfile-listing-perl libfont-afm-perl libgail-common libgail18 libglade2-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libjpeg-turbo-progs liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libtimedate-perl libtry-tiny-perl libturbojpeg0 liburi-perl libwww-perl libwww-robotrules-perl libxcomposite1 libxft2 libxmu6 libxt6 miscfiles perl-openssl-defaults xscreensaver xscreensaver-data
0 upgraded, 49 newly installed, 0 to remove and 20 not upgraded.
Need to get 20.9 MB of archives.
After this operation, 68.1 MB of additional disk space will be used.
...
real    6m10.557s
user    1m28.836s
sys     1m0.537s
How does that work with without xserver-xorg installed?
All views, comments, posts and opinions shared are entirely my own.

KE5RAD
Posts: 5
Joined: Tue Jun 05, 2018 2:53 am

Re: Screensaver

Post by KE5RAD » Sun Oct 13, 2019 8:17 pm

Thanks Tony and Jason, I got xscreensaver installed; however when trying to run xscreensaver-demo I get an error saying "Gtk Warning; cannot open display."
Running xscreensaver itself results in the error "warning: $DISPLAY is not set: defaulting to :"0.0"
and then "Can't open display: :0.0"

I did find some of the ASCII terminal based screensavers and got them running; however, I am not able to change time on or stop the screen blanker, so Matrix will run but in about 10 minutes the screen goes blank.

Any help would be appreciated.

73,
Chuck
KE5RAD

Post Reply