Oops ... that was supposed to go to list ... anyway ...
> From: "Michael Paoli" <
Michae...@cal.berkeley.edu>
> Subject: Debian wiki, /usr, ...Re: Virtual meetup this Sunday
> 2020-08-09; own mini-project
> Date: Tue, 11 Aug 2020 06:20:55 -0700
> Hey, it's a wiki - you can update/correct what's on the wiki! :-)
>
>> I found that I actually had to edit the 01_debian.conf file
>> in the /usr/share/lightdm/lightdm-gtk-greeter.conf.d
>
> Per FHS
>
https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
>
https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#theUsrHierarchy
> and Debian Policy
>
https://www.debian.org/doc/debian-policy/ch-opersys.html#file-system-hierarchy
>
https://www.debian.org/doc/debian-policy/ch-files.html#location
> under /usr wouldn't be the correct place to make such a change.
> There's likely an override location in /etc ... might possibly have
> to create it, though (e.g. it may default to what's configured in /usr
> if it doesn't find corresponding overrides at appropriate location(s)
> under /etc).
> Changing it under /usr rather than /etc would also violate the
> Principle of least surprise/astonishment
>
https://en.wikipedia.org/wiki/Principle_of_least_astonishment
And, yep, found it:
/etc/lightdm/lightdm-gtk-greeter.conf
Change it there to override ...
I added this in the [greeter] section ... might not all be needed:
#background=/usr/share/images/desktop-base/login-background.svg
background=/usr/share/icons/Adwaita/scalable/status/user-offline-symbolic.svg
... mostly just copied background from
/usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_debian.conf
as a base and added it to existing [greeter] section,
and the SVG file, I just selected randomly from .svg files
found under /usr (for proof-of-concept), and restarted
# systemctl restart lightdm.service
(under systemd - adjust accordingly for other init),
and the background was changed as specified in that file under /etc.
>> directory to change the greeter background instead :-\
And also handy saving lots of redundant downloads, e.g.:
> From: "Michael Paoli" <
Michae...@cal.berkeley.edu>
> Subject: caching Debian packages (notably .deb files): Re: Virtual
> meetup this Sunday 2020-08-09; own mini-project
> Date: Mon, 10 Aug 2020 21:42:47 -0700
e.g.:
$ ssh -ax -l michael 192.168.55.254 'cd /var/cache/apt/archives/.f/ &&
du -sh .'
4.0K .
$ scp -pq $(ssh -ax -l michael 192.168.55.254 'apt-get -y --print-uris
install lightdm' | uris2find)
mic...@192.168.55.254:/var/cache/apt/archives/.f/ 2>>/dev/null
$ ssh -ax -l michael 192.168.55.254 'cd /var/cache/apt/archives/.f/ &&
du -sh .'
87M .
$
# pwd -P
/var/cache/apt/archives/.f
# chown 0:0 *.deb && chmod 644 *.deb && mv -n *.deb ../
# ls -A
#
$ scp -pq $(ssh -ax -l michael 192.168.55.254 'apt-get -y --print-uris
install xterm' | uris2find)
mic...@192.168.55.254:/var/cache/apt/archives/.f/ 2>>/dev/null
# pwd -P
/var/cache/apt/archives/.f
# chown 0:0 *.deb && chmod 644 *.deb && mv -n *.deb ../
# ls -A
#
etc.