Re: Reboot required after updating firmware-amd-graphics?

2022-12-07 Thread Sven Hartge
local10  wrote:
> Dec 7, 2022, 15:42 by to...@tuxteam.de:

>> So a rough approximation to an answer would be "yes".

> That was my thought as well but I was hoping maybe there was some
> automagical way it could refresh itself in RAM.

You can see firmware as kind-of an OS for the component. And just like
the Linux Kernel can't refresh itself while running, (most of) the
firmware running on a component can't do that, it (usually) needs to get
reinitialized.

This will happen during a reboot of the whole PC or (in many cases) by
unloading and then reloading the Kernel module for that component.

S°

-- 
Sigmentation fault. Core dumped.



Re: loss of screen resolution

2022-12-07 Thread Kleene, Steven (kleenesj)
On December 1, 2022 9:41 PM, I wrote:
>> Out of the blue today, my usual screen resolution (1920x1200) became
>> unavailable. ...

On Sunday, December 4, 2022 1:26 AM, Felix Miata 
replied:
> Do you have another VGA cable you could try? Do you have any other PCs with
> VGA output available that you could test with your display?

My cable has one end male and one female, and I don't have a spare or a
useful adapter.  I tried swapping in another monitor using the cable from the
problem build.  The resolution problem persisted.  So the cable is still
a suspect.

On Sunday, December 4, 2022 8:22 PM, Felix Miata 
replied:
> Save the following as /etc/X11/xorg.conf.d/40-vga.conf:
>
> Section "Monitor"
> Identifier "DefaultMonitor"
> VendorName  "Dell"
> ModelName   "U2412M"
> HorizSync   30-83
> VertRefresh 50-61
> Option  "PreferredMode" "1920x1200"
> EndSection

Thanks.  I tried that and was again unsuccessful.

I guess this is in software or in the cable.  I could buy another cable, but
I'm the process of getting a new desktop built anyway.  I think I'll just
live with this until I can abandon ship.

Thanks for all your efforts, Felix.  I did learn a few things.


From: Felix Miata 
Sent: Sunday, December 4, 2022 8:22 PM
To: debian-user@lists.debian.org
Subject: Re: loss of screen resolution

External Email: Use Caution


Kleene, Steven (kleenesj) composed on 2022-12-04 18:03 (UTC):

> I do have /usr/lib/xserver-xorg-video-intel.  I don't have
> /etc/X11/xorg.conf.d/ but do have /usr/share/X11/xorg.conf.d/ with the
> following:
>   10-amdgpu.conf  10-quirks.conf  10-radeon.conf  40-libinput.conf  
> 70-wacom.conf
> It wasn't obvious to me that these were relevant.

> I don't have any useful spare hardware at home, although I do at work.  I
> could steal a VGA cable to test here.

If nothing yet suggested works, a more flexible solution than a manually 
generated
& hard-coded modeline applied after X has already started is letting the server
generate one on startup based upon the formerly provided EDID basics I retrieved
from your old Xorg.0.log:

Ranges: V min: 50 V max: 61 Hz, H min: 30 H max: 83 kHz

Save the following as /etc/X11/xorg.conf.d/40-vga.conf:

Section "Monitor"
Identifier "DefaultMonitor"
VendorName  "Dell"
ModelName   "U2412M"
HorizSync   30-83
VertRefresh 50-61
Option  "PreferredMode" "1920x1200"
EndSection

This early application ought to make it behave more like it used to, unless the
problem is actually inside the display. I've had two 1920x1200s die on me, a 
Dell
made in 2005 and a Lenovo made in 2009. My 2560x1080 Dell only lasted 5 years
before refusing to power on any more. :~( The two 1920x1200 I have now are 2011
NEC and 2012 Samsung.
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Please, don't feed the trolls [was: Fwd: [DNG] an AI opinion about systemd]

2022-12-07 Thread tomas
On Wed, Dec 07, 2022 at 05:13:43PM -0700, Fred wrote:

[...]

> A good reason to change to Devuan which is Debian without systemd.

As a SysV user myself, I'd say: don't feed the trolls.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: dep hell NOT with Trinity (was: TBird mail)

2022-12-07 Thread gene heskett

On 12/7/22 17:50, Andrew M.A. Cater wrote:

On Wed, Dec 07, 2022 at 01:36:31AM -0500, Felix Miata wrote:

gene heskett composed on 2022-12-06 21:03 (UTC-0500):
  

I'd love to be able to install TDE, which would give me back the best
email agent linux ever had, kmail-3.5 but with all its bugs fixed, but
the first TDE package I select, generates over 300 hits of dependency
hell from synaptic.
  


Gene,

Just done this to check in a virtual machine. I concur with Felix.

Expert install of Debian 11.5 - standard - text only.
Deselect everything other than standard using tasksel at that stage.
Add the 
https://wiki.trinitydesktop.org/Debian_Trinity_Repository_Installation_Instructions
 /etc/apt/sources.list lines.

Add the GPG key using wget then

apt-get update ; apt-get install aptitude
aptitude install tde-trinity

and it just works. No drama and everything installed from Trinity.

568M / 700 and change packages?


apt/apt-get/aptitude are used for software installations here.



Thanks Felix for the instructions to try.

All the very best, as ever,

Andy Cater
  


And you trust aptitude to do that? Maybe 10 times I've looked at a 
system with aptitude, 5 times I've asked it to install something, and 4 
times its gone wild removing other dependencies that got in its way, 
stripped the system so bad it wouldn't reboot. I wound up re-installing 
and losing everything because the installer insists on formatting 
everything.  I've managed to get it mostly running despite the broken 
installer everybody else claims works fine, and have around 300 gigs of 
work I don't want to lose or re-invent on my 2t /home raid10. 20+ times 
I've re-installed debian 11 from scratch. 20+ times I've tried to get 
rid of orca and brltty, and 20+ times it would not reboot after killing 
them, stuck trying to find them. ow I've gotten rid of the aggravation 
of having my speakers yelling at me, doing a lousy job of pronouncing 
every key press.  But since the middle of October its decided to sit 
silently, no disk activity, for 10 to 20 minutes before loading the bios 
or loading grub. Once it loaded grub, it normal. Memtest86 gives 32gigs 
of dram a clean bill of health.


That's a chance of loss I won't take until such time as I get another 
raid10 setup for amanda to give me a backup, and ATM that is about 3rd 
on my priority list. Today I'm half (easy part) done assembling a two 
trees saphire-5-plus kit so I've at least 1 working 3d printer to make 
parts for two other even bigger printers that I'm going to "tip the can 
pretty high" on, running a 60mm/sec printer at 600+mm/sec. One slow 
consumer grade 3d printer equals nearly a month to make one woodworkers 
vise screw I've designed, and I need to get that down to a week or less 
before it becomes affordable.


And at 88 yo, long term (30 years) type 2 diabetic & prostate concerns 
are telling me I'm running out of time. I thank those that have tried to 
help, but until I know more what the boot problem is, I can't help you 
or myself since I've not a clue whats going on.


Painted into a very small corner but hanging on.

Thank you all, take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Fwd: [DNG] an AI opinion about systemd

2022-12-07 Thread Fred





 Forwarded Message 
Subject: [DNG] an AI opinion about systemd
Date: Wed, 7 Dec 2022 20:15:06 +0100
From: Jaromil 
To: d...@lists.dyne.org


dear dng'ers

just for fun and to my great surprise, today I asked chatGPT about systemd

the oracle AIsplained me...


Systemd is a software suite that provides a number of system management 
services for the UNIX ecosystem, such as process and session management, 
system logging, and network configuration. While systemd has been widely 
adopted by many UNIX-based operating systems, it has also been 
criticized for bringing a dangerous centralization of services to the 
UNIX ecosystem.


One of the main criticisms of systemd is that it creates entangling 
dependencies throughout the system. This means that different services 
and components of the operating system are tightly integrated with each 
other, and rely on each other to function properly. This can make the 
system more complex and fragile, as a failure in one component can have 
cascading effects throughout the system.


Another criticism of systemd is that it creates a design lock-in, where 
the operating system is tied to the specific design and implementation 
of systemd. This means that other system management services cannot be 
easily used with the operating system, and developers are effectively 
forced to use systemd if they want to provide certain services. This is 
seen as a dangerous centralization of power, as the design and 
implementation of systemd is governed unilaterally by the developers of 
systemd.


Overall, the centralization of services brought about by systemd has led 
to concerns about the complexity and fragility of the UNIX ecosystem, as 
well as the potential for a design lock-in that is governed by a single 
group of developers. This has led to calls for alternative approaches to 
system management in the UNIX ecosystem that are more decentralized and 
flexible.




:^D


___
Dng mailing list
d...@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

A good reason to change to Devuan which is Debian without systemd.

Best regards,
Fred



Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread David Wright
On Wed 07 Dec 2022 at 15:32:04 (-0700), Charles Curley wrote:
> On Wed, 7 Dec 2022 13:16:58 -0600 David Wright wrote:
> 
> > > A a general rule, confirm. It can't hurt (other than the time it
> > > takes) and might help a lot. You should use the same tool to update
> > > that you use to upgrade.  
> > 
> > Does synaptic not use the same lists as APT? I thought it was
> > merely a frontend (some screens of which look very like the
> > pre-APT dselect from the last century).
> 
> If by lists you mean sources.list and sources.list.d/*, I believe so
> (and have no evidence to the contrary).

No, that list in under the user's control and there's no avoiding it;
I meant APT's lists in /var/lib/apt/lists/, written by  apt update.

> As for synaptic being a front end, someone else will have to answer
> that. I understand that apt and aptitude have different algorithms for
> calculating upgrades and dependencies.
> 
> So it is quite possible I am being over-cautious here.

Cheers,
David.



Re: dep hell NOT with Trinity (was: TBird mail)

2022-12-07 Thread Andrew M.A. Cater
On Wed, Dec 07, 2022 at 01:36:31AM -0500, Felix Miata wrote:
> gene heskett composed on 2022-12-06 21:03 (UTC-0500):
>  
> > I'd love to be able to install TDE, which would give me back the best 
> > email agent linux ever had, kmail-3.5 but with all its bugs fixed, but 
> > the first TDE package I select, generates over 300 hits of dependency 
> > hell from synaptic.
>  

Gene,

Just done this to check in a virtual machine. I concur with Felix.

Expert install of Debian 11.5 - standard - text only.
Deselect everything other than standard using tasksel at that stage.
Add the 
https://wiki.trinitydesktop.org/Debian_Trinity_Repository_Installation_Instructions
 /etc/apt/sources.list lines.

Add the GPG key using wget then

apt-get update ; apt-get install aptitude
aptitude install tde-trinity

and it just works. No drama and everything installed from Trinity.

568M / 700 and change packages?

> apt/apt-get/aptitude are used for software installations here.
>

Thanks Felix for the instructions to try.

All the very best, as ever,

Andy Cater
 



Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread Charles Curley
On Wed, 7 Dec 2022 13:16:58 -0600
David Wright  wrote:

> > A a general rule, confirm. It can't hurt (other than the time it
> > takes) and might help a lot. You should use the same tool to update
> > that you use to upgrade.  
> 
> Does synaptic not use the same lists as APT? I thought it was
> merely a frontend (some screens of which look very like the
> pre-APT dselect from the last century).

If by lists you mean sources.list and sources.list.d/*, I believe so
(and have no evidence to the contrary).

As for synaptic being a front end, someone else will have to answer
that. I understand that apt and aptitude have different algorithms for
calculating upgrades and dependencies.

So it is quite possible I am being over-cautious here.

-- 
Does anybody read signatures any more?

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



Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread David Wright
On Wed 07 Dec 2022 at 11:53:23 (-0700), Charles Curley wrote:
> On Thu, 8 Dec 2022 02:08:09 +0800 Bret Busby wrote:
> 
> > … it is my understanding, in 
> > thinking about it further, after I had suggested running apt install, 
> > that the correct, or, recommended procedure, before installing any 
> > additional packages, is to always, first, run apt update, to ensure
> > that the cache is always updated, before attempting to either upgrade
> > the system, or, to install any additional packages, as a standard
> > operating procedure.
> > 
> > Could someone please confirm or correct this perception?
> 
> A a general rule, confirm. It can't hurt (other than the time it takes)
> and might help a lot. You should use the same tool to update that you
> use to upgrade.

Does synaptic not use the same lists as APT? I thought it was
merely a frontend (some screens of which look very like the
pre-APT dselect from the last century).

> E.g.:
> 
> apt update && apt upgrade
> 
> A daily cron job to do the update or daily auto upgrades should be
> sufficient.

Bret Busby having earlier written:

> I recently installed a package using apt install,m that synaptic did not
> find by searching.

As a synaptic user at times, can I ask you whether synaptic
auto-updates the repository lists when you perform a search?
[I take it "m" is just a typo.]

Looking at the help files that synaptic presumably uses,
I would say that the labelling the Update button with
"Reload Package Information" makes it seem like a heavier
operation than it is (or ought to be). One might think
it's going to re-download all 152MB (Debian bullseye)
of the lists, whereas it's usually a fraction of that,
eg today:

  Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
  Hit:2 http://deb.debian.org/debian bullseye InRelease
  Hit:3 http://deb.debian.org/debian bullseye-updates InRelease

basically, nothing.

Cheers,
David.


Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread Charles Curley
On Thu, 8 Dec 2022 02:08:09 +0800
Bret Busby  wrote:

> … it is my understanding, in 
> thinking about it further, after I had suggested running apt install, 
> that the correct, or, recommended procedure, before installing any 
> additional packages, is to always, first, run apt update, to ensure
> that the cache is always updated, before attempting to either upgrade
> the system, or, to install any additional packages, as a standard
> operating procedure.
> 
> Could someone please confirm or correct this perception?

A a general rule, confirm. It can't hurt (other than the time it takes)
and might help a lot. You should use the same tool to update that you
use to upgrade. E.g.:

apt update && apt upgrade

A daily cron job to do the update or daily auto upgrades should be
sufficient.

-- 
Does anybody read signatures any more?

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



Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread Bret Busby

On 08/12/2022 01:45, Andrew M.A. Cater wrote:

On Wed, Dec 07, 2022 at 08:07:31AM -0600, Richard Owlett wrote:

I'm running Debian 11.3 with MATE desktop.
When I attempt to use Synaptic to install "kate" it responds:



As suggested before, it is not a bad idea to keep up to date. The latest
version of Bullseye is 11.5 and 11.6 will be released over the weekend
of 17th December or so.

I would suggest strongly that you get yourself a DVD image and mount it
using apt-cdrom add to add it and then update from it if you don't want
to connect a particular machine to the 'Net.

Likewise, 9.13 is very definitely oldoldstable amd beyond normal security
support other than via ELTS. Bookworm will begin to freeze within a couple
of months on 12th January 2023 or so: at that point, the clock is very
definitely ticking for 9.13.

I do, however, appreciate that you have very particular personal requirements
so this is just the standard warning to keep up to date with bugfixes,
security patches, updates to and removals of packages in current distributions
- a patched machine is generally to your (and everyone else's) benefit since
we can more readily help you.

With every good wish, as ever,

Andy Cater



W: Failed to fetch 
http://deb.debian.org/debian/pool/main/p/pcre2/libpcre2-16-0_10.36-2_amd64.deb
   404  Not Found [IP: 199.232.98.132 80]



Is this bug or operator error?
TIA





Please correct me if I am wrong, but, with the previous suggestion that 
was made, regarding running apt update, it is my understanding, in 
thinking about it further, after I had suggested running apt install, 
that the correct, or, recommended procedure, before installing any 
additional packages, is to always, first, run apt update, to ensure that 
the cache is always updated, before attempting to either upgrade the 
system, or, to install any additional packages, as a standard operating 
procedure.


Could someone please confirm or correct this perception?

Thank you in anticipation.

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



Re: Reboot required after updating firmware-amd-graphics?

2022-12-07 Thread David Wright
On Wed 07 Dec 2022 at 17:43:16 (+0100), local10 wrote:
> That was my thought as well but I was hoping maybe there was some automagical 
> way it could refresh itself in RAM.

Downloading firmware and installing it is bread and butter for the
debian-installer, but you have to be able to remove the module,
which might not be possible if you can't make it non-busy.

Example from d-i:

  Apr 17 01:03:35 kernel: [  142.854404] r8169 :03:00.0: firmware: failed 
to load rtl_nic/rtl8168g-2.fw (-2)

  Apr 17 01:03:35 kernel: [  142.854408] r8169 :03:00.0: Direct firmware 
load for rtl_nic/rtl8168g-2.fw failed with error -2
  Apr 17 01:03:35 kernel: [  142.854411] r8169 :03:00.0: Unable to load 
firmware rtl_nic/rtl8168g-2.fw (-2)

  Apr 17 01:03:44 check-missing-firmware: installing firmware package 
/cdrom/firmware/firmware-realtek_20210315-3_all.deb

  Apr 17 01:03:53 check-missing-firmware: removing and loading kernel module 
r8169
  Apr 17 01:03:53 kernel: [  160.974875] r8169 :03:00.0: can't disable 
ASPM; OS doesn't have ASPM control
  Apr 17 01:03:53 kernel: [  160.989733] r8169 :03:00.0 eth0: 
RTL8168g/8111g, a4:1f:72:6e:2d:3f, XID 4c0, IRQ 27

  Apr 17 01:03:54 check-missing-firmware: no missing firmware in loaded kernel 
modules

  Apr 17 01:04:09 kernel: [  176.898782] r8169 :03:00.0: firmware: 
direct-loading firmware rtl_nic/rtl8168g-2.fw

  Apr 17 01:04:11 kernel: [  178.724622] r8169 :03:00.0 enp3s0: Link is Up 
- 100Mbps/Full - flow control rx/tx

Cheers,
David.



Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread Andrew M.A. Cater
On Wed, Dec 07, 2022 at 08:07:31AM -0600, Richard Owlett wrote:
> I'm running Debian 11.3 with MATE desktop.
> When I attempt to use Synaptic to install "kate" it responds:
> 

As suggested before, it is not a bad idea to keep up to date. The latest
version of Bullseye is 11.5 and 11.6 will be released over the weekend
of 17th December or so.

I would suggest strongly that you get yourself a DVD image and mount it
using apt-cdrom add to add it and then update from it if you don't want
to connect a particular machine to the 'Net.

Likewise, 9.13 is very definitely oldoldstable amd beyond normal security
support other than via ELTS. Bookworm will begin to freeze within a couple
of months on 12th January 2023 or so: at that point, the clock is very
definitely ticking for 9.13.

I do, however, appreciate that you have very particular personal requirements
so this is just the standard warning to keep up to date with bugfixes,
security patches, updates to and removals of packages in current distributions
- a patched machine is generally to your (and everyone else's) benefit since
we can more readily help you.

With every good wish, as ever,

Andy Cater


> > W: Failed to fetch 
> > http://deb.debian.org/debian/pool/main/p/pcre2/libpcre2-16-0_10.36-2_amd64.deb
> >   404  Not Found [IP: 199.232.98.132 80]
> > 
> 
> Is this bug or operator error?
> TIA
> 
> 
> 



Re: apcupsd sc420i line voltage

2022-12-07 Thread Alexander V. Makartsev

On 07.12.2022 19:47, Vukovics Mihály wrote:

Hello Community,

I am strugling with APC SmartUPS SC420I and apcupsd.
The UPS is connected via usb-to serial adapter and 940-0024E cable.

The UPS is recognized as "Back-UPS Pro 280" instead of SC420I and the 
line voltage is displayed as 120V instead of the real 230V.


UPSTYPE apcsmart
DEVICE /dev/ttyUSB0

Has any of  you experienced like this and know how to fix at least the 
line voltage value?


Maybe it would be better to try "nut-server" which could have a better 
apcsmart driver implementation?
I have APC SmartUPS SC1500I with similar setup, USB-to-COM adapter and 
self-made APC UPS Smart cable and it is working fine with nut-server, 
both monitoring and control.


Another thing to check could be an usb-to-serial adapter. I've seen some 
cheap low-quality adapters which were created with counterfeit ICs.


--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀https://www.debian.org
⠈⠳⣄


scripts, was Re: TBird mail

2022-12-07 Thread David Wright
On Wed 07 Dec 2022 at 07:56:53 (-0500), rhkra...@gmail.com wrote:
> On Wednesday, December 07, 2022 07:18:57 AM Greg Wooledge wrote:
> > Here's my version:
> > 
> > rlart() {
> >   local day time path
> >   find "${1:-.}" -type f -printf '%T@ %TY-%Tm-%Td %TT %p\0' |
> > sort -zn |
> > while read -rd '' _ day time path; do
> >   printf '%s %s %s\n' "$day" "${time%.*}" "$path"
> > done
> > }
> 
> I wonder if youi could expound somewhat on that:
> 
> (Aside: although I use bash, and have written a few simple scripts, I am by 
> no 
> means a bash guru.)
> 
>* Might I infer that you have some large bash (presumably) script (file) 
> containing various functions (e.g., rlart) to perform a variety of tasks?
> 
>* If so, how do you invoke those functions (I mean the syntax) -- I guess 
> it would be something like:
> 
> $  rlart()

Greg has pasted a bash function as it is defined in a startup file,
presumably ~/.bashrc. If he were to   type rlart   then you'd see
semicolons at the ends of lines.

Yes, .bashrc gets very large as you add more command definitions;
I split mine up, with separate files for handling caddies/sticks/cards,
transfers between my PCs, and browsers/web-related, plus each host
has its own .bash-1-$HOSTNAME and .bash-9-$HOSTNAME sourced at the
start and end for host-specific configuration. I treat ~/.xsession
and ~/.fvwm/ files the same way. Not forgetting the file that
handles colouring and prompts. About 7000 lines common to all hosts,
with .bashrc containing around 350 functions. Many of these are
variants of one another, of course.

By way of an example, if the file contains:

  function installer-on {
  [ -z "$1" ] && msgerr "Usage:   ${FUNCNAME[0]} hostname [username]
  runs ssh to connect to the installer on host hostname which should be
  running the network-console. It avoids polluting your known_hosts file
  with the ephemeral host key being used by the installer." && return 1
  ssh -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null 
"${2:-installer}"@"$1"
  }

then:

  $ type installer-on
  installer-on is a function
  installer-on () 
  { 
  [ -z "$1" ] && msgerr "Usage:   ${FUNCNAME[0]} hostname [username]
  runs ssh to connect to the installer on host hostname which should be
  running the network-console. It avoids polluting your known_hosts file
  with the ephemeral host key being used by the installer." && return 1;
  ssh -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null 
"${2:-installer}"@"$1"
  }
  $ 

and to use it, saving a lot of typing:

  $ installer-on acer
  ssh: connect to host acer port 22: No route to host
  $ 

Obviously I'm not running the debian-installer at the moment, nor
is acer even switched on. But the second argument has its uses:

  $ installer-on localhost auser
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:0123456789abcdefghijklmnopqrstuvwxyz0123456.
  Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  Linux axis 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64
  
  The programs included with the Debian GNU/Linux system are free software;
  [ … ]

Despite the "Permanently added" warning, it has in fact been thrown away.

--

> A speaker who uses ahhs, ums, or such may have a real physical or mental 
> disability, or may be showing disrespect for his listeners by not properly 
> preparing in advance and thinking before speaking.  (Remember Cicero who did 
> not have enough time to write a short missive.)  (That speaker might have 
> been 
> "trained" to do this by being interrupted often if he pauses.)

Margaret Thatcher is a prime example, even making the pages of Nature:

https://www.nature.com/articles/300744a0

Of course, an initial "Er…" can be an important cue that you're going
to say something. Without it, someone not paying attention to you will
likely miss the first part of your utterance, or at least have to
replay it in their head before comprehending it. I believe our replay
mechanism has been much researched.

Cheers,
David.


Re: Reboot required after updating firmware-amd-graphics?

2022-12-07 Thread local10
Dec 7, 2022, 15:42 by to...@tuxteam.de:

> So a rough approximation to an answer would be "yes".
>


That was my thought as well but I was hoping maybe there was some automagical 
way it could refresh itself in RAM.

Regards,



Re: Xen backup and restore

2022-12-07 Thread Tim Woodall

On Wed, 7 Dec 2022, Toth Zoltan wrote:


Hi Everybody

I am looking for a solution to backup and restore xen domU under
debian, but I did not anything.
How can I save and restore xen virtual machine.
I have found "xe"  command, but it cant find deb package only rpm :-(
Can somobody help me ?


I think you want xl, not xe which I believe is for old versions of xen.

Not something I've used but there's xl save and xl restore



Re: TBird mail

2022-12-07 Thread Greg Wooledge
On Wed, Dec 07, 2022 at 07:56:53AM -0500, rhkra...@gmail.com wrote:
> On Wednesday, December 07, 2022 07:18:57 AM Greg Wooledge wrote:
> > Here's my version:
> > 
> > rlart() {
> >   local day time path
> >   find "${1:-.}" -type f -printf '%T@ %TY-%Tm-%Td %TT %p\0' |
> > sort -zn |
> > while read -rd '' _ day time path; do
> >   printf '%s %s %s\n' "$day" "${time%.*}" "$path"
> > done
> > }
> 
> I wonder if youi could expound somewhat on that:
> 
> (Aside: although I use bash, and have written a few simple scripts, I am by 
> no 
> means a bash guru.)
> 
>* Might I infer that you have some large bash (presumably) script (file) 
> containing various functions (e.g., rlart) to perform a variety of tasks?

It's defined in my .bashrc file, so that I can call it interactively.

>* If so, how do you invoke those functions (I mean the syntax) -- I guess 
> it would be something like:
> 
> $  rlart()

No, the function is defined directly in my interactive shell, because
of the lines in .bashrc.  So I just call it by name:

unicorn:~/tmp$ rlart | tail
2021-08-23 13:10:38 ./mawk-1.3.4-20200120/zmalloc.o
2021-08-23 13:10:38 ./mawk-1.3.4-20200120/fin.o
2021-08-23 13:10:38 ./mawk-1.3.4-20200120/files.o
2021-08-23 13:10:38 ./mawk-1.3.4-20200120/scancode.c
2021-08-23 13:10:38 ./mawk-1.3.4-20200120/scancode.o
2021-08-23 13:10:38 ./mawk-1.3.4-20200120/matherr.o
2021-08-23 13:10:38 ./mawk-1.3.4-20200120/fcall.o
2021-08-23 13:10:38 ./mawk-1.3.4-20200120/version.o
2021-08-23 13:10:38 ./mawk-1.3.4-20200120/mawk
2022-12-06 21:55:39 ./shot.png

If you prefer, you could place the code in a script.  The script would
be named "rlart", and it would need to be in a directory in your PATH.
Remove the function wrapper and the "local" declaration, and include
a proper shebang line (#!/bin/bash since I'm using bash extensions),
and of course chmod +x the script.



Re: PC desktop ou Laptop pour debian

2022-12-07 Thread mm



Le 07/12/2022 à 10:22, Denis Fertin a écrit :



Je cherche à la remplacer à moindre frais (l'assureur n'a pas 
récompensé son âge valeureux)


Je serais preneur des conseils avisés des membres de cette liste sans 
doute plus compétents que moi sur le H/W.
Je veux de la puissance CPU mais pas nécessairement un laptop et je 
n'ai pas besoin de bcp de stockage sur disque dur (NAS sur le réseau).



Bonjour ,

voici la liste des vendeurs de Pc sous linux en France

https://doc.ubuntu-fr.org/ordinateur_vendu_avec_ubuntu

Beaucoup vendent sous Debian.

--
Michel Memeteau

Ekimia ( https://ekimia.fr )

Directeur

tel:+33(0)624808051

Address :
620 avenue de la roche fourcade
13400 Aubagne
France







Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread David Wright
On Wed 07 Dec 2022 at 09:00:55 (-0600), Richard Owlett wrote:
> Markus Schönhaber wrote:
> > Am 07.12.22 um 15:07 schrieb Richard Owlett:
> > 
> > > I'm running Debian 11.3 with MATE desktop.
> > > When I attempt to use Synaptic to install "kate" it responds:
> > 
> > > > W: Failed to fetch 
> > > > http://deb.debian.org/debian/pool/main/p/pcre2/libpcre2-16-0_10.36-2_amd64.deb
> > > > 
> > > >    404  Not Found [IP: 199.232.98.132 80]
> > 
> > [...]
> > 
> > > Is this bug or operator error?
> > 
> > If
> > apt update
> > helps, then it's the latter.
> 
> Been using Debian since days of Squeeze and never had the problem ;/
> Your suggestion worked.

That would suggest that you don't install any security updates,
because these would need to be discovered by apt update before
apt upgrade would find them.

Cheers,
David.


Re: /boot/grub/grub.cfg menu entries

2022-12-07 Thread David Wright
On Wed 07 Dec 2022 at 00:14:48 (-0600), Intense Red wrote:
> > To re-enable this, set GRUB_DISABLE_OS_PROBER=false in /etc/default/grub.
> 
>Thanks! But I did that, ran update-grub which reported:
> 
> > Warning: os-prober will be executed to detect other bootable partitions.
> > Its output will be used to detect bootable binaries on them and create new 
> boot entries.
> > Found Debian GNU/Linux 11 (bullseye) on /dev/sdg1
> 
>Which is all way cool -- that sounds like it's going to do what I want.
> 
>But on reboot, I'm left with my plain old menu listing only the existing 
> menu entry of booting off /dev/sdf1.

You have two systems on your machine, with two /boot directories,
two grub.cfg files and so on—one in each system.

However, when you boot, the decision as to which grub.cfg to read
is made at one level higher, by the BIOS (which just picks which
disk it considers primary) or the UEFI (which reads the contents
of the ESP, which lists the priority order).

So it's quite likely that you could be busily updating grub.cfg
on one system, but BIOS/UEFI is selecting the other system's
grub.cfg to enact.

There are several ways of dealing with this, depending on
at what level you want to make your choice of which OS to run.

Cheers,
David.


Re: Killing bluetooth dead

2022-12-07 Thread David Wright
On Wed 07 Dec 2022 at 02:27:18 (-0600), d...@sherohman.org wrote:
> Just replying here in case it helps others in the future.  I've managed
> to resolve my problem by disabling Bluetooth in the BIOS/UEFI config.
> 
> On Tue, Dec 06, 2022 at 08:50:24AM -0600, David Wright wrote:
> > On Tue 06 Dec 2022 at 14:25:02 (-), Curt wrote:
> > 
> > I have twenty bluetooth modules in
> > /lib/modules/5.10.0-19-amd64/kernel/drivers/bluetooth/
> > 
> > $ grep 'Reading Intel version' 
> > /lib/modules/5.10.0-19-amd64/kernel/drivers/bluetooth/*
> > grep: /lib/modules/5.10.0-19-amd64/kernel/drivers/bluetooth/btintel.ko: 
> > binary file matches
> > grep: /lib/modules/5.10.0-19-amd64/kernel/drivers/bluetooth/hci_uart.ko: 
> > binary file matches
> > $ 
> 
> I have identical results here.  Thanks for the tip on finding where
> those kinds of messages come from - I'm sure it will be useful for
> troubleshooting future problems.
> 
> > > I have /etc/bluetooth/main.conf and /etc/default/bluetooth (but maybe
> > > you don't). 
> > > 
> > > If you do, though, have one or both of those files, for the former:
> > > 
> > >  AutoEnable=false
> > > 
> > > and the latter
> > > 
> > >  BLUETOOTH_ENABLED=0
> 
> I don't have either of those on the system in question:
> 
> $ ls /etc/bluetooth
> ls: cannot access '/etc/bluetooth': No such file or directory
> $ ls /etc/default/bluetooth
> ls: cannot access '/etc/default/bluetooth': No such file or directory
> 
> Strange that it was trying to load bluetooth modules when so much of the
> bluetooth ecosystem doesn't seem to be installed, but, *shrug*.

If you don't have the file, then you won't have read the warning about
the default:

$ head -n 5 /etc/default/bluetooth 
# Defaults for bluez

# start bluetooth on boot?
# compatibility note: if this variable is _not_ found bluetooth will start
BLUETOOTH_ENABLED=1
$ 

Read as bluetooth will attempt to start.

Cheers,
David.



Re: Reboot required after updating firmware-amd-graphics?

2022-12-07 Thread tomas
On Wed, Dec 07, 2022 at 03:52:26PM +0100, local10 wrote:
> Hi,
> 
> Is reboot required after updating firmware-amd-graphics for the updates to 
> take effect?

I'd expect the firmware to be loaded when the driver is loaded.

You might try to unload the relevant driver (probably something
something amdgpu), but I have no clue whether that will work :)

So a rough approximation to an answer would be "yes".

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Dial-in serial getty

2022-12-07 Thread David Wright
On Tue 29 Nov 2022 at 14:12:37 (+0100), Steve Keller wrote:
> For some retro feeling I grabbed my old modem and attached it to the
> phone line. Minicom and dial-out work but now I'd like to allow
> dial-in with a getty waiting on the line.
> 
> Systemd has a serial-getty@ service which uses agetty but that doesn't
> work. It seems agetty is just not suited for that job although the
> manual page claims it to be.  But I couldn't get agetty to wait for an
> incoming call, answer it, and then send the login prompt. Instead, it
> always immediately sends the prompt, execve()s to /bin/login which then
> terminates after a 60s timeout.
> 
> I've now installed mgetty but there is no systemd service file for it.
> 
> Should I change the serial-getty@ service to use mgetty or should I
> create a new service for it?  In case of the latter, does it suffice
> to only add the .service file or do I need anything else?

I'd certainly try using the service that's already there, just
changing the ExecStart line. I used mgetty for years a couple of
decades ago, and it worked really well. I could dial out from work
to home, and I could use callback to call me at home when I dialled
in to work, logging in with a secret word. (The word selects the
number that it dials back.) In fact, I used callback from anywhere
I happened to be staying if it could receive an external call directly.

To prevent interfering with normal phone use, I set -n to something
like 19 rings, by which time most humans will have given up. (IIRC
this exceeded the number of rings that an internal caller could wait
for pickup, but not external callers.)

Restart=always was important if, like me, you find you have to restart
the modem every so often, otherwise after a few days, it would just
not pick up. I ran the modem off a mechanical timer switch with just
one ¼hr segment set to Off, at ~04:30.

Another wrinkle with callback: don't put ABORT "NO CARRIER" into
the chat script, because you get that string when the modem hangs up
to call back.

It saved a lot of money, as the office could dial National Calls for
a flatrate 10p (IIRC), whereas I would be paying by the minute.
(The Friends and Family tariff would lower the cost of my calls,
but that meant redialling before an hour had passed, else the rate
would go up.)

It also broke the security rules which mandated using a dongle
to log in from off site. Of course, the dongle only worked if you
logged in to a Windows server, and all my machines ran linux.
At that time, interoperability was crude to say the least.

Does this sound suitably retro?

Cheers,
David.


Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread Markus Schönhaber

07.12.22, 16:00 +0100, Richard Owlett:


Markus Schönhaber wrote:

Am 07.12.22 um 15:07 schrieb Richard Owlett:


I'm running Debian 11.3 with MATE desktop.
When I attempt to use Synaptic to install "kate" it responds:



W: Failed to fetch
http://deb.debian.org/debian/pool/main/p/pcre2/libpcre2-16-0_10.36-2_amd64.deb

    404  Not Found [IP: 199.232.98.132 80]


[...]


Is this bug or operator error?


If
apt update
helps, then it's the latter.



Been using Debian since days of Squeeze and never had the problem ;/
Your suggestion worked.


If your package cache is stale, the package manager might try to fetch 
package files which don't exist on the server (probably being replaced 
by newer versions) anymore. It does that since it doesn't know they're 
gone, because of the mismatch between the (stale) local cache and the 
(changed) situation on the server.

Then, refreshing the cache (apt update / apt-get update) fixes that.

--
Regards
  mks




Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread Richard Owlett

Bret Busby wrote:

On 07/12/2022 22:07, Richard Owlett wrote:

I'm running Debian 11.3 with MATE desktop.
When I attempt to use Synaptic to install "kate" it responds:

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/p/pcre2/libpcre2-16-0_10.36-2_amd64.deb 


  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/vlc-data_3.0.16-1_all.deb

  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/libvlccore9_3.0.16-1_amd64.deb 


  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/vlc-plugin-base_3.0.16-1_amd64.deb 


  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/vlc-plugin-video-output_3.0.16-1_amd64.deb 


  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/libvlc5_3.0.16-1_amd64.deb

  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/h/http-parser/libhttp-parser2.9_2.9.4-4_amd64.deb 


  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/libvlc-bin_3.0.16-1_amd64.deb 


  404  Not Found [IP: 199.232.98.132 80]


Is this bug or operator error?
TIA




Have you tried apt install ?

I recently installed a package using apt install,m that synaptic did not 
find by searching.


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





Markus' suggestion of "apt update" got here first.
It worked.
Thanks





Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread Richard Owlett

Markus Schönhaber wrote:

Am 07.12.22 um 15:07 schrieb Richard Owlett:


I'm running Debian 11.3 with MATE desktop.
When I attempt to use Synaptic to install "kate" it responds:


W: Failed to fetch 
http://deb.debian.org/debian/pool/main/p/pcre2/libpcre2-16-0_10.36-2_amd64.deb 


   404  Not Found [IP: 199.232.98.132 80]


[...]


Is this bug or operator error?


If
apt update
helps, then it's the latter.



Been using Debian since days of Squeeze and never had the problem ;/
Your suggestion worked.





Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread Bret Busby

On 07/12/2022 22:07, Richard Owlett wrote:

I'm running Debian 11.3 with MATE desktop.
When I attempt to use Synaptic to install "kate" it responds:

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/p/pcre2/libpcre2-16-0_10.36-2_amd64.deb

  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/vlc-data_3.0.16-1_all.deb

  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/libvlccore9_3.0.16-1_amd64.deb

  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/vlc-plugin-base_3.0.16-1_amd64.deb

  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/vlc-plugin-video-output_3.0.16-1_amd64.deb

  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/libvlc5_3.0.16-1_amd64.deb

  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/h/http-parser/libhttp-parser2.9_2.9.4-4_amd64.deb

  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/libvlc-bin_3.0.16-1_amd64.deb

  404  Not Found [IP: 199.232.98.132 80]


Is this bug or operator error?
TIA




Have you tried apt install ?

I recently installed a package using apt install,m that synaptic did not 
find by searching.


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



Reboot required after updating firmware-amd-graphics?

2022-12-07 Thread local10
Hi,

Is reboot required after updating firmware-amd-graphics for the updates to take 
effect?

Regards,


# cat /etc/debian_version && uname -a
bookworm/sid
Linux tst 6.0.0-5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.10-1 (2022-11-26) 
x86_64 GNU/Linux



apcupsd sc420i line voltage

2022-12-07 Thread Vukovics Mihály

Hello Community,

I am strugling with APC SmartUPS SC420I and apcupsd.
The UPS is connected via usb-to serial adapter and 940-0024E cable.

The UPS is recognized as "Back-UPS Pro 280" instead of SC420I and the 
line voltage is displayed as 120V instead of the real 230V.


UPSTYPE apcsmart
DEVICE /dev/ttyUSB0

Has any of  you experienced like this and know how to fix at least the 
line voltage value?


Br,
Mihaly



Re: Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread Markus Schönhaber

Am 07.12.22 um 15:07 schrieb Richard Owlett:


I'm running Debian 11.3 with MATE desktop.
When I attempt to use Synaptic to install "kate" it responds:



W: Failed to fetch 
http://deb.debian.org/debian/pool/main/p/pcre2/libpcre2-16-0_10.36-2_amd64.deb
   404  Not Found [IP: 199.232.98.132 80]


[...]


Is this bug or operator error?


If
apt update
helps, then it's the latter.

--
Regards
  mks



Re: TBird mail (was: user perms)

2022-12-07 Thread Max Nikulin

On 07/12/2022 15:02, gene heskett wrote:
And when I find it. the prefs.js file does not contain any of the 
strings mentioned in the reply I quoted and everyone but you have clipped.


Am I to add these below? According to the top of the file, t-bird must 
be stopped before editing as it saves this anew when stopping.


That is why I suggested you to use built-in config editor. Doesn't your 
preferred search engine gives relevant result for "thunderbird config 
editor"?

https://support.mozilla.org/en-US/kb/config-editor

You may bypass looking up for the profile directory and change or 
create any options in Hamburger menu / Settings / Config Editor (at

---^^


the bottom of the page).





Synaptic on Debian 11.3 fails to install "kate"

2022-12-07 Thread Richard Owlett

I'm running Debian 11.3 with MATE desktop.
When I attempt to use Synaptic to install "kate" it responds:


W: Failed to fetch 
http://deb.debian.org/debian/pool/main/p/pcre2/libpcre2-16-0_10.36-2_amd64.deb
  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/vlc-data_3.0.16-1_all.deb
  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/libvlccore9_3.0.16-1_amd64.deb
  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/vlc-plugin-base_3.0.16-1_amd64.deb
  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/vlc-plugin-video-output_3.0.16-1_amd64.deb
  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/libvlc5_3.0.16-1_amd64.deb
  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/h/http-parser/libhttp-parser2.9_2.9.4-4_amd64.deb
  404  Not Found [IP: 199.232.98.132 80]

W: Failed to fetch 
http://deb.debian.org/debian/pool/main/v/vlc/libvlc-bin_3.0.16-1_amd64.deb
  404  Not Found [IP: 199.232.98.132 80]


Is this bug or operator error?
TIA





Re: hamburger menu (was: TBird mail)

2022-12-07 Thread gene heskett

On 12/7/22 08:24, Curt wrote:

On 2022-12-07, gene heskett  wrote:





But this one does. Apparently called Hamburger because the 3 bars icon
resemble the layers of the sandwich. I guess I'll have to install
Jargon? ;o)>


I always called it the BLT menu (a stack of three isomorphic slices of
toast).

I'm kidding.



Good for a chuckle anyway. ;o)> Thanks Curt.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: hamburger menu (was: TBird mail)

2022-12-07 Thread Curt
On 2022-12-07, gene heskett  wrote:
>> 
>> 
>
> But this one does. Apparently called Hamburger because the 3 bars icon 
> resemble the layers of the sandwich. I guess I'll have to install 
> Jargon? ;o)>

I always called it the BLT menu (a stack of three isomorphic slices of
toast).

I'm kidding.



Re: BUG FIREFOX-ESR 102.1, al cargar chat messegnger en facebook

2022-12-07 Thread Gerardo Braica

Saludos Dennis.

Yo estoy usando la version 107 en dos equipos y no tengo problemas.
Si quieres probar solamente tienes que agregar el repositorio de MX a los
sources y lo vera inmediatamente. Espero sirva.

|deb http://mxrepo.com/mx/repo/ bullseye main non-free


|
El 7/12/22 a las 01:57, Dennis Erazo escribió:
Saludos equipo de Debian 11 bullseyes, tegno instalado en mi maquina 
esta version, el bug seria en el navegador firefox-esr la ultima 
version ya que posee un bug, en el chat de messenger de facebook, ya 
que se cierre inesperadamente, la pestaña con la red social, y se 
cierra el navegador, ahorit tuve que retorceder a la version 91 que 
estaba po defecto, ya que esta version funciona completamentebien, 
favor arreglar ese bug en la sigiente actualizacion del navegador... 
Gracias, adiconal a esto, se siente con la nueva version como medio 
lento la mquina, lo cual no pasa en la version anterior que esta de 
fabrica.




--
*/Gerardo Braica
*/gbra...@gmail.com.ar
/*/*

Re: TBird mail

2022-12-07 Thread rhkramer
On Wednesday, December 07, 2022 07:18:57 AM Greg Wooledge wrote:
> Here's my version:
> 
> rlart() {
>   local day time path
>   find "${1:-.}" -type f -printf '%T@ %TY-%Tm-%Td %TT %p\0' |
> sort -zn |
> while read -rd '' _ day time path; do
>   printf '%s %s %s\n' "$day" "${time%.*}" "$path"
> done
> }

I wonder if youi could expound somewhat on that:

(Aside: although I use bash, and have written a few simple scripts, I am by no 
means a bash guru.)

   * Might I infer that you have some large bash (presumably) script (file) 
containing various functions (e.g., rlart) to perform a variety of tasks?

   * If so, how do you invoke those functions (I mean the syntax) -- I guess 
it would be something like:

$  rlart()

Thanks!

-- 
rhk 

(sig revised 20221206)

If you reply: snip, snip, and snip again; leave attributions; avoid HTML; 
avoid top posting; and keep it "on list".  (Oxford comma (and semi-colon) 
included at no charge.)  If you revise the topic, change the Subject: line.  
If you change the topic, start a new thread.

Writing is often meant for others to read and understand (legal documents 
excepted?) -- make it easier for your reader by various means, including 
liberal use of whitespace (short paragraphs, separated by whitespace / blank 
lines) and minimal use of (obscure?) jargon, abbreviations, acronyms, and 
references.

If someone has already responded to a question, decide whether any response 
you add will be helpful or not ...

A picture is worth a thousand words.  A video (or "audio"): not so much -- 
divide by 10 for each minute of video (or audio) or create a transcript and 
edit it to 10% of the original.

A speaker who uses ahhs, ums, or such may have a real physical or mental 
disability, or may be showing disrespect for his listeners by not properly 
preparing in advance and thinking before speaking.  (Remember Cicero who did 
not have enough time to write a short missive.)  (That speaker might have been 
"trained" to do this by being interrupted often if he pauses.)

A radio (or TV) station which broadcasts speakers with high pitched voices (or 
very low pitched / gravelly voices) (which older people might not be able to 
hear properly) disrespects its listeners.   Likewise if it broadcasts 
extraneous or disturbing sounds (like gunfire or crying), or broadcasts 
speakers using their native language (with or without an overdubbed 
translation).

A person who writes a sig this long probably has issues and disrespects (and 
offends) a large number of readers. ;-)
'



Re: Capturar nombre de interfase

2022-12-07 Thread Gerardo Braica

Buenos dias Camaleon.

Exactamente eso preguntaba. No probe todavia la linea que enviaste
pero suena perfecto, asigna a una variable dentro del script el nombre
de la interfase.
Ya otro compañero habia sugerido algo muy parecido.
Cuestion de probar.

Muchas gracias.


El 7/12/22 a las 05:34, Camaleón escribió:

El 2022-12-07 a las 08:33 +0100, Camaleón escribió:


El 2022-12-06 a las 20:10 -0300, Gerardo Braica escribió:


Buenas a todos.
Mi duda no es exactamente sobre Debian pero seguramente conocen la
respuesta.
Habitualmente uso scripts propios, muy simples , para tareas repetitivas.
Por ejemplo hice uno para todo lo que sea actualizacion del sistema para
que en lugar de escribir sudo apt update todos los dias solamente marco el
1.
Ahora estoy haciendo uno para todo el proceso de macchanger, o sea cargar
una variable con el nombre de la interfase de red, bajarla, macchanger -a y
volver a subirla.
El tema es que no se como obtener el nombre de la interfase, por el momento
ejecuto ifconfig desde el script y hago que el script me pregunte el nombre
para pegarlo "a mano" y de ahi sigue solo.
¿Hay alguna forma de ejecutar ifconfig y capturar la salida pero solamente
el nombre de la interfaz?

Si sabes el nombre canónico de la interfaz, puedes usar la información
del kernel que está estructurada y es perfecta para usarla en guiones
de programación porque no hay que darle formato a la salida. Por ejemplo:

(...)

Pensé que buscabas saber la dirección MAC de una interfaz concreta (de
ahí el mensaje anterior) pero si lo que quieres saber es el nombre de la
interfaz de red activa y almacenarlo en una variable, puedes usar:

sm01@stt008:~$ myvar=`ip addr | awk '/state UP/ {print substr($2, 1, 
length($2)-1)}'`; echo $myvar
enp0s25

Saludos,



--
*/Gerardo Braica
*/gbra...@gmail.com.ar
/*/*

Re: PC desktop ou Laptop pour debian

2022-12-07 Thread Olivier backup my spare

Bonjour

Le 07/12/2022 à 10:22, Denis Fertin a écrit :

Bonjour la liste,

un gentil cambrioleur est parti avec mon laptop HP debian agé mais 
néanmoins fidèle.
Je cherche à la remplacer à moindre frais (l'assureur n'a pas récompensé 
son âge valeureux).

Est-il possible d'installer en double boot sur un chrome book?

Je serais preneur des conseils avisés des membres de cette liste sans 
doute plus compétents que moi sur le H/W.
Je veux de la puissance CPU mais pas nécessairement un laptop et je n'ai 
pas besoin de bcp de stockage sur disque dur (NAS sur le réseau).



Je n'y connais rien en chromebook.

Cependant, je gère un parc informatique où des utilisateurs demandent 
des portables puissant. Ils en reviennent tous. Des Dell avec des CPU 
Xeon ou i7 pour y lancer des calculs comme avec des logiciels comme 
Stata, mathématica, matlab. Les portables finissent par "cuire" et 
viennent ensuite des dysfonctionnements aléatoires.
Bref, je déconseille à qui veut de la puissance d'acheter un ordinateur 
portable. Si vous voulez de la puissance, le PC de bureau form factor 
tour, c'est le mieux et le plus durable.



--
AI Gestionnaire d'infrastructure/ Gestionnaire de Parc.
Centre d'économie S**
Monero (XMR) - The secure, private, untraceable cryptocurrency
that keeps your money confidential.
Grassroots. Open source. Dedicated to privacy & freedom.
Monero || #xmr


smime.p7s
Description: Signature cryptographique S/MIME


Re: PC desktop ou Laptop pour debian

2022-12-07 Thread ajh-valmer
> Le 07/12/2022 à 10:22, Denis Fertin a écrit :
> > un gentil cambrioleur est parti avec mon laptop HP debian agé mais 
> > néanmoins fidèle.
> > Je cherche à la remplacer à moindre frais (l'assureur n'a pas récompensé 
> > son âge valeureux).
> > Est-il possible d'installer en double boot sur un chrome book?

Désolé pour toi de subir un cambriolage, espérant qu'il n'a pas volé autres 
choses...

On trouve facilement des laptop Intel i-3 d'occasion à prix petits prix.
C'est ce que j'ai, et ça marche très bien avec un GNU/Linux.
On trouve même des neufs en fin de série dans des boutiques,
mais ça dépend de tes besoins en matière de puissance,
RAM, disque dur SSD ou pas, capacité du DD, carte vidéo intégrée
à la CM ou non.

Bonne recherche fructueuse pour un laptop en ce sens,

ajh. Valmer



Re: TBird mail

2022-12-07 Thread Greg Wooledge
On Tue, Dec 06, 2022 at 09:57:11PM -0600, David Wright wrote:
> Make a change to your preferences, save it, then:
> 
>   $ find . -type f -mmin -1440 -printf '%Ta%TH:%TM:%.5TS%11s  %P\n' | sort -n 
> -k 2 | less # one day
> 
> Edit the . to a reasonable top of tree, 1440 to more like ten,
> and the sort order, 2 (size) to 1 (timestamp) or 3 (filename).
> 
> That command will tell you what change in the last few minutes.

Here's my version:

rlart() {
  local day time path
  find "${1:-.}" -type f -printf '%T@ %TY-%Tm-%Td %TT %p\0' |
sort -zn |
while read -rd '' _ day time path; do
  printf '%s %s %s\n' "$day" "${time%.*}" "$path"
done
}

No restriction on time, so you'd probably pipe it to something like
tail, or tail -n20.  Or pipe it to less, then jump to the bottom ("G")
and read upward.  Or... don't pipe it at all, let it spew the whole
result to the terminal, then just start reading upward, scrolling if
needed.



Re: PC desktop ou Laptop pour debian

2022-12-07 Thread hamster

Le 07/12/2022 à 10:22, Denis Fertin a écrit :

Bonjour la liste,

un gentil cambrioleur est parti avec mon laptop HP debian agé mais 
néanmoins fidèle.
Je cherche à la remplacer à moindre frais (l'assureur n'a pas récompensé 
son âge valeureux).

Est-il possible d'installer en double boot sur un chrome book?

Je serais preneur des conseils avisés des membres de cette liste sans 
doute plus compétents que moi sur le H/W.
Je veux de la puissance CPU mais pas nécessairement un laptop et je n'ai 
pas besoin de bcp de stockage sur disque dur (NAS sur le réseau).


Mon habitude c'est de faire un tour de temps en temps a la déchetterie 
du coin. C'est fou ce qu'on y trouve. Y'a souvent un détail qui fait que 
ca marche plus, du genre le disque dur qui est mort, mais on finit par 
en trouver un ou le détail est facile a résoudre. Tu trouvera facilement 
un truc nettement plus puissant que ton valereux laptop du 3e age.


Pour les demandes plus spéciales, du genre "de la puissance CPU" je vais 
plutot vers de l'occasion sur leboncoin ou autre.


Après, ca dépend aussi de ce que tu appelle "de la puissance CPU".



Re: /boot/grub/grub.cfg menu entries

2022-12-07 Thread Siard
> > To re-enable this, set GRUB_DISABLE_OS_PROBER=false in /etc/default/grub.
> 
>Thanks! But I did that, ran update-grub which reported:
> 
> > Warning: os-prober will be executed to detect other bootable partitions.
> > Its output will be used to detect bootable binaries on them and create
> > new boot entries.
> > Found Debian GNU/Linux 11 (bullseye) on /dev/sdg1
> 
>Which is all way cool -- that sounds like it's going to do what I
> want.
> 
>But on reboot, I'm left with my plain old menu listing only the
> existing menu entry of booting off /dev/sdf1.

Do you have os-prober installed?
You can also try os-prober as root and see if it detects the other partitions.



Re: Kate and auto-indent

2022-12-07 Thread Richard Owlett

rhkra...@gmail.com wrote:

On Tuesday, December 06, 2022 09:53:11 AM Richard Owlett wrote:

It worked acceptably on Debian 9.13 . I have to read manual to see if I
can make a cosmetic tweak.


If you describe the cosmetic tweak you need, I (or someone else) *might* be
able to help.



Perhaps "cosmetic" was a poor word choice.
The programmers may have produced something better than what I was 
thinking of. I want to read the Kate documentation first.









Re: PC desktop ou Laptop pour debian

2022-12-07 Thread NoSpam

Bonjour

Le 07/12/2022 à 10:22, Denis Fertin a écrit :

Bonjour la liste,

un gentil cambrioleur est parti avec mon laptop HP debian agé mais 
néanmoins fidèle.
Je cherche à la remplacer à moindre frais (l'assureur n'a pas 
récompensé son âge valeureux).

Est-il possible d'installer en double boot sur un chrome book?


Dual boot je ne sais pas, en tous cas Debian en MV fonctionne bien ;)

Voici une vidéo pour un exemple d'installation 
https://www.youtube.com/watch?v=Oxk8f-HkEmg




Je serais preneur des conseils avisés des membres de cette liste sans 
doute plus compétents que moi sur le H/W.
Je veux de la puissance CPU mais pas nécessairement un laptop et je 
n'ai pas besoin de bcp de stockage sur disque dur (NAS sur le réseau).



Cordialement

[Résolu] Indexeur de fichier type mlocate avec GUI

2022-12-07 Thread benoit
Le mardi 6 décembre 2022 à 00:04, didier gaumet  a 
écrit :
>
> Peut-être la fonction recherche de ton gestionnaire de fichiers GUI?
> Avec Nautilus (Gnome) par exemple si je recherche toto il me balance une
> liste contenant d'abord les fichiers incluant toto dans leur nom et
> ensuite ceux incluant toto dans leur contenu...


Bonjour,

En effet ça fonctionne avec Nautilus, j'ai créé un nouveau fichier alors que je 
suis sous openbox sans gnome.
Pour faire un test avec un DE, j'ai installé GNOME, je n'ai pas aimé mon 
expérience sous GNOME, car je n'ai pas immédiatement trouvé les options de 
config avancées, tels que disposer les bureaux en trois lignes deux colonnes, 
mais c'est juste pour le test.

Sous gnome, il y a un processus démon qui gère l'indexation, c'est magique... 
;-)
Le processus tracker fonctionne tout seul au démarrage.
\ps -aux | grep tracker 
benoit  1800  0.0  0.5 724680 30476 ?SNsl 10:17   0:00 
/usr/libexec/tracker-miner-fs

Et comme tu dis, j'ai l'impression que nautilus interroge la DB de tracker... 

Ma façon d'expliquer la magie, c'est que l'installation de GNOME a créé :
/etc/xdg/autostart/tracker-extract.desktop
/etc/xdg/autostart/tracker-miner-fs.desktop

Du coup, ça fonctionne, même si je lance openbox sans GNOME.

Pour savoir quel paquet installe : /etc/xdg/autostart/tracker-extract.desktop

J'ai fais une recherche sur :
https://www.debian.org/distrib/packages#search_contents
Avec la chaîne "/etc/xdg/autostart/tracker-extract.desktop"

Et c'est https://packages.debian.org/bullseye/tracker-extract qui est 
ressortit, probablement une dépendance de GNOME.

Du coup, merci @tous, on peut dire que pour l'instant j'ai ce que je veux.

--
Benoit







Re: dep hell NOT with Trinity

2022-12-07 Thread Anssi Saari
Bret Busby  writes:

> It is perhaps, the oldest surviving email application (through its
> incarnations)

I did just see a patch for Elm posted in alt.sources so Alpine is maybe
the second oldest surviving email client. Not that it's packaged for
Debian. Looks like they offer .deb creation scripts though at
http://www.elmme-mailer.org/




Re: PC desktop ou Laptop pour debian

2022-12-07 Thread didier gaumet

Le 07/12/2022 à 10:22, Denis Fertin a écrit :

Bonjour la liste,

un gentil cambrioleur est parti avec mon laptop HP debian agé mais 
néanmoins fidèle.
Je cherche à la remplacer à moindre frais (l'assureur n'a pas récompensé 
son âge valeureux).

Est-il possible d'installer en double boot sur un chrome book?

Je serais preneur des conseils avisés des membres de cette liste sans 
doute plus compétents que moi sur le H/W.
Je veux de la puissance CPU mais pas nécessairement un laptop et je n'ai 
pas besoin de bcp de stockage sur disque dur (NAS sur le réseau).



Cordialement


Bonjour,

(je n'ai aucune expérience des Chromebooks ou de ChromeOS)

Il y a un article (en anglais) de PCMag ci-dessous qui résume bien les 
différentes options (émulation d'applis linux dans ChromeOS, chroot de 
distro linux dans ChromeOS, installation assisté en dual-boot 
ChromeOS-linux, installation linux traditionnelle):

https://www.pcmag.com/how-to/install-linux-on-your-chromebook

pour une installation traditionnelle par clé USB, tu dois probablement 
pouvoir faire du dual-bbot aussi même si ce n'est pas mentionné. Pas 
mentionné non plus mais il me semble avoir lu quelque part que le format 
GPT des chromebooks offre des spécificités. Dans Debian il me semble que 
le paquet cgpt prend en charge ces spécificités, mais je ne pense pas(?) 
qu'il soit présent dans les images d'installation Debian.


Et si tu as les références de chromebooks qui t'intéressent tu peux 
toujours regarder sur le site de Linux Hardware Database si des 
utilisateurs ont posté des résumés d'installation de distro linux:

https://linux-hardware.org/?view=computers

Tiens-nous au courant: perso je serais intéressé de savoir si c'est 
facile ou compliqué voire risqué d'installer en single ou dual boot une 
distro Linux sur un chromebook (je ne suis pas intéressé, à tort ou à 
raison, par l'émulation ou le chroot linux dans ChromeOS)




Re: dep hell NOT with Trinity (was: TBird mail)

2022-12-07 Thread gene heskett

On 12/7/22 04:02, Bret Busby wrote:

On 07/12/2022 14:36, Felix Miata wrote:

gene heskett composed on 2022-12-06 21:03 (UTC-0500):

I'd love to be able to install TDE, which would give me back the best
email agent linux ever had, kmail-3.5 but with all its bugs fixed, but
the first TDE package I select, generates over 300 hits of dependency
hell from synaptic.


Whilst I use Thunderbird (currently 102.4.2 (64-bit) ) as a webmail 
application, to access and deal with email on a multiple times daily, 
basis, my real email application, which you should perhaps try, is 
alpine, the MUA previously known as pine. It is simple to install and 
use, and, very powerful (I currently have about 20GB of email, going 
back about twenty years, that it manages, with hundreds of filters, and, 
hundreds of folders.


It is perhaps, the oldest surviving email application (through its 
incarnations), and, it is the most powerful, and stable, email 
application that I have encountered. I think that I have been using it 
for about thirty years.



Sounds like I could be a user, Bret.  Can it import from t-bird?
Thank you.

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

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: dep hell NOT with Trinity

2022-12-07 Thread Felix Miata
gene heskett composed on 2022-12-07 04:21 (UTC-0500):

> here, tde is dependency hell. And IDK why.

Did you ever start with a completed bare bones minimal (no X) installation,
followed by a minimal TDE installation, which pulls in only as much of X as it
requires, and rebooting, before adding preempt, CNC or anything else? Capturing
screen output from installation failures should be easy if done with apt in 
Konsole.

> Can I have synaptic keep a list so I could post it?

List of what? Post for what reason?
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: hamburger menu (was: TBird mail)

2022-12-07 Thread gene heskett

On 12/7/22 03:33, Felix Miata wrote:

gene heskett composed on 2022-12-07 03:02 (UTC-0500):


Hamburger? does not exist.


Not likely you're right on this one. If using alternate theming on your web
browsers I suppose it could be missing.



firefox won't show this page.





But this one does. Apparently called Hamburger because the 3 bars icon 
resemble the layers of the sandwich. I guess I'll have to install 
Jargon? ;o)>


Thanks Felix.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: TBird mail

2022-12-07 Thread gene heskett

On 12/7/22 03:33, Kamil Jońca wrote:

gene heskett  writes:


On 12/6/22 22:53, Max Nikulin wrote:

On 07/12/2022 06:58, gene heskett wrote:

profiledir:

what or where is this "profiledir:"? after sudo updatedb today, I
find

Querying search engine "thunderbird profile directory" gives
https://support.mozilla.org/en-US/kb/profiles-where-thunderbird-stores-user-data
http://kb.mozillazine.org/Profile_folder_-_Thunderbird
How to find your profile
- Click on the menu button or menu bar.
- From the Help menu, click Troubleshooting Information.
- In the Application Basics section, Profile Directory, click on
Open Directory.
- The Files window will show the name of the profile as well as the
path to it.


And when I find it. the prefs.js file does not contain any of the
strings mentioned in the reply I quoted and everyone but you have
clipped.

Am I to add these below? According to the top of the file, t-bird must
be stopped before editing as it saves this anew when stopping.






 user_pref("mail.quoteasblock", false);
 user_pref("mail.quoted_graphical", false);




I am not sure, but ... prefs.js is overwritten by thunderbird, if you
want changes to be persistend you should edit (possibly create) user.js
file.


I assume in this same subdir?




Thank you Kamil

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



PC desktop ou Laptop pour debian

2022-12-07 Thread Denis Fertin
Bonjour la liste,

un gentil cambrioleur est parti avec mon laptop HP debian agé mais
néanmoins fidèle.
Je cherche à la remplacer à moindre frais (l'assureur n'a pas récompensé
son âge valeureux).
Est-il possible d'installer en double boot sur un chrome book?

Je serais preneur des conseils avisés des membres de cette liste sans doute
plus compétents que moi sur le H/W.
Je veux de la puissance CPU mais pas nécessairement un laptop et je n'ai
pas besoin de bcp de stockage sur disque dur (NAS sur le réseau).


Cordialement


Re: dep hell NOT with Trinity (was: TBird mail)

2022-12-07 Thread gene heskett

On 12/7/22 01:36, Felix Miata wrote:

gene heskett composed on 2022-12-06 21:03 (UTC-0500):
  

I'd love to be able to install TDE, which would give me back the best
email agent linux ever had, kmail-3.5 but with all its bugs fixed, but
the first TDE package I select, generates over 300 hits of dependency
hell from synaptic.
  
All my Debians, which I don't keep count of but surely must number in excess

of 50, are /originally/ installed NET, usually by loading the installation
kernel and initrd using Grub, and using a kernel cmdline that includes the
following options:

   netcfg/confirm_static=true tasks=standard 
base-installer/install-recommends=false

IIRC this gives me a Debian with zero X installed, though I could be remembering
wrong and getting a minimal X lacking all the well known DEs and leaving me with
only IceWM and startx.

Next I don't remember whether /etc/apt/apt.conf.d/00InstallRecommends has been
created as a consequence of those command line options, or I make it myself, as
it's been a while since I needed a fresh installation, but it contains:

   APT::Install-Recommends "false";

Only after this is done, I follow the /optional/ instructions on:

   


This means after sources & GPG configuration, I do:

apt install tdebase-trinity tdm-trinity konsole-trinity 
ksnapshot-trinity

Once this completes & I reboot to TDM, it's just a matter of logging in and 
checking
which extra packages I want that the base install didn't include, then adding 
them
with apt or aptitude. I have a working installation with no dependency 
shenanigans,
and no Gnome or other bloat that installing web browsers doesn't force.

I think I may have opened synaptic many many moons ago in *buntu before I ever
installed a Debian, but I doubt any of my Debians have synaptic installed. Only
apt/apt-get/aptitude are used for software installations here.

The currently booted state is:

# inxi -S
System:
   Host: gb250 Kernel: 5.19.0-2-amd64 arch: x86_64 bits: 64 Desktop: Trinity
 v: R14.0.13 Distro: Debian GNU/Linux bookworm/sid
# df -h /
Filesystem   Size  Used Avail Use% Mounted on
/dev/nvme0n1p13  7.7G  4.3G  3.1G  59% /
# dpkg -l | grep trinity | wc -l
45
# dpkg -l | wc -l
883

Stats are similar with my Busters and Bullseyes, most of which are online
upgrades from Stretch or earlier releases. On this particular host, Buster
was the virgin on a then new Gigabyte Kaby Lake motherboard with NVME.


While this is a relatively new Asus. And I've run aptitude about 10 
times but I do not let it do anything to my systems, 4 times now I've 
lost it all and had to re-install from the dvd's because aptitude 
removes anything that gets in the way. Last time was removing gedit 
after it destroyed a working LinuxCNC the third time, it took the 
kernel. all of gnome and all of x ANAICT. So I don't trust it to 
actually DO anything. apt, apt-get, dpkg, synaptic all just work. But 
here, tde is dependency hell. And IDK why.


Can I have synaptic keep a list so I could post it?

Thanks Felix.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: hamburger menu

2022-12-07 Thread Kamil Jońca


Kamil Jońca  writes:

> Felix Miata  writes:
>
>> gene heskett composed on 2022-12-07 03:02 (UTC-0500):
>>
>>> Hamburger? does not exist.
>>
>> Not likely you're right on this one. If using alternate theming on your web
>> browsers I suppose it could be missing.
>
> Well. I am afraid he is.
> Although it exists in Firefox, I checked and I don't have it in
> thunderbird.
>
> Config editor is still under
> Edit -> Settings -> (Revind to bottom)
>

Well, I must correct myself. Hamburger menu indeed exists in "Mail
Toolbar" at the right.  :/ I overlooked it, as I search at "Menu Toolbar"

Thunderbird 102.5.1 (64-bit)
KJ

-- 
http://wolnelektury.pl/wesprzyj/teraz/



Re: hamburger menu

2022-12-07 Thread Kamil Jońca
Felix Miata  writes:

> gene heskett composed on 2022-12-07 03:02 (UTC-0500):
>
>> Hamburger? does not exist.
>
> Not likely you're right on this one. If using alternate theming on your web
> browsers I suppose it could be missing.

Well. I am afraid he is.
Although it exists in Firefox, I checked and I don't have it in
thunderbird.

Config editor is still under
Edit -> Settings -> (Revind to bottom)

>
[...]

>
> 

But this is for firefox, not thunderbird.

KJ

-- 
http://wolnelektury.pl/wesprzyj/teraz/



Re: dep hell NOT with Trinity (was: TBird mail)

2022-12-07 Thread Bret Busby

On 07/12/2022 14:36, Felix Miata wrote:

gene heskett composed on 2022-12-06 21:03 (UTC-0500):
  

I'd love to be able to install TDE, which would give me back the best
email agent linux ever had, kmail-3.5 but with all its bugs fixed, but
the first TDE package I select, generates over 300 hits of dependency
hell from synaptic.
  


Whilst I use Thunderbird (currently 102.4.2 (64-bit) ) as a webmail 
application, to access and deal with email on a multiple times daily, 
basis, my real email application, which you should perhaps try, is 
alpine, the MUA previously known as pine. It is simple to install and 
use, and, very powerful (I currently have about 20GB of email, going 
back about twenty years, that it manages, with hundreds of filters, and, 
hundreds of folders.


It is perhaps, the oldest surviving email application (through its 
incarnations), and, it is the most powerful, and stable, email 
application that I have encountered. I think that I have been using it 
for about thirty years.


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



Re: TBird mail

2022-12-07 Thread gene heskett

On 12/6/22 22:57, David Wright wrote:

On Tue 06 Dec 2022 at 21:03:47 (-0500), gene heskett wrote:

On 12/6/22 19:39, Felix Miata wrote:

gene heskett composed on 2022-12-06 18:58 (UTC-0500):

Felix Miata wrote:

gene heskett composed on 2022-06-15 06:34 (UTC-0400):



What the heck is this vertical bar it uses for a quote level



That's taken care of here with one or both of these two entries in prefs.js in 
the
profiledir:



what or where is this "profiledir:"?


Mozilla's own product profiles can be located anywhere a user chooses to put 
them.
Profile names and locations are controlled for

Firefox in ~/.mozilla/firefox/profiles.ini.
SeaMonkey in ~/.mozilla/seamonkey/profiles.ini
ThunderBird in ~/.thunderbird/profiles.ini

Derivatives of them may be in a subdirectory in ~/.config/ or in ~/.*, such as

Pale Moon in ~/.moonchild productions/pale moon/profiles.ini
...

/home/gene/.thunderbird/f37v8icg.default-default/prefs.js

...

I count 8 prefs.js in the above list, so which one is actually being
talked about here?


Verify by examining ~/.thunderbird/profiles.ini.


Thank you Felix.

I did that but the prefs.js at that address does not contain any of
the the strings referenced in the original reply from Chuck Zmudzinski
on 6/18/22.


Make a change to your preferences, save it, then:

   $ find . -type f -mmin -1440 -printf '%Ta%TH:%TM:%.5TS%11s  %P\n' | sort -n 
-k 2 | less # one day

Edit the . to a reasonable top of tree, 1440 to more like ten,
and the sort order, 2 (size) to 1 (timestamp) or 3 (filename).

That command will tell you what change in the last few minutes.


I'd love to be able to install TDE, which would give me back the best
email agent linux ever had, kmail-3.5 but with all its bugs fixed, but
the first TDE package I select, generates over 300 hits of dependency
hell from synaptic.


/var/log/apt/history keeps a record of what's installed by APT.
Look at the current contents and see whether that's true for
synaptic. If so, go for it; you can easily purge them all again
if you don't get what you want, by editing the history.

BTW, following the current rowlett thread, and seeing recommendations
for kate as an autoindenting editor, I typed:

   $ apt-get -s install kate

to give, with Recommends included:

   0 upgraded, 167 newly installed, 0 to remove and 0 not upgraded.

So 300 packages for a DE doesn't seem unreasonable.


That I would be ok with, but it wants to totally purge the rest of the 
install, including all of X11, not at all encouraging.


And rebooting now is scary, since mid october it sits dead in the water 
for anywhere up to 20 minutes with zero disk activity before loading 
grub or the bios editor. Exiting the bios editor to do yet another 
reboot, kills another 10 to 20 minutes before it loads the grub menu.


Once it boots, it runs pretty normally. The latest memtest86 update I 
have, downloaded about 6 months ago, gives the 32GB of memory a clean 
bill of health.


I have a usb tree that looks like a 30 year old weeping willow, lots of 
stuff including 2 usb<->serial adaptors, neither of which are connected 
to anything even remotely resembling a tty for the blind, but the 
installer doesn't ask if I want orca or brltty, it just puts them in 
rendering the machine unusable to a sighted, hearing person.


But it took 20+ installs for someone to tell me I had to unplug all that 
stuff to do a normal install. Buster Just Worked, bullseye has been a 
disaster from the gitgo. Most of that disaster created by the installer 
going bats--- crazy when it finds a usb<->serial adapter. It might be 
connected to a cm11a for home automation, it might be connected to a ups 
but the installer ASSUMES its connected to a tty and puts all that stuff 
in w/o asking the user. The chance of actually having a tty are under 
1%, ASK the user!



So I'm stuck with t-bird and its plethora of oddly spec'd hot keys
that do nothing for the user but screw things up, many times doing
nothing but stealing the focus w/o any popup. Just typing to reply to
this msg has caused 6 pop-ups that had to be closed before I could
resume typing in the middle of a word. Twice I've had to reclick on
the blinking curser before it would resume accepting what I type. Yet
folks accept that? More bugs than a 10 day old road kill in the
northern hemispheres July.


Cheers,
David.

.

Take care and stay well everybody.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Mozilla prefs.js & user.js (was: TBird mail)

2022-12-07 Thread Felix Miata
Kamil Jońca composed on 2022-12-07 09:16 (UTC+0100):

> gene heskett wrote:

>> Am I to add these below? According to the top of the file, t-bird must
>> be stopped before editing as it saves this anew when stopping.

>> user_pref("mail.quoteasblock", false);
>> user_pref("mail.quoted_graphical", false);

> I am not sure, but ... prefs.js is overwritten by thunderbird, if you
> want changes to be persistend you should edit (possibly create) user.js
> file.

To edit a Mozilla profile's prefs.js file successfully requires the app be 
closed
and the additions be placed in alphabetical order. Mozilla apps rewrite the file
with every use, so you cannot expect random changes to stick. Those you wish
guaranteed to persist must be written to user.js, which you must create and 
manage
all by yourself instead. Mozilla apps treat user.js as a readonly file to be 
read
at each startup.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: Capturar nombre de interfase

2022-12-07 Thread Camaleón
El 2022-12-07 a las 08:33 +0100, Camaleón escribió:

> El 2022-12-06 a las 20:10 -0300, Gerardo Braica escribió:
> 
> > Buenas a todos.
> > Mi duda no es exactamente sobre Debian pero seguramente conocen la
> > respuesta.
> > Habitualmente uso scripts propios, muy simples , para tareas repetitivas.
> > Por ejemplo hice uno para todo lo que sea actualizacion del sistema para
> > que en lugar de escribir sudo apt update todos los dias solamente marco el
> > 1.
> > Ahora estoy haciendo uno para todo el proceso de macchanger, o sea cargar
> > una variable con el nombre de la interfase de red, bajarla, macchanger -a y
> > volver a subirla.
> > El tema es que no se como obtener el nombre de la interfase, por el momento
> > ejecuto ifconfig desde el script y hago que el script me pregunte el nombre
> > para pegarlo "a mano" y de ahi sigue solo.
> > ¿Hay alguna forma de ejecutar ifconfig y capturar la salida pero solamente
> > el nombre de la interfaz?
> 
> Si sabes el nombre canónico de la interfaz, puedes usar la información 
> del kernel que está estructurada y es perfecta para usarla en guiones 
> de programación porque no hay que darle formato a la salida. Por ejemplo:

(...)

Pensé que buscabas saber la dirección MAC de una interfaz concreta (de 
ahí el mensaje anterior) pero si lo que quieres saber es el nombre de la
interfaz de red activa y almacenarlo en una variable, puedes usar:

sm01@stt008:~$ myvar=`ip addr | awk '/state UP/ {print substr($2, 1, 
length($2)-1)}'`; echo $myvar
enp0s25

Saludos,

-- 
Camaleón 



Re: hamburger menu (was: TBird mail)

2022-12-07 Thread Felix Miata
gene heskett composed on 2022-12-07 03:02 (UTC-0500):

> Hamburger? does not exist.

Not likely you're right on this one. If using alternate theming on your web
browsers I suppose it could be missing.




-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: TBird mail

2022-12-07 Thread Kamil Jońca
gene heskett  writes:

> On 12/6/22 22:53, Max Nikulin wrote:
>> On 07/12/2022 06:58, gene heskett wrote:
> profiledir:
>>> what or where is this "profiledir:"? after sudo updatedb today, I
>>> find 
>> Querying search engine "thunderbird profile directory" gives
>> https://support.mozilla.org/en-US/kb/profiles-where-thunderbird-stores-user-data
>> http://kb.mozillazine.org/Profile_folder_-_Thunderbird
>> How to find your profile
>> - Click on the menu button or menu bar.
>> - From the Help menu, click Troubleshooting Information.
>> - In the Application Basics section, Profile Directory, click on
>> Open Directory.
>> - The Files window will show the name of the profile as well as the
>> path to it.
>> 
> And when I find it. the prefs.js file does not contain any of the
> strings mentioned in the reply I quoted and everyone but you have
> clipped.
>
> Am I to add these below? According to the top of the file, t-bird must
> be stopped before editing as it saves this anew when stopping.


>
> user_pref("mail.quoteasblock", false);
> user_pref("mail.quoted_graphical", false);



I am not sure, but ... prefs.js is overwritten by thunderbird, if you
want changes to be persistend you should edit (possibly create) user.js
file.


-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html



Xen backup and restore

2022-12-07 Thread Toth Zoltan
Hi Everybody

I am looking for a solution to backup and restore xen domU under
debian, but I did not anything.
How can I save and restore xen virtual machine.
I have found "xe"  command, but it cant find deb package only rpm :-(
Can somobody help me ?

Thanks
Zoltan



Re: Killing bluetooth dead

2022-12-07 Thread dave
Just replying here in case it helps others in the future.  I've managed
to resolve my problem by disabling Bluetooth in the BIOS/UEFI config.

On Tue, Dec 06, 2022 at 08:50:24AM -0600, David Wright wrote:
> On Tue 06 Dec 2022 at 14:25:02 (-), Curt wrote:
> 
> I have twenty bluetooth modules in
> /lib/modules/5.10.0-19-amd64/kernel/drivers/bluetooth/
> 
> $ grep 'Reading Intel version' 
> /lib/modules/5.10.0-19-amd64/kernel/drivers/bluetooth/*
> grep: /lib/modules/5.10.0-19-amd64/kernel/drivers/bluetooth/btintel.ko: 
> binary file matches
> grep: /lib/modules/5.10.0-19-amd64/kernel/drivers/bluetooth/hci_uart.ko: 
> binary file matches
> $ 

I have identical results here.  Thanks for the tip on finding where
those kinds of messages come from - I'm sure it will be useful for
troubleshooting future problems.

> > I have /etc/bluetooth/main.conf and /etc/default/bluetooth (but maybe
> > you don't). 
> > 
> > If you do, though, have one or both of those files, for the former:
> > 
> >  AutoEnable=false
> > 
> > and the latter
> > 
> >  BLUETOOTH_ENABLED=0

I don't have either of those on the system in question:

$ ls /etc/bluetooth
ls: cannot access '/etc/bluetooth': No such file or directory
$ ls /etc/default/bluetooth
ls: cannot access '/etc/default/bluetooth': No such file or directory

Strange that it was trying to load bluetooth modules when so much of the
bluetooth ecosystem doesn't seem to be installed, but, *shrug*.

-- 
Dave Sherohman



Re: TBird mail (was: user perms)

2022-12-07 Thread gene heskett

On 12/6/22 22:53, Max Nikulin wrote:

On 07/12/2022 06:58, gene heskett wrote:

profiledir:
what or where is this "profiledir:"? after sudo updatedb today, I find 


Querying search engine "thunderbird profile directory" gives
https://support.mozilla.org/en-US/kb/profiles-where-thunderbird-stores-user-data
http://kb.mozillazine.org/Profile_folder_-_Thunderbird

How to find your profile

- Click on the menu button or menu bar.
- From the Help menu, click Troubleshooting Information.
- In the Application Basics section, Profile Directory, click on Open 
Directory.
- The Files window will show the name of the profile as well as the path 
to it.


And when I find it. the prefs.js file does not contain any of the 
strings mentioned in the reply I quoted and everyone but you have clipped.


Am I to add these below? According to the top of the file, t-bird must 
be stopped before editing as it saves this anew when stopping.



user_pref("mail.quoteasblock", false);
user_pref("mail.quoted_graphical", false);


You may bypass looking up for the profile directory and change or create 
any options in Hamburger menu / Settings / Config Editor (at the bottom 
of the page).



Hamburger? does not exist.
Confusing...


.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page