Re: what keyboard do you use?

2024-02-03 Thread Russell L. Harris

On Sat, Feb 03, 2024 at 09:10:49AM -0500, Lee wrote:

On Fri, Feb 2, 2024 at 8:57???PM Russell L. Harris  wrote:


On Fri, Feb 02, 2024 at 08:25:09PM -0500, Lee wrote:
>which keyboard do you like and why?

CHERRY MX BOARD 3.0 (Purchased several years ago; in daily use since.)
Excellent mechanical quality of the keyswitch.  Keyswitch plungers
which start sticking (high resistance upon depression) is the biggest
problem I have found.  The next-greatest problem is intermittent
contact of key switch contacts.  Both problems are maddening for the
touch typist.


OK - good to know.  I am a touch typist, so I guess I'm giving that one a pass.


I am saying that these are the biggest problems I have found with
keyboards in general, and that the CHERRY MX BOARD 3.0 does not have
these problems.  If you are a touch typist, focus upon the quality of
the keyswitch.  Cherry makes/uses a good keyswitch.  Buy Cherry.  RLH



Re: xfce screen detachment

2024-01-12 Thread Russell L. Harris

On Fri, Jan 12, 2024 at 02:41:47PM -0500, Cindy Sue Causey wrote:

On 1/8/24, mick.crane  wrote:

On 2024-01-07 04:00, Russell L. Harris wrote:

system:  amd64 desktop, debian 12, xfce, NEC MultiSync EA192M monitor

I don't know precisely how to describe the problem, other than
"detachment".  About every week or so, when using the rodent, the
entire screen -- borders and all -- moves with respect to the monitor
screen as I move the mouse.

The only recovery method I have discovered is to reboot.

My hands and finders no longer are working well, so I likely clicked
on something or pressed a key to cause the problem.


I get this effect if pressing Alt and moving the mouse wheel.



Me, too, in LXQt. It's HARD finding the fix until you can finally
remember it. It's easy to hit a wall of misses when searching the
Internet.

As Mick says, hold down the ALT key and scroll the mouse rodent's
wheel back and forth. I just blew up my desktop background to where it
was basically one rendition of the small gif file that's normally
tiled.

It seems to be for commendable visual accessibility purposes, but it's
sure a grouch maker until you figure out its activation/deactivation
secret, lol.

Cindy :)
--
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *


Cindy, Thanks for taking the trouble to post the confirmation.  RLH
--
He turneth rivers into a wilderness, and the watersprings into dry
ground; a fruitful land into barrenness, for the wickedness of them
that dwell therein. - Psalm 107:33-34



Re: Changing keyboard layout fails

2024-01-08 Thread Russell L. Harris

On Mon, Jan 08, 2024 at 10:28:07PM -0500, David Niklas wrote:

Hello,
I installed debian, 12.4.0 on 2 laptops.
One of them, a 2023 ASUS Zenbook 15" 7735U, I cannot change the keyboard
mapping on. Changing it on the other works like a charm. I initially set
them up as dvorak, for my own ease, and now I want it to be qwerty. I have
temporarily worked around the problem by using setxkbmap.

I followed the guide here: https://wiki.debian.org/Keyboard , using as
root,

# dpkg-reconfigure keyboard-configuration
# service keyboard-setup restart
# udevadm trigger --subsystem-match=input --action=change

In the config files, I can see the correct values in
/etc/default/keyboard

Having worked with Gentoo Linux at one point in time, I read their guide.
Based on that info, I checked /etc/vconsole.conf and adjusted it from
dvorak to qwerty without effect.

I also tried (un)setting dvoark and qwerty layouts including doing
multiple reboots without effect. I also tried installing the console-data
package which was recommended elsewhere and set qwerty layout without
effect.

I'm flat out of ideas as to why the keyboard layout will not change.

Anyone know how to change the keyboard layout on Debian?


With Debian 12 amd64 and xfce, I use the APPLICATIONS > SETTINGS >
KEYBOARD .

Sometimes with previous Debian releases it has been necessary to
monkey a bit with the LAYOUT menu (move up, move down, delete, add)
to effect the change within the current session (without log out or
restart).

I use the American "Dvorak Classic" layout, in which the upper numeric
key row  conforms to the original Dvorak layout.

RLH



Re: xfce screen detachment

2024-01-07 Thread Russell L. Harris

On Sun, Jan 07, 2024 at 09:32:55PM -0800, Mike Kupfer wrote:

Dan Ritter wrote:


Russell L. Harris wrote:
> system:  amd64 desktop, debian 12, xfce, NEC MultiSync EA192M monitor

[...]

That sounds something like having an X11 screen larger than the
monitor it is on, and X panning around that. Typically, though,
panning requires the mouse to hit the border of the monitor.

If that's what is happening, try right clicking-on the desktop
to get the application menu, and run Settings => Desktop; then
reset the resolution to what your monitor actually supports.


FWIW, I've noticed that Xfce eventually gets confused about the settings
for my display.  I don't know what triggers it, but I'll suddenly notice
that the display has gone from 1920x1200 to 1920x1080.  Resetting it
works (under Display, not Desktop).  I don't see the problem with MATE,
KDE, Cinnamon, or i3.

This is on Debian 11, amd64 desktop (radeon 3000 video), Acer 23"
monitor.



I opened the display settings, but whatever I did did not correct the
problem.  The next time it happens I try display settings again and
pay closer attention.  Thanks.  RLH



xfce screen detachment

2024-01-06 Thread Russell L. Harris

system:  amd64 desktop, debian 12, xfce, NEC MultiSync EA192M monitor

I don't know precisely how to describe the problem, other than
"detachment".  About every week or so, when using the rodent, the
entire screen -- borders and all -- moves with respect to the monitor
screen as I move the mouse.   


The only recovery method I have discovered is to reboot.

My hands and finders no longer are working well, so I likely clicked
on something or pressed a key to cause the problem.

RLH



Re: cups error -- SOLVED

2023-12-25 Thread Russell L. Harris

On Mon, Dec 25, 2023 at 09:36:44PM -0500, Stefan Monnier wrote:

I copied the file to another computer in the LAN, ran LaTeX and dvips,
and sent it to the same printer,  but the file hung at the same spot.


Any chance you can use `pdflatex` instead of `latex + dvips`?
Have you tried to manually convert the PS to PDF before sending to
the printer? or to convert straight from DVI to PDF?
Nowadays PS is becoming a curiosity, so you may have better luck with
PDF (there's a chance the problem is unrelated, of course).


The PDF file produced with pdflatex hung at the same point as did the
PS file produced with dvips.

The PDF file produced with dvipdfm printed the entire file properly.

Many thanks!

RLH



Re: cups error

2023-12-25 Thread Russell L. Harris

On Mon, Dec 25, 2023 at 09:36:44PM -0500, Stefan Monnier wrote:

I copied the file to another computer in the LAN, ran LaTeX and dvips,
and sent it to the same printer,  but the file hung at the same spot.


Any chance you can use `pdflatex` instead of `latex + dvips`?
Have you tried to manually convert the PS to PDF before sending to
the printer? or to convert straight from DVI to PDF?
Nowadays PS is becoming a curiosity, so you may have better luck with
PDF (there's a chance the problem is unrelated, of course).


Thanks for the suggestion.  I am a dinosaur; I have been running
Debian since A.D.2000, and I have done things pretty much as I was
taught by the guru who got me running.  Are you saying that I can
print to a printer which does not have PostScript?  (All of my
printers, which now are quite old, have PostScript.)

P.S.  I remember using LPR and the switch to LPRNG, and then the
switch to CUPS.  And now driverless CUPS.

RLH



cups error

2023-12-25 Thread Russell L. Harris

On a desktop debian 12.2 amd64 system with
HP_LaserJet_P3010_Series_48E436 (ethernet), LaTeX documents composed
with Emacs frequently print only up to a certain point (it varies with
the document), and CUPS prints the error message:

  ERROR: typecheck OFFENDING COMMAND: known

xdvi displays the document perfectly in its entirety.

I copied the file to another computer in the LAN, ran LaTeX and dvips,
and sent it to the same printer,  but the file hung at the same spot.

One time I was able to recover by cutting the section at which
printing hung and pasting from another document.

I have searched the Web but have not found a solution.

RLH



Re: approx in debian 12

2023-11-17 Thread Russell L. Harris

On Fri, Nov 17, 2023 at 02:02:10PM -0500, Greg Wooledge wrote:

On Fri, Nov 17, 2023 at 05:18:02PM +, Russell L. Harris wrote:

Should we report an error regarding the approx man page which states:


I would not bother filing any cosmetic bug reports against a 12-year-old
upstream man page.


Agreed on that point.  But I suspect that the maintainer is going to
become involved to get approx working in Debian-12.

I searched for "Debian approx apt-cache" and found several users of
apt-cache and apt-cache-ng who reported the packages buggy and
several who expressed appreciation for the stability of approx.

Whatever release of approx I have running on the Debian-9 machine
works flawlessly, but I do hope to upgrade the Debian version on that
machine.  I suppose I could reinstall on my planned replacement, and
see whether approx still works with Debian-11, or go back to
Debian-10, if necessary.

RLH



Re: approx in debian 12

2023-11-17 Thread Russell L. Harris

On Fri, Nov 17, 2023 at 11:57:44AM +0300, Reco wrote:

Hi.

On Fri, Nov 17, 2023 at 08:03:15AM +, Russell L. Harris wrote:

On Fri, Nov 17, 2023 at 10:34:14AM +0300, Reco wrote:
> Looks good. What about this one:
>
> apt update -o Acquire::http::Proxy=http://localhost:

root@mollydew:/etc/approx# apt update -o 
Acquire::http::Proxy=http://localhost:
Ign:1 http://security.debian.org/debian-security bookworm-security InRelease


Hm. I have this in my approx.conf for debian-security:

debian-security http://deb.debian.org/debian-security

Try changing it, I guess.


The red screen still appears.

Should we report an error regarding the approx man page which states:

USEAGE
approx is invoked by inetd(8)

RLH



Re: approx in debian 12

2023-11-17 Thread Russell L. Harris

On Fri, Nov 17, 2023 at 10:34:14AM +0300, Reco wrote:

Looks good. What about this one:

apt update -o Acquire::http::Proxy=http://localhost:


root@mollydew:/etc/approx# apt update -o Acquire::http::Proxy=http://localhost: 
Ign:1 http://security.debian.org/debian-security bookworm-security InRelease

Err:2 http://security.debian.org/debian-security bookworm-security Release
 404  Not Found [IP: ::1 ]
Hit:3 http://192.168.1.40:/debian bookworm InRelease
Get:4 http://192.168.1.40:/debian bookworm-updates InRelease [52.1 kB]
Reading package lists... Done   
E: The repository 'http://security.debian.org/debian-security bookworm-security Release' no longer has a Release file.

N: Updating from such a repository can't be done securely, and is therefore 
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration 
details.
root@mollydew:/etc/approx# 



Re: approx in debian 12

2023-11-16 Thread Russell L. Harris

On Fri, Nov 17, 2023 at 09:56:07AM +0300, Reco wrote:

OK. And what happens if you execute this on a approx server:

curl -x http://localhost: -v http://ftp.debian.org/debian/dists/stable/Release 
>/dev/null


root@mollydew:/etc/approx# curl -x http://localhost: -v 
http://ftp.debian.org/debian/dists/stable/Release >/dev/null
 % Total% Received % Xferd  Average Speed   TimeTime Time  Current
Dload  Upload   Total   SpentLeft  Speed
 0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0*  
 Trying 127.0.0.1:...
* Connected to localhost (127.0.0.1) port  (#0)

GET http://ftp.debian.org/debian/dists/stable/Release HTTP/1.1
Host: ftp.debian.org
User-Agent: curl/7.88.1
Accept: */*
Proxy-Connection: Keep-Alive


< HTTP/1.1 200 OK
< Content-Type: text/plain
< Last-Modified: Sat, 07 Oct 2023 09:30:02 GMT
< Content-Length: 149228
< Date: Fri, 17 Nov 2023 07:21:42 GMT
< Server: approx/5.12 Ocamlnet/
< 
{ [4096 bytes data]

100  145k  100  145k0 0   193k  0 --:--:-- --:--:-- --:--:--  193k
* Connection #0 to host localhost left intact
root@mollydew:/etc/approx# 



Re: approx in debian 12

2023-11-16 Thread Russell L. Harris

debian   http://fpt.debian.org/debian


Is this a typo? It should be (ftp, not fpt)

Yes; a typo.


"journalctl | grep approx" on approx server should show something that's
related to the problem.


root@mollydew:/home/rlh# journalctl | grep approx
Nov 14 07:54:27 mollydew groupadd[4819]: group added to /etc/group: 
name=approx, GID=120
Nov 14 07:54:27 mollydew groupadd[4819]: group added to /etc/gshadow: 
name=approx
Nov 14 07:54:27 mollydew groupadd[4819]: new group: name=approx, GID=120
Nov 14 07:54:28 mollydew useradd[4825]: new user: name=approx, UID=111, 
GID=120, home=/var/cache/approx, shell=/usr/sbin/nologin, from=none
Nov 14 07:54:29 mollydew systemd[1]: Listening on approx.socket - caching proxy 
server for Debian archive files.
Nov 14 07:56:48 mollydew systemd[1]: approx.socket: Deactivated successfully.
Nov 14 07:56:48 mollydew systemd[1]: Closed approx.socket - caching proxy 
server for Debian archive files.
Nov 14 18:45:29 mollydew systemd[1]: Listening on approx.socket - caching proxy 
server for Debian archive files.
Nov 15 08:24:34 mollydew systemd[1]: approx.socket: Deactivated successfully.
Nov 15 08:24:34 mollydew systemd[1]: Closed approx.socket - caching proxy 
server for Debian archive files.
Nov 15 21:27:22 mollydew systemd[1]: Listening on approx.socket - caching proxy 
server for Debian archive files.
Nov 16 00:40:56 mollydew systemd[1]: approx.socket: Deactivated successfully.
Nov 16 00:40:56 mollydew systemd[1]: Closed approx.socket - caching proxy 
server for Debian archive files.
Nov 16 00:42:30 mollydew systemd[1]: Listening on approx.socket - caching proxy 
server for Debian archive files.
Nov 16 07:19:45 mollydew systemd[1]: approx.socket: Deactivated successfully.
Nov 16 07:19:45 mollydew systemd[1]: Closed approx.socket - caching proxy 
server for Debian archive files.
Nov 17 01:43:36 mollydew systemd[1]: Listening on approx.socket - caching proxy 
server for Debian archive files.
Nov 17 04:47:32 mollydew systemd[1]: approx.socket: Deactivated successfully.
Nov 17 04:47:32 mollydew systemd[1]: Closed approx.socket - caching proxy 
server for Debian archive files.
Nov 17 04:49:05 mollydew systemd[1]: Listening on approx.socket - caching proxy 
server for Debian archive files.
root@mollydew:/home/rlh# 



Re: approx in debian 12

2023-11-16 Thread Russell L. Harris

On Thu, Nov 16, 2023 at 01:08:50PM +0300, Reco wrote:

What you have is approx.socket unit, which causes systemd to listen on
tcp:.
On each incoming connection
"approx@:-:.service" is
started. That service is only used to serve that particular connection,
and is terminated after.

Thus, there's nothing to restart. You just edit /etc/approx/approx.conf,
and try your changes immediately.


I am trying to do another netinstall of Debian 12 on a Lenovo G570
laptop.

Both the target machine (192.168.1.25) and the approx server 
(192.168.1.30) are in my LAN.  The approx server is a fresh install of

Debian 12.

The approx.conf file has only two lines uncommented (should I add "us"?):

debian   http://fpt.debian.org/debian
security http://security.debian.org/debian-security

In netinstall, under CONFIGURE THE PACKAGE MANAGER, I have specified
the debian archive mirror hostname:

192.168.1.30:

and debian archive mirror directory:

/debian/

Scanning the archive mirror produces the "red screen of death" BAD
ARCHIVE MIRROR.  Virtual console 4 says: "WARNING **: mirror does not
support the specified release"

RLH



Re: approx in debian 12

2023-11-15 Thread Russell L. Harris

On Thu, Nov 16, 2023 at 07:14:04AM +0100, Kamil Jo?ca wrote:

Kamil Jo?ca  writes:


Charles Curley  writes:


On Thu, 16 Nov 2023 04:11:37 +
"Russell L. Harris"  wrote:


root@mollydew:/home/rlh# systemctl daemon-reload
root@mollydew:/home/rlh# systemctl restart approx
Failed to restart approx.service: Unit approx.service not found.
root@mollydew:/home/rlh# systemctl status approx
Unit approx.service could not be found.
root@mollydew:/home/rlh#


Well, that's weird. I installed approx on a Debian 12 machine, and got
the same results you did. However:

root@tsalmoth:~# ll /lib/systemd/system/approx*
-rw-r--r-- 1 root root 165 Feb 12  2023 '/lib/systemd/system/approx@.service'
-rw-r--r-- 1 root root 167 Feb 12  2023  /lib/systemd/system/approx.socket
root@tsalmoth:~# systemctl status approx.service
Unit approx.service could not be found.


But here I cannot see approx.service, only approx@.service
(ie. service which can have multiple instances)


What if you issue:
systemctl status "approx@*.service"


It appears to run; no error message is produced, but no output, either.

But I am in not in familiar territory.

RLH



Re: approx in debian 12

2023-11-15 Thread Russell L. Harris

On Thu, Nov 16, 2023 at 07:48:44AM +0200, Anssi Saari wrote:

"Russell L. Harris"  writes:


root@mollydew:/home/rlh# systemctl daemon-reload
root@mollydew:/home/rlh# systemctl restart approx
Failed to restart approx.service: Unit approx.service not found.
root@mollydew:/home/rlh# systemctl status approx
Unit approx.service could not be found.
root@mollydew:/home/rlh#


Looks like there's a cron job and a socket for it in the package. So are
you sure you're even supposed to run it as a service? They do include an
approx@.service so you could run it as whichever user you want but it
makes me think that's not the idea here.

Maybe the documents in /usr/share/doc/approx give more information about
the intended usage. I've only taken a quick peek at the file list.


I am not familiar with the term "approx.service".  


I have not touched the approx server (running Debian 9) for a couple
of years or more.  It "just runs".  I have used the server without
change to the configuration files for netinstalls since Debian 8 or 9,
and the latest was to install Debian 12.

In the mirror selection of netinstall, I only have to type in the host
ip address and port:  "192.168.1.40:".

RLH



Re: approx in debian 12

2023-11-15 Thread Russell L. Harris

On Wed, Nov 15, 2023 at 10:55:51PM -0700, Charles Curley wrote:

Do you really need approx if you have only the one machine?


I install Debian for friends.  They are amazed at how fast their old
Windows machines run with Debian.  And approx has been a time saver
for me.

In the network mirror configuration step, all I have to type in is:

192.168.1.40:

I have not touched the approx server for a couple of years.

RLH



Re: approx in debian 12

2023-11-15 Thread Russell L. Harris

On Wed, Nov 15, 2023 at 10:23:45PM -0700, Charles Curley wrote:

On Wed, 15 Nov 2023 22:18:09 -0700
Charles Curley  wrote:


One thing I didn't like is that approx appears to require fiddling
with sources.list. apt-cacher-ng simply requires setting a proxy
value, in its own file in /etc/apt/apt.conf.d. E.g.:

root@hawk:/etc/apt/apt.conf.d# cat /etc/apt/apt.conf.d/02proxy
Acquire::http::Proxy "http://aptcacher.localdomain:3142;;
root@hawk:/etc/apt/apt.conf.d#


Or, even simpler, install auto-apt-proxy on your clients and let them
find your proxy. The package description says it works for approx. And
that worked!

--
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Thanks for checking, Charles.  My schedule does not allow me to work
on it until tomorrow evening.  However, can auto-apt-proxy be
specified during mirror selection with a netinstall?  That is my
primary need and use for approx.

A friend gave me his old Windows XP machine.  I installed on it Debian
12 with XFCE desktop.  I intend to use it to replace an old machine on
which is installed Debian 9, running a mail server (getmail) and an
approx server.

RLH



Re: approx in debian 12

2023-11-15 Thread Russell L. Harris

On Wed, Nov 15, 2023 at 07:41:03PM -0700, Charles Curley wrote:

On Thu, 16 Nov 2023 01:39:32 +
"Russell L. Harris"  wrote:


I installed approx in a Debian 12 system, but when I attempt to
restart it the error message appears "Unit approx.service not loaded."


Please show us a complete copy and paste of the transaction, from the
initial prompt and the command you entered, through to the following
prompt, inclusive.

Then, similarly for "systemctl status approx".

You may need to run "systemctl daemon-reload".



root@mollydew:/home/rlh# systemctl daemon-reload
root@mollydew:/home/rlh# systemctl restart approx
Failed to restart approx.service: Unit approx.service not found.
root@mollydew:/home/rlh# systemctl status approx
Unit approx.service could not be found.
root@mollydew:/home/rlh#



approx in debian 12

2023-11-15 Thread Russell L. Harris

I installed approx in a Debian 12 system, but when I attempt to
restart it the error message appears "Unit approx.service not loaded."

The approx man page (dated May 2011) says that approx is invoked by
inetd, but I think that in Debian 12 approx is invoked by systemctl or
systemd.

synaptic indicates that systemctl is available, but not installed.

RLH



local (lan) mirror - release not supported error

2023-11-06 Thread Russell L. Harris

For several years I have been running approx on a machine in the lan,
using it to install and update Debian for myself and friends.  I have
installed several releases, the last being release 12.2 on this
machine.

Because approx "just runs" trouble-free, I have forgotten the details of
the installation.  But now, trying to install
"debian-12.2.0-i386-netinst.iso", I get the error "release not
supported" error when I attempt to specify the local mirror
(192.168.1.40:).

RLH



Re: Debian for Celeron

2023-11-06 Thread Russell L. Harris

On Sun, Nov 05, 2023 at 08:36:43AM +0100, Marco M. wrote:

Am 05.11.2023 um 07:30:51 Uhr schrieb Russell L. Harris:


This kernel requires an x86-64 CPU, but only detected an i686 CPU.
Unable to boot - please use a kernel appropriate for you CPU.


You need the i386 image for your CPU.
Use that link to download it with BitTorrent:
https://cdimage.debian.org/debian-cd/current/i386/bt-dvd/debian-12.2.0-i386-DVD-1.iso.torrent


Marco, I thank you for the link.

I never had used BitTorrent, but I found and installed "biglybt" and
soon had the iso image.  I lost several hours messing around with
getting the iso image onto a USB stick.  And about five minutes ago,
my old Celeron booted into Debian 12.

I plan to use the machine either for "pi-hole" or for my weather
station running "weewx".

Again, thanks.

RLH



Re: mirror for debian 10

2023-11-05 Thread Russell L. Harris

On Sun, Nov 05, 2023 at 08:07:06AM +0100, Marco M. wrote:

Am 05.11.2023 um 06:32:10 Uhr schrieb Russell L. Harris:


I was under the impression that Debian 12 would not work on older
machines.  Am I mistaken?


It requires a i686 cpu (Pentium Pro or newer) despite the i386 in the
packaging system due to compatibility reasons.
You Celeron 1.7 GHz will satisfy that.


I thank you for the clarification.  All I need is, if possible, to get
Debian running on the machine.  The later the release, the better.

My thanks to all of you.

RLH



Re: mirror for debian 10

2023-11-05 Thread Russell L. Harris

On Sun, Nov 05, 2023 at 01:18:30AM -0500, Jeffrey Walton wrote:

I _think_ you can use , though I have never used
it for Debian. I have used similar repos for Fedora and Ubuntu.


I was under the impression that Debian 12 would not work on older
machines.  Am I mistaken?

I checked several archives which claimed to support older releases,
but I am not sure whether I tried archive.debian.org.

RLH




mirror for debian 10

2023-11-04 Thread Russell L. Harris

I need to install Debian on a old machine (1700 Mhz Celeron).  I
copied the installer image to USB stick and the installation appeared
to go properly until I tried without success to find a Debian mirror
which hosts Debian 10.

RLH



Re: How to compare contents of two folders against third one?

2023-11-02 Thread Russell L. Harris

fslint (no longer in Debian) and dupeguru may be of interest to you.
I have used both.

RLH



Re: automate resumption of session

2023-09-12 Thread Russell L. Harris

On Tue, Sep 12, 2023 at 10:40:43PM -0400, Stefan Monnier wrote:

   When I leave the office for the day, I typically shut down the
   computer.  Why? I never turn my computer off.


Same here, I always just suspend.


I wish I had that option.  But I live way out in the country, and now
and then there is a power outage.  My computer is running on a UPS,
but UPS batteries die after being run down more than a few times, and
battery replacement is expensive.  And then there are lightning
storms...


For those computers where I'm not coming back to them the next day,
I hibernate them, so they're truly "off" and a powercut is perfectly
harmless, but when I turn them back on I get back to where I was.


I have been using Debian since A.D.2000, but I never have been clear
on the use of suspend and hibernate.  If I am going to power-down the
computer, hibernate sounds good; but how do I resume?

RLH



Re: automate resumption of session

2023-09-12 Thread Russell L. Harris

On Tue, Sep 12, 2023 at 07:10:34PM -0600, Charles Curley wrote:

Don't do that. ...


Noted and now being implemented.  Many thanks, Charles.

RLH



Re: automate resumption of session

2023-09-12 Thread Russell L. Harris

On Tue, Sep 12, 2023 at 08:19:54PM -0400, Larry Martell wrote:

On Tue, Sep 12, 2023 at 8:15 PM Russell L. Harris  wrote

   When I leave the office for the day, I typically shut down the
   computer.  

Why? I never turn my computer off. 


I wish I had that option.  But I live way out in the country, and now
and then there is a power outage.  My computer is running on a UPS,
but UPS batteries die after being run down more than a few times, and
battery replacement is expensive.  And then there are lightning
storms...

RLH



automate resumption of session

2023-09-12 Thread Russell L. Harris

I am a writer.  I use Emacs and LaTeX markup on a Debian/XFCE system.
On a typical day, I have in progress three or four articles.  I may
work for several days on a given article.

Each article is in a separate XFCE workspace.  The text for each
article resides in its own directory.  For each article, I keep open
an instance of emacs, a terminal window from which I execute latex and
xdvi, and the xdvi window.

When I leave the office for the day, I typically shut down the
computer.  The next morning, the first order of business is to
recreate the previous working environment or ``session.''  For each
article, this entails:

(1) Click on the appropriate workspace button.

(2) Open an instance of emacs.

(3) In the emacs window, use the mouse to click on the icon to resize
the window.

(4) In emacs, open the file in the document directory.

(5) Open a terminal window.

(6) In the terminal window, use the mouse to click on the icon to
resize the window.

(7) In the terminal, cd to the document directory.

(8) In the terminal, execute ``xdiv ... &'' to display the document.

I would like write a script to automate the process, so that I need
only boot the computer and type RESUME; but my efforts have been
unsuccessful.

RLH



Re: git setup

2023-08-25 Thread Russell L. Harris

On Fri, Aug 25, 2023 at 09:54:02AM +0200, Loris Bennett wrote:

Does a bare remote to which you simply push not already provide you with
an adequate backup?  One you have made a number of commits, you can just
push them to the remote.


I am old and my fingers sometimes strike the wrong keys.  (In younger
days, I was a very skilled typist.)  And now and then, I manage to
make an entire paragraph or more disappear.

So, whether backups are manual or automated, my rule is (1) commit
frequently, and (2) backup with each commit.


However, I may have missed some of the intricacies of your scenario.
You seemed to imply that you don't have a bare remote, which I find
surprising.


I also have old computers (with old drives).  Moreover, I live out in the
country where power interruptions are common (thus, I power a computer
through a UPS).  These two factors are why I wish to have a backup
repository on a separate computer.

---

As best I understand it (and kindly correct me if I am mistaken), a
bare repository is a central repository used by a group of developers.
Each developer has his own repository, and no developer ``owns'' the
central repository.

But for me, the only purpose of the backup repository is to ensure
against data loss due to a catastrophic event such as drive failure on
my production host.

If pushing from PRODUCTION is more reliable or less trouble-prone than
pulling from BACKUP, kindly explain to me, and I shall change.

If a bare BACKUP is more reliable or less trouble-prone than
a non-bare BACKUP, kindly explain to me, and I shall change.

RLH



Re: git setup

2023-08-25 Thread Russell L. Harris

On Fri, Aug 25, 2023 at 07:24:59AM +0100, Tixy wrote:

On Thu, 2023-08-24 at 22:24 +, Russell L. Harris wrote:

#!/bin/bash
# post-commit
# 2023.08.24 2200gmt

ssh backup "git pull"
exit 0



You could omit the 'exit 0' so it returns the error code from the ssh
command, that way you'll get some feedback from failures to backup
which you would probably want to know about.


Thanks; I'll do it.  I have run Debian for over twenty years, but I
have much to learn.


I'm also a bit confused about doing it this way. The usual workflow
with git is to 'push' to the remote repository, which is in fact what
you originally asked how to do.


This particular exercise is aimed at automation; the impetus was a
change of hosts and a move to Debian 12.  I have been opening two
terminals, one on the local host and the other (via SSH) on the remote
host.  Whenever I think it is time to capture the state of the
document I am composing, I commit to the local repository, then I pull
the update into the remote repository.

To me, pull seemed natural, because the remote repository was cloned
from the local.  But if there is a reason to push, then I shall change.


As others pointed out, you push with the command 'git push' which you
could do in the hook script instead of 'ssh backup "git pull"'. But
whatever works for you I guess.


Sounds reasonable.


Note, if you ever edit commits then having an automated 'pull' or
'push' command will fail, as by default they will only do a fast-
forward operation. There are commandline options and config setups to
change this.


That's why I wrote the long description.  The purpose of the system is
to make backups as effortless as possible, and to allow me to
reconsider a paragraph or a page which I deleted yesterday or last
week.  Offhand, I don't know how to edit a commit, or why I would need
to.

RLH



Re: git setup

2023-08-24 Thread Russell L. Harris

On Tue, Aug 22, 2023 at 12:59:18AM -0400, Karl Vogel wrote:

   me% cat try
   #!/bin/sh
   export PATH=/usr/local/bin:/bin:/usr/bin
   ssh -q -c aes128-...@openssh.com -i $HOME/.ssh/bkup_ed25519 \
   bkup "logger -t autopull git pull whatever"
   exit 0


I am grateful for the recommendations.  The backup works as expected
if I keep a terminal window open and logged via SSH into the remote
host, and execute ``git pull''.  But I still have not managed to get
the git hook script running.

I decided to document the system and to give the document a title so
that it can be found by others trying to put together a similar
system.  Kindly suggest improvements in the title or the content.

---

USE OF GIT POST-COMMIT HOOK TO AUTOMATE SSH PULL OF A GIT REPOSITORY
FOR DOCUMENT BACKUP

(1) This is a git system running on a pair of Debian computers (LOCAL
and REMOTE) and serving a single user.  All git activity involves only
the MASTER branch; there is no branching or merging.  Routine
operations consist of COMMITS to the production repository on the
local host and PULLS into the backup repository on the remote host.
Passwordless SSH is used for data transfer.

(2) The primary purpose of the git system is archival and backup of
text documents, which are composed in LaTeX markup.  As a document
takes shape during composition, from time to time it is committed.  A
secondary purpose of the git system is to allow reference or
regression to an earlier stage in the development of a particular
document.

(3) SSH is configured for passwordless login to the remote host by the
local host.

(4) The PRODUCTION repository is
``192.168.1.85:/home/rlh/git.production''.

(5) The BACKUP repository is ``192.168.1.35:/home/rlh/git.backup''.

(6) The backup repository was cloned (non-bare) from the production
repository.  The git remote was assigned the alias ``backup''.

(7) A git hook script on the local host named ``post-commit'' calls
SSH on the backup host to pull the latest document version from the
production repository.  The script, the path of which is,
``.git/hooks/post-commit'', follows.  Note that the shebang line
specifies ``bash'', which is appropriate for a Debian/GNU Linux
system:

#!/bin/bash
# post-commit
# 2023.08.24 2200gmt

ssh backup "git pull"
exit 0



git setup

2023-08-21 Thread Russell L. Harris

After much searching and reading, I have not discovered how to set up
a pair of git repositories to work together.

I write articles for publication.  I typically spend anywhere from
several hours to many days on each article.  It is frustrating to work
for an hour or two on a paragraph or a page and then accidentally to
erase what I have written.

In the past, I have found git to be a very good solution.  But now I
am moving to a new computer, and I an having difficulty replicating
the previous setup.

My needs are simple.  I need two git repositories.

The first is my work space, into which periodically I commit the
article on which I am working.

The second repository is my backup; it resides on another machine.
Several times a day, I SSH into the backup machine and pull the
working repository.  It would be nice to be able to push from WORKING
to BACKUP, eliminating the need to SSH.

I cloned the WORKING repository from the old host, and the WORKING
repository appears to function correctly.  But I do not know how to
configure the BACKUP repository.  I tried the BARE option, but I am not
able to push from WORKING to BACKUP.

RLH



Re: Looking for a good "default" font (small 'L' vs. capital 'i' problem)

2023-08-20 Thread Russell L. Harris

On Sun, Aug 20, 2023 at 10:14:20PM +0200, Christoph K. wrote:

And I loathe fonts in which the numerals 3, 5, 6, and 9
are not radically different.


Interesting point. Didn't pay much attention to these numerals, yet.


Back in the 1970's, I ran across a detailed study of character shape
with respect to the problem of readability after photographic
reduction (microfilm and microfische) in hand-lettered engineering
drawings (24in x 36in).  Reading that study brought about a change in
my own handwriting.  The study was by a oil company; perhaps it was
Shell Oil.


That would be really interesting to read. Do you have any (more) hints on
how to find that study? Do you remember what change you did in your
handwriting?


If we (Texas, near Austin) end up with an Autumn with moderate
temperatures, I should have a copy in the boxes of papers stored in
the garage.  I need to sort and cull, anyway.  But within a few years
(circa A.D. 1980), computerized drafting was introduced and quickly
became dominant.  I think I was in the very last generation which
learned to letter by hand.

On the 3, 5, 6, and 9, open the end of the loops, and shorten the
horizontal stroke on top of the 5 so the 5 is not mistaken for an S.
Always put horizontal strokes on I.  Make the 1 with a flag on the
upper end and put a horizontal stroke on the 7, German-style.  My
handwriting is a odd mixture of cursive script and printing.

Years ago, in the days when you used pencil to write computer code on
a paper form, for conversion to punched cards by a keypunch operator,
I got used to writing zeros with a slash.  But if most of your writing
is numerals (as in spreadsheets), then you may prefer to slash the
alphabetic O.  


The keypunch operators used ``double-entry'' -- the code was typed a
second time by a different operator, to guard against error.  I read
somewhere that the double-entry scheme is used for obtaining an
accurate digital version of material which originally was typeset by
hand.  And, that better accuracy is obtained if the language of the
document is foreign to the typists.

RLH



Re: Looking for a good "default" font (small 'L' vs. capital 'i' problem)

2023-08-19 Thread Russell L. Harris

bumper sticker:  DYSLEXICS UNTIE!



Re: Looking for a good "default" font (small 'L' vs. capital 'i' problem)

2023-08-19 Thread Russell L. Harris

I am a XFCE user with a similar taste in fonts, but I have no need for
umlaut.

I am concerned primarily with the distinction between numeral 1 and
lower case L.  And I loathe fonts in which the numerals 3, 5, 6, and 9
are not radically different.  


Back in the 1970's, I ran across a detailed study of character shape
with respect to the problem of readability after photographic
reduction (microfilm and microfische) in hand-lettered engineering
drawings (24in x 36in).  Reading that study brought about a change in
my own handwriting.  The study was by a oil company; perhaps it was
Shell Oil.

For Debian, I searched by opening EDIT > PREFERENCES > APPEARANCE in a
terminal.  I currently am using `go mono regular'.  But `liberation
mono regular' looks promising.

RLH

--
He turneth rivers into a wilderness, and the watersprings into dry
ground; a fruitful land into barrenness, for the wickedness of them
that dwell therein. - Psalm 107:33-34



Re: Thunderbird vs Claws Mail

2023-08-15 Thread Russell L. Harris

Consider evolution.



Re: Feeds aren't yet dead (Was: Re: perl module listgarden)

2023-08-03 Thread Russell L. Harris

On Thu, Aug 03, 2023 at 05:29:33PM +, Andy Smith wrote:

Hello,

On Thu, Aug 03, 2023 at 03:07:47AM +, Russell L. Harris wrote:

For that matter, is RSS still in use?


$ r2e list | wc -l
72


Andy, I don't understand; kindly explain.

I have a blog and a web site, both of which I create with make4ht, so
they have no RSS feed.  Of course, everyone else uses WordPress, which
can produce a RSS feed.  But I compose with LaTeX as my markup
language, and (the last I checked) LaTeX is only marginally-compatible
with WordPress.

But I am a dinosaur, and I am not sure that RSS still is vital or even
helpful to a web site; therefore my query.

RLH



Re: perl module listgarden

2023-08-02 Thread Russell L. Harris

On Wed, Aug 02, 2023 at 03:18:12PM -0700, David Christensen wrote:

On 8/2/23 14:03, Russell L. Harris wrote:

I have not used Perl for several years, and I do not know how to
proceed.
I am trying to install Dan Bricklin's RSS feed generator, ListGarden.

metacpan.org cannot find the listgarden module.

Here is the output:

perl listgarden.pl
Can't locate ListGarden.pm in @INC (you may need to install the
ListGarden module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.32.1
/usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base
/usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32
/usr/local/lib/site_perl) at listgarden.pl line 21.
BEGIN failed--compilation aborted at listgarden.pl line 21.


ListGarden does not appear to be a Debian package:

https://packages.debian.org/search?keywords=LIstGarden=names=all=all


MetaCPAN is unable to find ListGarden:

https://metacpan.org/search?size=20=ListGarden

STFW "ListGarden" I see:

http://www.softwaregarden.com/products/listgarden/

Under "How to get it", follow the link "Generic Perl Version":

http://www.softwaregarden.com/products/listgarden/plainperl.html

The instructions do not mention a Makefile.PL or Build.PL, so it 
appears that you will need to install distribution files, adjust the 
PERL5LIB environment variable, configure your services/ apps, etc., 
manually.


Thanks, David.  I did follow the plainperl.html link.  All the files
came from Dan Bricklin's ListGarden web site.

Perhaps the Perlmongers mail list still is active.

For that matter, is RSS still in use?

RLH



perl module listgarden

2023-08-02 Thread Russell L. Harris

I have not used Perl for several years, and I do not know how to
proceed.  


I am trying to install Dan Bricklin's RSS feed generator, ListGarden.

metacpan.org cannot find the listgarden module.

Here is the output:

perl listgarden.pl
Can't locate ListGarden.pm in @INC (you may need to install the
ListGarden module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.32.1
/usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base
/usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32
/usr/local/lib/site_perl) at listgarden.pl line 21.
BEGIN failed--compilation aborted at listgarden.pl line 21.

--
He turneth rivers into a wilderness, and the watersprings into dry
ground; a fruitful land into barrenness, for the wickedness of them
that dwell therein. - Psalm 107:33-34



Re: Recommendations for a UPS?

2023-07-31 Thread Russell L. Harris

On Mon, Jul 31, 2023 at 12:23:46PM -0500, Tom Browder wrote:

I used to use UPS units from APC back when you could replace the battery. I
haven't had an UPS (but always on a surge protecter) for awhile, but
electricity (now FPL) is not as reliable in my new location and I need one.

All the reviews I've seen on Amazon for smaller capacity UPSs for APC and Tripp
Lite are not that great (I usually concentrate on the one- and two-star
reviews).

Any recommenndations from fellow Debian folks?

Thanks.

-Tom


Experience with APC:  every one died emitting smoke

Experience with Tripp Lite:  five have been in daily use for years;
finally had to replace the batteries

Experience with Eaton/Powersonic (new owner of Tripp Lite): had to
scrap an expensive sinusoidal output unit because a proprietary
component failed and PowerSonic discontinued support.

RLH
--
He turneth rivers into a wilderness, and the watersprings into dry
ground; a fruitful land into barrenness, for the wickedness of them
that dwell therein. - Psalm 107:33-34



hplip on debian 11

2023-04-11 Thread Russell L. Harris

A few weeks ago, I installed Debian 11 on a Dell Vosotro-200 belonging
to a friend.  I installed the hplip package and used hp-setup, which
successfully got an old HP ink jet printer working on the system.

The friend also has a Dell Optiplex 330, on which I installed Debian
11 a few months ago.  He wished to move the inkjet printer to the
Optiplex, so, using synaptic, I tried to install hplip on the
Optiplex.  However, the SEARCH function of synaptic could find no
match for ``hplip''.

I was able to execute RELOAD, MARK ALL UPGRADES, and APPLY on the
Optiplex and upgraded chromium.  


The repository is:

deb http://ftp.debian.org/debian stable main contrib non-free



Re: change synaptic repositories

2023-03-15 Thread Russell L. Harris

On Wed, Mar 15, 2023 at 04:50:56PM -0400, Dan Ritter wrote:

Russell L. Harris wrote:

Where can I find a list of URLs for Synaptic repositories such as that
displayed by the installer?

I need to switch from a local Approx repository to one of the
publically-accessible repositories such as maintained by debian.org.


Regardless of what interface you are using (apt, apt-get,
aptitude, synaptic...) the repos are defined in
/etc/apt/sources.list
and
/etc/apt/sources.list.d/*

-dsr-


But those contain only the repositories selected for the installation.



Re: change synaptic repositories

2023-03-15 Thread Russell L. Harris

On Wed, Mar 15, 2023 at 08:57:16PM +, Andrew M.A. Cater wrote:

On Wed, Mar 15, 2023 at 08:47:54PM +, Russell L. Harris wrote:

Where can I find a list of URLs for Synaptic repositories such as that
displayed by the installer?

I need to switch from a local Approx repository to one of the
publically-accessible repositories such as maintained by debian.org.



Synaptic is a front end to apt so:

https://wiki.debian.org/SourcesList

All the best,

Andy Cater


Thank you! That page provided the URL of the list I needed, which is:

https://www.debian.org/mirror/list



change synaptic repositories

2023-03-15 Thread Russell L. Harris

Where can I find a list of URLs for Synaptic repositories such as that
displayed by the installer?

I need to switch from a local Approx repository to one of the
publically-accessible repositories such as maintained by debian.org.

--
He turneth rivers into a wilderness, and the watersprings into dry
ground; a fruitful land into barrenness, for the wickedness of them
that dwell therein. - Psalm 107:33-34



Re: does your Thunderbird for deb11 often become unresponsive?

2023-03-05 Thread Russell L. Harris

On Mon, Mar 06, 2023 at 03:26:15AM +, piorunz wrote:

On 05/03/2023 20:26, Russell L. Harris wrote:

Thunderbird under Debian 11 gave minor miscellaneous problems from
time to time.


Can't reproduce. If you have exact problem, please describe and/or 
fill a bug.
Disclaimer: I use TB for about 10 years and don't have any 
"miscellaneous problems" or "lost e-mails".


My normal email client is mutt.  I forward some HTML messages to
Thunderbird and get some mail directly to Thunderbird.  I do not
recall the problems, because I do not use Thunderbird for critical mail.


But when Thunderbird lost a couple of messages


I did lose two or three messages which I did not delete.  That
disturbed me.  And that instance provided the impetus to search for an
alternative.  I found Evolution, and I find it easier to use than
Thunderbird.  All I am saying is that Evolution is a good alternative
to Thunderbird.



Re: does your Thunderbird for deb11 often become unresponsive?

2023-03-05 Thread Russell L. Harris

Thunderbird under Debian 11 gave minor miscellaneous problems from
time to time.  But when Thunderbird lost a couple of messages, I
switched to Evolution.  Now I have no more problems and I prefer
the features Evolution; I wish I had discovered Evolution long ago.

--
He turneth rivers into a wilderness, and the watersprings into dry
ground; a fruitful land into barrenness, for the wickedness of them
that dwell therein. - Psalm 107:33-34



CUPS printer on Debian 11.6

2023-02-05 Thread Russell L. Harris

Fresh installation of Debian 11.6 on Dell Vostro 200 (Intel Core 2).

The Vostro 200 is being added to a home LAN with Debian 11.6 running
on a nondescript desktop (amd64) and a HP Laserjet P3015 Postscript
(Ethernet).  The amd64 machine works perfectly with the P3015.

The printer configuration on both machines appears identical:

   DRIVER: HP LaserJet Series PCL 6 CUPS (grayscale)
   
   Connection:  socket://192.168.1.211:9100


(1) The printer installs on Vostro 200 but does not print.

(2) Should I install the P3015 as generic Postscript printer?

(3) I cannot make sense of the new CUPS "driverless" scheme.
Does it make my Postscript printers obsolete?



--
He turneth rivers into a wilderness, and the watersprings into dry
ground; a fruitful land into barrenness, for the wickedness of them
that dwell therein. - Psalm 107:33-34



Re: dell latitude 3510 - bios settings to boot debian netinst

2023-01-22 Thread Russell L. Harris

On Sun, Jan 22, 2023 at 10:47:02PM -0500, Jeffrey Walton wrote:

On Sun, Jan 22, 2023 at 9:51 PM Russell L. Harris  wrote:

On Sun, Jan 22, 2023 at 05:49:30PM -0800, David Christensen wrote:
>On 1/19/23 19:43, Russell L. Harris wrote:
>>I have not figured out how to configure the BIOS of a Dell Latitude
>>3510 to cause it to see and boot from a Debian netinst image (Debian

The Latitude 3510 was released in 2020. I doubt it is a 32-bit
architecture, like early Pentiums.


Actually, I received three old laptops.  I got Debian 11 running on
one of them; the BIOS reports:

Inspiron 3542
Intel Core i5-4210U
ram = DDR3L

No indication of 32-bit or 64-bit.

P.S.  The Latitude 3510 has a COREi5 sticker by the keyboard.

RLH



Re: dell latitude 3510 - bios settings to boot debian netinst

2023-01-22 Thread Russell L. Harris

On Sun, Jan 22, 2023 at 05:49:30PM -0800, David Christensen wrote:

On 1/19/23 19:43, Russell L. Harris wrote:

I have not figured out how to configure the BIOS of a Dell Latitude
3510 to cause it to see and boot from a Debian netinst image (Debian
11) written to USB flash (8Gbyte Patriot).
For newer computers with UEFI firmware and Secure Boot, I use the 
"amd64" architecture version of the Debian Installer -- e.g.:


   debian-11.3.0-amd64-netinst.iso


1) Does this work on an Intel Pentium machine?

2) So I turn on Secure Boot?

RLH



Re: dell latitude 3510 - bios settings to boot debian netinst

2023-01-20 Thread Russell L. Harris

On Fri, Jan 20, 2023 at 09:27:39AM -0600, David Wright wrote:

On Fri 20 Jan 2023 at 05:23:06 (+), Russell L. Harris wrote:

On Thu, Jan 19, 2023 at 10:18:33PM -0600, David Wright wrote:
> On Fri 20 Jan 2023 at 03:43:09 (+), Russell L. Harris wrote:
> > I have not figured out how to configure the BIOS of a Dell Latitude
> > 3510 to cause it to see and boot from a Debian netinst image (Debian
> > 11) written to USB flash (8Gbyte Patriot).

BTW you don't say whether you've ever booted it from any kind of stick.


The machine was a gift; this is my first experience with a laptop of
recent manufacture. 


The Service Manual latitude-3510-sm-en-us.pdf (p88/9) says
 ??? Enable USB Boot Support - Allows the system to boot
   from an external USB device (Enabled by default)
 ??? Enable External USB Ports - Allows the user to enable
   or disable the USB ports on the computer (Enabled by
   default)


I checked those.


Page 87 (p89/90 also relevant) explains that you can turn on booting
from an mSD card.

It's worth trying a variety of sticks, and in every available port,
lest it's USB2/3, or just some other inexplicable incompatibility.
I've had laptops showing that behaviour.


This flash stick has booted other machines.

mSD sounds promising.

RLH



Re: dell latitude 3510 - bios settings to boot debian netinst

2023-01-20 Thread Russell L. Harris

On Fri, Jan 20, 2023 at 12:28:21PM +, Andrew M.A. Cater wrote:

On Fri, Jan 20, 2023 at 05:23:06AM +, Russell L. Harris wrote:

On Thu, Jan 19, 2023 at 10:18:33PM -0600, David Wright wrote:
> On Fri 20 Jan 2023 at 03:43:09 (+), Russell L. Harris wrote:
> > I have not figured out how to configure the BIOS of a Dell Latitude
> > 3510 to cause it to see and boot from a Debian netinst image (Debian
> > 11) written to USB flash (8Gbyte Patriot).
The problem is that the "one-time menu" does not include the flash
device.

How did you create the flash device - what command did you use?


After downloading the official netinst iso image, I copied it to the
flash stick (I routinely do netinst of Debian):

# cp debian-11.6.0-i386-netinst.iso /dev/sdb
# sync



Re: dell latitude 3510 - bios settings to boot debian netinst

2023-01-19 Thread Russell L. Harris

On Thu, Jan 19, 2023 at 10:18:33PM -0600, David Wright wrote:

On Fri 20 Jan 2023 at 03:43:09 (+), Russell L. Harris wrote:

I have not figured out how to configure the BIOS of a Dell Latitude
3510 to cause it to see and boot from a Debian netinst image (Debian
11) written to USB flash (8Gbyte Patriot).


Typically you'd tap away at F12 after turning it on, and that would
give you a one-time menu for where to boot from.


The problem is that the "one-time menu" does not include the flash
device.



The F12 facility can be turned off, in which case you'd have to
tap away at F2 instead, which would give you access to the full
BIOS. The Boot Sequence will be somewhere in there, like (D430):

 Boot Sequence

 1  USB Storage Device
 2  CD/DVD/CD-RW Drive
 3  Diskette Drive
 4  Internal HDD

Cardbus NIC
D/Dock PCI slot NIC
Onboard NIC


Neither do the BIOS screens include the flash device.

Boot Sequence

[X] UEFI ST500LM034

(+) Add Boot Option

I have searched with Google without success.  The BIOS of this machine
offers an order of magnitude more options than does the BIOS of other
Dell machines.  Regrettably, many of the parameters are not
explained.

RLH



dell latitude 3510 - bios settings to boot debian netinst

2023-01-19 Thread Russell L. Harris

I have not figured out how to configure the BIOS of a Dell Latitude
3510 to cause it to see and boot from a Debian netinst image (Debian
11) written to USB flash (8Gbyte Patriot). 


RLH
--
He turneth rivers into a wilderness, and the watersprings into dry
ground; a fruitful land into barrenness, for the wickedness of them
that dwell therein. - Psalm 107:33-34



replace corrupted emacs aspell dictionary

2022-08-12 Thread Russell L. Harris

I managed to approve incorrect spellings for several words in the
Emacs aspell dictionary.

How can I replace the corrupted dictionary with a pristine copy?

--
He turneth rivers into a wilderness, and the watersprings into dry
ground; a fruitful land into barrenness, for the wickedness of them
that dwell therein. - Psalm 107:33-34



Re: error using synaptic UPGRADE/INSTALL

2022-06-13 Thread Russell L. Harris

On Mon, Jun 13, 2022 at 06:46:02PM -0500, David Wright wrote:

On Mon 13 Jun 2022 at 12:38:37 (+0100), Brad Rogers wrote:

On Mon, 13 Jun 2022 07:24:07 -0400 Greg Wooledge wrote:
>On Mon, Jun 13, 2022 at 04:58:44AM +0000, Russell L. Harris wrote:
>> I suppose I should have shut down some of processes before running
>> Synaptic.
>That shouldn't be necessary.


While I would generally concur, I would not advise, for example,
performing the monthly firefox upgrade while the browser is running.


Indeed.  It seems more likely that the problems arose because Synaptic
was forcefully terminated.  Of course, it may have been necessary due to
a (now) unknowable problem.

It would be helpful (maybe) to know how long Russell waited before
performing the reset after Synaptic hung.  Too late now, but it might
simply have been performing complex 'bookkeeping' tasks.  For example,
occasionally, I've seen initrd.img being written out more than once
during an update (although not recently).  That can take time.


Over the weekend, both ntfs-3g and linux-image-5.10.0 were upgraded,
though I split them because I happened to upgrade ntfs-3g just after
midnight Friday. A weekly upgrade might upgrade both at the same time.

>

I would also point out that a pair of upgrades like this would be
split if you normally upgrade (in apt-get's parlance), but then
dist-upgrade because you see a new kernel image being held back.

But AFAICT, apt-get does not appear to try to avoid generating initrd
twice in the same step. For example, in April, both apparmor and
linux-image-5.10.0 caused initrd regeneration on this PC in one step.

Not being a synaptic user, I don't know whether it informs users of
what it is doing (other than through the logs), but I would have
thought it ought to.


If I recall correctly, the system became unresponsive.  I've gotten
lazy because I seldom have a problem with Synaptic.  But it is easy
enough to close files before starting the download+install,
particularly if it involves a kernel upgrade.

RLH



Re: error using synaptic UPGRADE/INSTALL

2022-06-12 Thread Russell L. Harris

On Sun, Jun 12, 2022 at 11:27:04PM -0500, David Wright wrote:

The fact that your working directory is a user's (yours?), and
???sbin directories are not in your $PATH suggests you might have
become root using "su" and not "su -" or "su --login". Try one
of these instead. (The change to su's semantics gets discussed
here fairly regularly.)


Thanks, David.  It worked.

That occurred to me when I first typed "su", but then I forgot to go
back and try.  Now I can sleep tonight without worrying about it.

I suppose I should have shut down some of processes before running
Synaptic.

RLH



error using synaptic UPGRADE/INSTALL

2022-06-12 Thread Russell L. Harris

Debian 11 AMD

At the end of my weekly UPGRADE session using synaptic, the system
hung.  I restarted using the hardware RESET button.  The system
booted and found a number of orphaned nodes.

When I started synaptic a message was displayed that I needed to run 
dpkg --configure -a.  When I ran that command, the following message

is displayed:

root@penelope:/home/rlh# dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin

Running dpkg again gives the same result.

Should I continue to run the system, or do I need to reinstall?

RLH



Re: perl listgarden module

2022-06-01 Thread Russell L. Harris

On Wed, Jun 01, 2022 at 01:08:50PM +, Andy Smith wrote:

Hi Russell,

On Mon, May 30, 2022 at 02:39:21AM +, Russell L. Harris wrote:

I am attempting to run the ListGarden RSS generator on Debian 11.
Perl 5 (version 32) needs the ListGarden module.


There is no such published module that I can find, so it seems
likely that this is part of ListGarden itself and you just haven't
installed it properly. I've no experience with ListGarden so can't
help there. I suggest seeking help from the authors or the
ListGarden user community.

Cheers,
Andy

--
https://bitfolk.com/ -- No-nonsense VPS hosting


Thanks, Andy, you are right.  Listgarden is now running on my machine,
and I am quite happy with the features and ease of use.   By the way,
Listgarden is the product of Dan Bricklin, co-developer of Visi-Calc,
the first spreadsheet.

RLH



perl listgarden module

2022-05-29 Thread Russell L. Harris

I am attempting to run the ListGarden RSS generator on Debian 11.
Perl 5 (version 32) needs the ListGarden module.  Meta::cpan does not
recognize the module name.

I am trying to implement a RSS (or Atom) feed on an blog I am
generating with make4ht.

RLH

--
He turneth rivers into a wilderness, and the watersprings into dry
ground; a fruitful land into barrenness, for the wickedness of them
that dwell therein. - Psalm 107:33-34



Re: firefox misbehaviour

2022-05-21 Thread Russell L. Harris

On Sat, May 21, 2022 at 07:57:29AM +0200, Hans wrote:

Does this help?


Yes.  Noted and filed for reference.  Thanks.

I changed several items under SETTINGS and that helped, but I don't
understand the interactions.

RLH



Re: weather station

2022-05-21 Thread Russell L. Harris

On Sat, May 21, 2022 at 03:57:50PM +0800, Bret Busby wrote:
Whilst you conspicuously omit indication of where you are located, I 
have found that, here in Australia, the weather bureau  has gone 
malicious, and blocks access where a web site visitor tries to reload 
a web page in less than a (unknown) specified period of time, which is 
somewhere around four hours after the web page was last reloaded.


I have found using the pws dashboard for a local weather station on 
the Weather Underground, to be both more reliable, and, more localised 
(e.g., for me, 
https://www.wunderground.com/dashboard/pws/IWESTERN754), as the local 
Weather Underground is within about a kilometre, and, the weather 
bureau closest weather station, is about 10-15 kilometres away. The 
Weather Underground PWS dashboard updates, usually,about every 10-20s, 
I think.


--
Bret Busby
Armadale
West Australia
(UTC+0800)


Hi, Bret.  I am in central Texas, a little southeast of Austin.  My
weather station is at alysonwonderland.org.

The weather bureau web site does not restrict access:

https://forecast.weather.gov/MapClick.php?CityName=Smithville=TX=EWX=30.0077=-97.1566

I considered wunderground.com, but the last time I checked, it seemed
to me that wunderground "boilerplate" was too restrictive.  So I have
been paying for hosting and have been running the open-source weewx
package for several years.

My hardware is Davis, which has proved reliable.  The only failures
have been a bad supercapacitor, loss of an anemometer cup in a
hailstorm, loss of windvane signal due to a lightning strike, and an
anemometer shaft slowed by a spider web.  Each problem has been subtle
and has necessitated a bit of detective work, but Davis support in
diagnosis has been exceptional.

RLH



Re: firefox misbehaviour

2022-05-21 Thread Russell L. Harris

On Fri, May 20, 2022 at 10:18:59PM -0700, David Christensen wrote:

I am unfamiliar with "TAB AUTO REFRESH icon (and function)".


TAB AUTO REFRESH is an extension which automatically reloads the
current page every [specified number of] seconds.

I use it to refresh the weather bureau forecast web page about once an
hour and the web page for my personal weather station about every five
minutes.

When installed, TAB AUTO REFRESH displays an icon with a countdown of
the number of seconds until the next refresh.  Clicking on the icon
brings up a window for resetting the refresh interval.

RLH



firefox misbehaviour

2022-05-20 Thread Russell L. Harris

Is anyone else having trouble with firefox over the past week?

At first I noticed that NEW WINDOW sometimes was absent from the menu
(FILE > NEW WINDOW).  Then, some bookmarks went missing.  Now the TAB
AUTO REFRESH icon (and function) has vanished and does not reinstall.

Debian 11, firefox 91.9.0esr (64-bit)

RLH

--
Woe unto them that call evil good, and good evil; that put darkness
for light, and light for darkness; that put bitter for sweet, and
sweet for bitter! - Isaiah 5:20



webcamd

2022-03-21 Thread Russell L. Harris

I am having only limited success configuring the Debian webcamd
package.

I wish to display images from a Logitech web cam pointing out the
window as a weathercam, uploading a new image about once a minute.  I
plan to upload the images to a subdirectory "webcam" of my weather
website, www.example-weather.org/webcam.

I am running Debian 11; but I also have machines running Debian 10 and Debian
9.

I would like first to get things running in Apache on localhost before
uploading to a shared host on hostgator.com.  Ideally, the image would
be on both.

The example webcamd.conf calls for a font named "clean" to write dates
on the pictures, but "fc-list" does not show "clean" installed.  I
have tried to specify "Monospace Regular" but that does not seem to
work.  


My latest effort has the index_up.html and index_down.hthl displaying,
but no photo.  I also had the photo displaying without a date.

Is there a webcam application more suitable for this application?  


RLH

--
How should one chase a thousand, and two put ten thousand to flight,
except their Rock had sold them, and the Lord had shut them up?
- Deuteronomy 32:30



Re: Simple and secure blogging software for nginx

2022-03-11 Thread Russell L. Harris

On Fri, Mar 11, 2022 at 08:19:02AM -0500, songbird wrote:

Christian Britz wrote:
...

Thank you, I allow my self to reply on the list.
I heard that WordPress is very common, but I fear it might be oversized
for my public diary about moving to a new town, which I plan to write.
And it is very often in the news with security holes... Don't want some
bad person to manipulate my cute tiny Raspi, now that it has finally
moved to pure Debian. ;-)

I want the solution to be in the repository to benefit from
unattended-upgrades.



 i use hugo for my website.  but hugo is not nginx.


Christian is talking about three different projects, each of which is
demanding of time.

Securing and maintaining a web server is a difficult matter.  But when
you can purchase hosting for US$4 per month, is it worth your while?

Maintaining a blogging engine is a wholly different matter.  And most people are
looking for an engine which is requires little or no maintenance
(Blosxom, for example) and is simple and natural to use.  WordPress
began as a blogging engine, but quickly morphed into an all-consuming
religion.  


Writing a public diary about moving to a new town is yet another
matter, and should not be constrained by either the blogging engine
or the web server.  That task can easily consume all of your time.  


You need to decide on your primary goal and focus upon that.

RLH



Re: Simple and secure blogging software for nginx

2022-03-10 Thread Russell L. Harris

I am a long-time user of Debian, Emacs, and LaTeX.  I began blogging
with version 1.0 of WordPress, but soon I grew weary of the constant
need to upgrade.  Over the years I have tried many (if not most) of
the blogging engines, hoping to find a static engine which could read
LaTeX markup.  I even tried Blosxom; it was better than many.

But not until this year "habe ich Nirvana erreichtet."  (Forgive my
poor deutsch; I am attempting to quote Hermann Hesse, Siddhartha.")
The key is that I am using "make4ht" to invoke "text4ht".

This allows me to compose in LaTeX and provides me with a set of .html
files (and even a .css file) which I upload to a hosting service.  One
hosting service I use runs Apache; the other runs Nginx.  Both work.

In LaTeX, I use "report.cls" for the blog; each blog posting is a
chapter.  The postings are listed in a table of contents.  Adding a
new post involves a run of my script "make.blog":

make4ht -c config.cfg -d blog-url blog-url.tex

Life is too short to mess around with a markup language other than
LaTeX.  Work always in LaTeX.

RLH

--
How should one chase a thousand, and two put ten thousand to flight,
except their Rock had sold them, and the Lord had shut them up?
- Deuteronomy 32:30



Re: sparse dictionary

2022-01-30 Thread Russell L. Harris

On Sun, Jan 30, 2022 at 10:36:57PM -0500, The Wanderer wrote:

I discovered dictfmt and dictunformat, which seem to be applicable.

But I do not know where in Debian (Debian 9) to look for the
moby-thesaurus file.

RLH



Re: sparse dictionary

2022-01-30 Thread Russell L. Harris

On Sun, Jan 30, 2022 at 08:28:29PM -0500, Greg Wooledge wrote:

On Mon, Jan 31, 2022 at 12:52:36AM +, Russell L. Harris wrote:

On Sun, Jan 30, 2022 at 07:32:26PM -0500, Greg Wooledge wrote:
> On Sun, Jan 30, 2022 at 11:53:26PM +0000, Russell L. Harris wrote:
> > On Mon, Jan 31, 2022 at 08:41:07AM +1100, Charlie wrote:
> > > On Sun, 30 Jan 2022 19:18:42 +0000
> > > "Russell L. Harris"  wrote:>



Well... according to packages.debian.org, dict-moby-thesaurus only exists
in oldstable and oldoldstable.  So, Debian 9 and 10.

<https://tracker.debian.org/pkg/dict-moby-thesaurus> shows the dates
it was removed from unstable and from testing.

<https://tracker.debian.org/news/1161371/removed-10-64-from-unstable/>
shows that it was removed because:

RoQA; dead upstream (10+ years); python2-only; no extrenal deps; extremely low 
popcon


Thanks for taking the time to trace out the cause.  It truly is a sad
loss.

I wish I knew enough about Python to know how much work it would take
to make the data base compatible with Python 3 (or whatever dictionary
currently is running on).  Meanwhile, it is back to Roget.

RLH



Re: sparse dictionary

2022-01-30 Thread Russell L. Harris

On Sun, Jan 30, 2022 at 07:32:26PM -0500, Greg Wooledge wrote:

On Sun, Jan 30, 2022 at 11:53:26PM +, Russell L. Harris wrote:

On Mon, Jan 31, 2022 at 08:41:07AM +1100, Charlie wrote:
> On Sun, 30 Jan 2022 19:18:42 +
> "Russell L. Harris"  wrote:
>
> > Synaptic no longer shows the several "gazeteer" entries, and I do not
> > find "moby thesaurus".
>
> Don't know, dict-moby-thesaurus is here

My synaptic (0.90.2) cannot find it.  Debian 11.2.


What is "gazeteer"?  Is that an Ubuntu thing?  (This is not an Ubuntu
mailing list.)


gazetter - A geographical dictionary; a book giving the names and
  descriptions, etc., of many places.  [1913 Webster]

P.S.  As a long-time Debian user (I started with Potato), I have no
use for Ubuntu.



Re: sparse dictionary

2022-01-30 Thread Russell L. Harris

On Mon, Jan 31, 2022 at 08:41:07AM +1100, Charlie wrote:

On Sun, 30 Jan 2022 19:18:42 +
"Russell L. Harris"  wrote:


Synaptic no longer shows the several "gazeteer" entries, and I do not
find "moby thesaurus".


Don't know, dict-moby-thesaurus is here


My synaptic (0.90.2) cannot find it.  Debian 11.2.



sparse dictionary

2022-01-30 Thread Russell L. Harris

With respect to the dictionary and thesaurus, something has changed
between Debian releases 9 and 11; it seems that a great many words are
missing.  The problem is not spelling; the spelling checker reports
"correctly spelled".  


Synaptic no longer shows the several "gazeteer" entries, and I do not
find "moby thesaurus". 


In default search method I have selected local host, and localhost for
the server.  I need the ability to use the system when not connected
to the Internet.  


Is the current revision of the dictionary application unable to read
all of the old databases?

RLH

--
How should one chase a thousand, and two put ten thousand to flight,
except their Rock had sold them, and the Lord had shut them up?
- Deuteronomy 32:30



dvorak keymap misconfigured in bullseye

2021-12-19 Thread Russell L. Harris

I installed release 11.2 for amd64.  In the installer, I asked for the
Dvorak keymap and XFCE desktop.  After a successful install, I used
Applications Menu > Settings > Keyboard and then > Variants to select
the "Classic" Dvorak keymap.

The change was not effective, even after rebooting; the default Dvorak
keymap is still in effect.  I attempted to switch to English (US),
but that too was ineffective.  And now the Variant tab brings
up the
ADD menu.   


--
How should one chase a thousand, and two put ten thousand to flight,
except their Rock had sold them, and the Lord had shut them up?
- Deuteronomy 32:30



Re: First time WINE user looking for tutorial

2021-10-10 Thread Russell L. Harris

On Sun, Oct 10, 2021 at 02:05:20PM -0700, Patrick Bartek wrote:

I use VirtualBox for my VM needs, but why would you need to: Google
Earth has versions that run natively on Windows, OSX and Linux or you
can run it in most any web browsers -- https://earth.google.com/ --
regardless of OS.


It has been several years since I had need for Earth.  Thanks for the
update.

RLH



Re: First time WINE user looking for tutorial

2021-10-09 Thread Russell L. Harris

On Sat, Oct 09, 2021 at 08:24:38AM -0700, Patrick Bartek wrote:

On Sat, 9 Oct 2021 09:40:21 -0500
Richard Owlett  wrote:



Just be forewarned, WINE is not the catchall solution to running
Windows apps: The more involved codewise the program is like games or
Photoshop, the more problems you'll have. In those cases, just run
Windows in a virtual machine which is what I do for ALL Windows apps I
need. Less or virtually no gotchas!


Richard, Can you recommend a virtual machine for Debian which can run
Google Earth?


--
How should one chase a thousand, and two put ten thousand to flight,
except their Rock had sold them, and the Lord had shut them up?
- Deuteronomy 32:30



Re: Ot: 6 or 7 nights to download a CD

2021-10-08 Thread Russell L. Harris

On Fri, Oct 08, 2021 at 11:23:46AM -0400, Cindy Sue Causey wrote:

There was one download manager that sold itself because it focused on
being able to continue on without having to restart the download.
Whatever that one in-browser manager was, that was my HERO for a
number of years... until I discovered wget. Once in a while there will
be a "gatekeeper" (cookie reliant) instance where wget also doesn't
work still and though.


I have not followed this thread, but hopefully someone mentioned jigo
-- the jigsaw downloader.

RLH


--
How should one chase a thousand, and two put ten thousand to flight,
except their Rock had sold them, and the Lord had shut them up?
- Deuteronomy 32:30



Re: usb audio interface recommendation

2021-09-29 Thread Russell L. Harris

On Wed, Sep 29, 2021 at 03:12:06AM +, ghe2001 wrote:

production; I have heard that older FocusRite interfaces work in
Linux.



So do new ones :-) I'm using one (last version, I think) with my
Supermicro AMD64 Buster.  Alsamixer sees it and selects it, and
Audaciy is happy with it.  Linux seems to call it Scarlett.


Thanks, Glenn.  I started to by a Scarlett, my dealer insisted on
selling me a MOTU M2 because MOTU claims "class compatibility" (as it
turns out, for Macintosh only).  The build quality of the MOTU is
impressive, but it has problems (noise) on every Linux machine I have
tried with it.  So tomorrow the MOTU gets returned for a Scarlett.

In addition to the Lexicons, a Shure X2U "just works" with Debian.

RLH



Re: usb audio interface recommendation

2021-09-29 Thread Russell L. Harris

On Wed, Sep 29, 2021 at 10:15:27AM +0200, Linux-Fan wrote:


I am using an SSL 2 here:
https://www.solidstatelogic.com/products/ssl2

Tested successfully with Debian 10 amd64 and Debian 11 amd64 each with 
ALSA + PulseAudio non-professional audio. In case you consider buying 
it, I might be able to do a basic test with a Debian 11 i386, too.


Caveat: I have found the interface to only be recognized properly if I 
attach it _after_ PulseAudio has already started up. Hence, I have it 
disconnected by default and upon needing it, first start `pavucontrol` 
and only afterwards attach the interface.


Thanks for the offer.  I generally fire up Audacity to record a
streaming broadcast for later listening.  If I connect to the
broadcast before starting Audacity, then (with the Lexicon) I hear
static until I unplug USB and reconnect.  But that is a minor
nuisance; once connected, the Lexicons are solid.  




Btw.: I saw you asked about the Motu M2 earlier
(https://lists.debian.org/debian-user/2021/09/msg00958.html). Was 
there any progress in getting it to run properly? A cursory internet 
search suggests that there were problems wrt. old kernels and 
PulseAudio. Additionally, some tuning to reduce kernel latency might 
be needed? See https://panther.kapsi.fi/posts/2020-02-02_motu_m4 for a 
summary.


That is a bit too much tweaking for me to worry with.  The MOTU M2 is
impressive, but anything which works is better than anything else which
doesn't.

RLH



usb audio interface recommendation

2021-09-28 Thread Russell L. Harris

Needed:  a USB audio interface which "just works" with Debian 9, 10,
11 on i386 and amd64 desktop machines.   The newest of my machines is
several years years old and has both black and blue USB ports.

The pots are getting noisy on my ancient Lexicon Alpha and Lexicon
Omega, but otherwise the Lexicons work on any machine.

I would be happy to purchase a interface which no longer is in
production; I have heard that older FocusRite interfaces work in
Linux.  


--
How should one chase a thousand, and two put ten thousand to flight,
except their Rock had sold them, and the Lord had shut them up?
- Deuteronomy 32:30



motu m2 usb audio interface

2021-09-28 Thread Russell L. Harris

I am hearing noise (like white noise) with a new MOTU M2 usb.  The
unit works properly with Window$7Pro.  The noise occurs on three
desktop machines, but varies with Debian version (tested on Debian 9,
10, & 11). On Debian 10, a one-second burst of noise is heard about
every ten seconds.  On Debian 9, the burst may be several seconds in
duration, and is heard every 20 to 60 seconds.

--
How should one chase a thousand, and two put ten thousand to flight,
except their Rock had sold them, and the Lord had shut them up?
- Deuteronomy 32:30



Re: xfce terminal tabs

2021-09-10 Thread Russell L. Harris

On Fri, Sep 10, 2021 at 04:32:32AM -0400, Dan Ritter wrote:

Russell L. Harris wrote:



On xfce terminal in Debian 11 I need a separate tab for each
instance of the terminal.



I would like you to read
https://docs.xfce.org/apps/xfce4-terminal/command-line in the section
called "Window or Tab Separators", and then ask a question.


I printed it and read it; thanks for the reference, Dan.  Last night,
I did look at the preferences tab and I did a search, but I did not
immediately spot a solution.  I think I prefer the old system.

RLH



xfce terminal tabs

2021-09-10 Thread Russell L. Harris

On xfce terminal in Debian 11 I need a separate tab for each instance
of the terminal.

--
How should one chase a thousand, and two put ten thousand to flight,
except their Rock had sold them, and the Lord had shut them up?
- Deuteronomy 32:30



Re: OT: Music player with substantial speakers than can play things like mp3, wav files from an SD card or USB pendrive

2021-06-17 Thread Russell L. Harris

On Thu, Jun 17, 2021 at 07:50:44PM -0400, rhkra...@gmail.com wrote:

I'd like to find a fairly large (I mean not a tiny hand held thing that uses
batteries and has tiny controls) music player that can play things like mp3,
wav and other music files from either an SD card or a USB pendrive.


I recommend a TASCAM recorder or a TASCAM CD player (CD200-SB has SD
and USB inputs).



I'd prefer to be able to plug it in to a 120vac power source (ie., not use
batteries) and have at least one of:



  * fairly large speakers for good sound


Use powered monitors; Presonus Eris E3.5 work well ($100/pair from
Sweetwater).


  * output jack for headphones


Built-in on TASCAM units.  


  * outputs that can connect to a "standard" audio amplifier / speaker setup


Spend the additional money (very little) for balanced output (two
wires plus ground), to have the ability to make a hum-free connection
to other balanced gear.  Balanced gear can also connect to unbalanced
(RCA) gear.  Balanced gear uses a XLR connector or a 3-conductor 1/4
inch phone plug for each channel.



(There are things that would be nice to have, like if I'm playing music from
an SD with 100 or more songs, it can remember where I left off when I turned it
off and start from the next song when I power it on).


Standard on the above.

RLH



Re: Weather Report size, icons, radar maps

2021-05-28 Thread Russell L. Harris

On Fri, May 28, 2021 at 01:32:24PM -0500, Greg Marks wrote:

Greg, if you are interested in free real time (no delay) weather radar with
a number of features, take a look at https://www.livewxradar.com/.


Setting "Use custom address for radar map" to https://www.livewxradar.com
does not solve the problem; still nothing shows up in the Radar Map tab
of Weather Report.


Forgive me; I did not mean to suggest LIVEWXRADAR as a solution to
your problem.

But when the forecast is for rough weather, I devote a browser screen
to LIVEWXRADAR for the day or evening, and flip over to it now and
then.  Again, the big advantages are real time display and ability to
zoom in and out.

Local wind and rainfall I monitor with a Davis Vantage Pro2; I use
WEEWX to log data and upload pages to a web site.  


RLH



Re: Weather Report size, icons, radar maps

2021-05-27 Thread Russell L. Harris

On Thu, May 27, 2021 at 07:27:47PM -0500, Greg Marks wrote:

Greg, if you are interested in free real time (no delay) weather radar with
a number of features, take a look at https://www.livewxradar.com/.  It
is based on GoogleEarth, so it can zoom in to show even street names,
and zoom out to show the land coast-to-coast.

RLH




Re: (OT) Jokes, lprng and old cars [was: Printing addresses on a #10 envelope (US)?]

2021-05-11 Thread Russell L. Harris

On Tue, May 11, 2021 at 07:19:13PM +0200, to...@tuxteam.de wrote:

On Tue, May 11, 2021 at 06:38:46PM +0200, deloptes wrote:

around 1998 you could already print with other tools than lpr or lprng.


Until now, I was not aware that an "lpr" system still is in the Debian
archive.  I am running Debian 10 on a pc set up by the Debian
installer.  CUPS is installed; "lpr" is NOT installed.

But CUPS recognises a "lpr" command, and "man lpr" displays a man page
authored by Apple, Inc.

So the approach I am using is both simple and modern.  CUPS installs
and manages the printer, which prints from the "raw" queue, in reponse
to commands of the sort "lpr -P oki labelname".

RLH



Re: Printing addresses on a #10 envelope (US)?

2021-05-11 Thread Russell L. Harris

On Tue, May 11, 2021 at 10:10:22AM -0500, David Wright wrote:

I still have clean fanfold labels that they jettisoned after lining
up the lineprinters all those years ago.


Beware David; label adhesives may die with age.  Old fanfold labels
likely will not adhere, and labels applied five to ten years ago pop
free when the file folder is flexed.  I learned the hard way, with
file cabinets full of unlabeled file folders.

Archivial labels are available, with a non-aging adhesive.

RLH



Re: Printing addresses on a #10 envelope (US)?

2021-05-10 Thread Russell L. Harris

On Mon, May 10, 2021 at 09:24:48PM -0500, Nate Bargmann wrote:

* On 2021 10 May 16:05 -0500, Russell L. Harris wrote:

I use a dot-matrix printer with tractor feed to print self-adhesive
address labels.  There is no formatting; just several lines of plain
text, one address per file.  There is no driver; the printer is
managed by CUPS to receive "raw" data.  I print labels using the "lpr"
command.


Oh wow, memories!

In the summer of 1990 while going to electronics school I bought a
Panasonic KX-P1124 24 pin dot matrix printer.  That set me back a few
hundred bucks at the time but it was worth it to be able to submit near
letter quality lab reports and schematic drawings.

I used it for several years afterward until I bought a Deskjet (one and
done with that tech) and then bartered my way into a laser printer.  I
don't recall if I gave the '1124 away or sent it to recycling several
years ago.  :-(


It is cheap; it is easy and simple for one-off jobs (For labels I use
the editor "nano".); a box of 5000 tractor-feed labels lasts for ever,
even if you must print two or three duplicates to get to the tear-off
point.  The only down-side is the table space (I leave mine set up),
and the fact that if you don't use it every few weeks, the ribbon
dries out a little.  My OKI Microline 320 connects via USB.

RLH



Re: Printing addresses on a #10 envelope (US)?

2021-05-10 Thread Russell L. Harris

On Mon, May 10, 2021 at 10:36:57AM -0500, Nate Bargmann wrote:

Are there other options?  Looking about I don't see any.  Even the
online Google Docs does not appear to have any support for printing
envelopes.  I understand most people do things online but there is still
a reason to use snail mail and representing an organization, my
handwriting is poor enough that it is better served via printing
envelopes.


I use a dot-matrix printer with tractor feed to print self-adhesive
address labels.  There is no formatting; just several lines of plain
text, one address per file.  There is no driver; the printer is
managed by CUPS to receive "raw" data.  I print labels using the "lpr"
command.

RLH



Re: Label printer Debian compatible

2020-12-31 Thread Russell L. Harris

On Thu, Dec 31, 2020 at 04:12:25PM -0600, Tom Browder wrote:

Has anyone had any success driving a mailing label printer for mailing labels
from either a LAN or direct connection with a Linux box? 


I can print sheets of mailing labels from my main printer, but I would love to
be able to print single labels from my adress db with a suitable specialty
printer and a suitable Linux driver.


OKI Microline 320 Turbo via USB

CUPS ("raw" = no driver)

tractor-feed labels

RLH



Re: make a drawing

2020-08-30 Thread Russell L. Harris

On Mon, Aug 31, 2020 at 05:06:20AM +0200, Emanuel Berg wrote:

Anyway, I'd like to make a drawing of it. Any idea
what software might be used?


sweethome
inkscape
dia



Re: mp3 images on in-dash radio

2020-08-19 Thread Russell L. Harris

On Thu, Aug 20, 2020 at 02:08:02AM +1200, Richard Hector wrote:

What happens if you play your CD in a computer player like rhythmbox or
similar?


I installed rhythmbox and plugged the USB flash stick into the
computer, which was mounted on \media\.  Whoever put together
rhythmbox made the interface highly dependent upon intuitive
interpretation of symbols, some of which I find inscrutable.  I
finally managed to play a track (no image was displayed), but after
that rhythmbox showed the files greyed out, and then refused to show
anything.  Now I have a very low opinion of rhythmbox; life is too
short to squander messing around with stuff like that.

RLH



Re: mp3 images on in-dash radio

2020-08-17 Thread Russell L. Harris

On Mon, Aug 17, 2020 at 07:31:10PM -0400, Dan Ritter wrote:

What in-dash system are you using?


The offending system is that of a 2016 Toyota Tundra; it has a
software switch to defeat display of the album cover.



While it is possible to embed information in an MP3 file, one
has to do so affirmatively, and the space is quite limited.


Understood.  And I know that there are about three or four versions of
ID tag.  The "id3tool" man page speaks of version 1.1 and version 1.0.
But after reading the id3 tag wikipedia page, the eyed man page, and
the picard man page, I am confused, and do not know which, if any, id3
tags I need for this application.  At present, experimentation is a
bit difficult, because of 100+F daytime temperatures and carnivorous
horseflies once darkness falls.



Much more likely is that the stereo system is either:
reading images from the USB stick in a slide-show mode


I formatted the stick (which is 8Gb) before writing the files.



or looking up "albums" via a web service and trying to display the
covers.


The Tundra does have a GSP navigation system integrated into the
in-dash radio.  But I am aware of no accounts.  And my cellular stays
powered down and in my briefcase.  Moreover, my lecture series names
likely do not match any music album names.  


RLH



mp3 images on in-dash radio

2020-08-17 Thread Russell L. Harris

I processed several lecture series (analogue voice streams) as
follows:

(1) record each stream as a WAV file on a TASCAM digital recorder

(2) load each WAV file into "Audacity" as a project, for editing and
for manual insertion of a number of filename labels, to label sessions
within each lecture series

(3) use the "Audacity" FILE -> EXPORT MULTIPLE function to split each
project into WAV files corresponding to the manually-inserted labels,
with each session in a separate file

(4) use "lame" to encode each of the WAV files as MP3

(5) use "id3tool" to create for each MP3 file a tag showing TRACK,
TITLE, ARTIST, ALBUM, YEAR.  (These fields have to do with the lecture
series, lecture topic, and session number; they are not artist name
and album and song titles in the usual sense.)

(6) copy the MP3 files into folders of a directory structure, sorting
them by lecture series

(7) use "puddletag" to create a playlist for each folder (lecture
series), to play sessions in proper order

(8) copy the directory structure to a USB flash memory stick, for
playback over the in-dash radio of an automobile.

PROBLEM: For some of the sessions, the LCD display of the in-dash
radio displays an image.  The image is not related to any of the
series of lectures.  Moreover, some of the images are objectionable.
Some in-dash radios make display of images optional.

I have been unable to determine the source of the images.  I have
found no clues from searching on the Web.

= Is it possible that an image is embedded in the MP3 file which I
have created?  Or can there be a URL to an image in the label which I
have created?  If so, at what stage of the processing was the image or
link introduced?  How can I remove them?

= Doe the image originate in the in-dash radio?  If so, where does it
reside, and how and why is it associated with my files?



Re: Lenovo S205 boot

2020-08-11 Thread Russell L. Harris

On Tue, Aug 11, 2020 at 01:19:46PM +1000, David wrote:

On Tue, 11 Aug 2020 at 09:48, Russell L. Harris  wrote:

So is my processor AMD or Atom?

The best way to answer this question is to run the command
cat /proc/cpuinfo


That prints about thirty lines; here are a few:

processor: 1
vendor_id: AuthenticAMD
cpu family: 20
model: 1
model name: AMD E-350 Processor
stepping: 0
microcode: 0x52B
cpu MHz: 868.287
cache size: 512 KB

RLH



Re: Lenovo S205 boot

2020-08-10 Thread Russell L. Harris

On Mon, Aug 10, 2020 at 09:34:01PM +, Andrew Cater wrote:

Aha - it might be one of the strange generation of machines (way back) that had
32 bit UEFI/BIOS and a 64 bit capable Atom processor - maybe back as far as the
Sandy Bridge series ... a long time ago anyway. Use, specifically, the Debian
i386/amd64 multiarch netboot to install this and it works and installs the 32
bit Grub [BIOS] /Grub2 [UEFI] and 64 bit userland.

Have done this once on an old Toshiba - this was the only way to get this
machine to boot.



Perhaps I missed something.

The label on the bottom of the machine reads:

   Lenovo IdeaPad S205
   Model Name: 1038
   Mfg Date:  11/06/03

The netinstall image I used was:
debian-bullseye-DI-alpha2-amd64-netinst.iso; that installation brings
up the grub> prompt, and allows me to boot by typing in the commands:

   grub> root=(hd0,gpt2)
   grub> linux /vmlinuz root=/dev/sda2
   grub> initrd /initrd.img
   grub> boot

But X does not start.  However, when press alt-F3 and open a terminal
window, I can log in as a normal user and then I can become a
superuser.

The command:
   # dmesg |grep amd
produces the output:
   amd_nb: x86/cpu/AMD: CPU erratum 688 worked around

So is my processor AMD or Atom?  Should I install with another
netinstall image?  if so, from where may I download it?

RLH



Re: Lenovo S205 boot

2020-08-10 Thread Russell L. Harris

On Mon, Aug 10, 2020 at 05:38:52PM +0200, Sven Hoexter wrote:

On Tue, Aug 04, 2020 at 05:52:10PM +, Russell L. Harris wrote:
If going back to i386 is an option for you, the department of
workarounds has an option.


Again, at this point, my only hope for the machine (other than to toss
it in the dumpster) is for it to provide a reasonable environment for
composition when away from home.

For me, composition requires emacs, LaTeX or TeXLive, xdvi, and
(hopefully) a dictionary, together with a means such as ssh or rsync
to transfer documents to the desktop machine when I arrive back home.
The only other necessity is the ability to use the "Dvorak Classic"
keymap (which differs from the Dvorak ANSI map offered by the
installer).

As to the touchpad, I find a touchpad awkward at best; it is better to
pack along a USB mouse.

Years ago my first attempt to install Debian overwrote the W$7
installation; otherwise, I might market the machine to a Window$ user.

RLH



Re: non-smart debian phone

2020-08-05 Thread Russell L. Harris

On Wed, Aug 05, 2020 at 09:38:40PM -0700, Dan Hitt wrote:

I plan to get a non-smart phone to replace my smart phone.

By non-smart, i mean that it does not have a touch screen.


A couple of years back I switched to AT  Back then the only
flip-phone offered by AT was Kyocera.  Battery life typically was
one day, even with minimal use.  AT replaced the phone once and the
battery three times, but nothing cured the problem.  Then an AT
representative recommended a Samsung which has an ultra-low-power
mode.  This is a model SM-J337A.  Yes, it is a "smartphone"; but it
can go a full week on a charge.



Re: Lenovo S205 boot

2020-08-04 Thread Russell L. Harris

On Tue, Aug 04, 2020 at 07:04:13PM +0200, Sven Hoexter wrote:

so far I can only confirm that the grub installation fails with
both stable and testing. It seems something is at odds with writing
the efivars. I did not yet get around to try again if I can switch
the installation back to using grub-legacy somehow.


I would not mind going back to Wheezy, if necessary.

I envisioned the notebook machine for composition tasks when away from
the office; so about the only software I would be using is Emacs,
xdvi, and a dictionary, along with something such as rsync or scp or
git to transfer new material back to the desktop upon return to the
office.  The notebook is much preferable to pen and paper.

RLH



  1   2   3   4   5   6   7   >