Re: Blockchain ?

2022-12-06 Thread Olivier backup my spare



Le 05/12/2022 à 19:14, ptilou a écrit :

Slt,



Le lundi 5 décembre 2022 à 14:40:03 UTC+1, Olivier backup my spare a écrit :

Bonjour

Pour ubuntu sur Mac, il faut jeter un oeil sur le wiki ubuntu.


Alors je l’ai télécharger de la bibliothèque de Stockholm, avec un ordinateur 
de la bibliothèque ….
Cette apres midi je cherche à faire une cles mac, j’avais oublié fdisk et 56 t, 
etc …
Et il me sort des images de cul, je suis à l’université de Stockholm, loger 
comme conférencier temporaire…..

En quoi ça me concerne? Si tu ne sais pas télécharger jesaispasquoi, 
c'est ton problème. Se justifier en sous entendant que la source, le 
wiki ubuntu, est vérolé c'est mesquin.
Tu es à l'université de Stockholm. Tu crois que ça m'impressionne? Moi 
je suis à l'université Panthéon-Sorbonne. Des conférenciers (des relous 
avec un melon pas possible), j'en vois tous les jours, ça ne me change 
pas du quotidien.




Au sujet du blockchain. Ne confondez pas blockchain et bitcoin. Bitcoin
fait partie du blockchain mais il n'est pas le blockchain.


J’ai jamais parlé de bitcoin …


Oui, effectivement mais tu as parlé de GPU pour le blockchain. Ce sont 
les gens influencés par bitcoin qui pense GPU = blockchain



J’ai parlé de ce livre la :

https://www.oreilly.com/library/view/blockchain/9781491920480/



Tu te fies à une seule source d'information? Et en plus ta source 
d'information c'est O'reilly... Pour un conférencier...





Le blockchain ne nécessite pas un gpu, il peut nécessiter un CPU.
Monero, une crypto monnaie intracable n'utilise que le CPU.


Va lire le livre tu vas comprendre tes erreurs !



Non, toi va lire beaucoup plus d'ouvrages sur le blockchain. Le 
blockchain ne nécessite pas de la puissance GPU comme tu l'indiques.


Viens étudier dans mon laboratoire d'économie à la Sorbonne, tu vas y 
apprendre beaucoup de choses mais comme tu es conférencier tu n'as rien 
à apprendre, c'est toi qui apprends aux autres, hein?



Merci, de m'oublier. Je ne suis pas sur la liste Debian pour y retrouver 
les relous de mon quotidien.


Bonne continuation
Et bienvenue dans ma bozolist

--
AI Gestionnaire d'infrastructure/ Gestionnaire de Parc.
Centre d'économie S**
“It is possible to commit no errors and still lose. That is not a 
weakness. That is life.”

– Captain Jean-Luc Picard to Data


smime.p7s
Description: Signature cryptographique S/MIME


Re: Capturar nombre de interfase

2022-12-06 Thread Camaleón
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:

sm01@stt008:~$ ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN 
group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
inet6 ::1/128 scope host 
   valid_lft forever preferred_lft forever
2: enp17s0:  mtu 1500 qdisc noop state DOWN group 
default qlen 1000
link/ether 00:1d:0f:be:b6:ad brd ff:ff:ff:ff:ff:ff
3: enp0s25:  mtu 1500 qdisc pfifo_fast 
state UP group default qlen 1000
link/ether 00:30:48:d9:08:27 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.8/24 brd 192.168.0.255 scope global enp0s25
   valid_lft forever preferred_lft forever
inet6 2a0c:5a80:3103:c900:230:48ff:fed9:827/64 scope global dynamic 
mngtmpaddr 
   valid_lft forever preferred_lft forever
inet6 fe80::230:48ff:fed9:827/64 scope link 
   valid_lft forever preferred_lft forever

En mi caso la tarjeta de red activa es «enp0s25», ahora ya puedo 
ejecutar la consulta que me devuelve una sola cadena de texto con la 
dirección MAC del adaptador de red:

sm01@stt008:~$ cat /sys/class/net/enp0s25/address
00:30:48:d9:08:27

Bonus: la utilidad «ip» también permite cambiar la dirección MAC.

Saludos,

-- 
Camaleón 



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

2022-12-06 Thread Felix Miata
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.
-- 
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: /boot/grub/grub.cfg menu entries

2022-12-06 Thread Intense Red
> 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.


-- 
"Speaking the Truth in times of universal deceit is a revolutionary act." -- 
George Orwell





Re: aptitude update / upgrade broke my Rapbian bullseye

2022-12-06 Thread Jeffrey Walton
On Wed, Dec 7, 2022 at 12:33 AM Steve Keller  wrote:
>
> On Nov 26, I upgraded a Raspberry 4 from buster to bullseye using the
> standard procedure of edit /etc/apt/sources.list and then apt-get
> update && apt-get dist-upgrade.  Everything went fine, it ran stable
> for some days and one annoying bug in the openbox window manager
> occured less often.
>
> On Dec 1, I did aptitude update && aptitude full-upgrade and it found
> lots of dependency problems.  It seems this was mainly caused by
> changing from gcc-8 to gcc-10 and python 3.7 to python 3.9.  I accepte
> the second suggestion to solve these problems, removing a couple of
> packages, and the whole upgrade process seemed to work smoothly.
>
> But on the following reboot, it showed lots of problems:
>
> 1. dhcpcd doesn't reliably get its config, /etc/resolv.conf remains
>empty and the eth0 interface doesn't get an IP address.
>
> 2. Because of 1. NFS mounts fail
>
> 3. With restarting dhcpcd this gets fixed but after some time
>(e.g. hours) dhcpcd fails again repeatedly with
>
>   dhcpcd[416]: ipv6nd_sendadvertisement: No buffer space available
>
> 4. Even when dhcpcd had success and the network is configured,
>avahi-daemon for no apparent reason eventually changes the
>interface address.  From daemon.log:
>
> Dec  4 20:04:50  avahi-daemon[321]: Withdrawing address record for 
> 10.0.0.8 on eth0.
> Dec  4 20:04:50  connmand[328]: eth0 {del} address 10.0.0.8/24 label 
> eth0
> Dec  4 20:04:50  connmand[328]: eth0 {del} route 10.0.0.0 gw 0.0.0.0 
> scope 253 
> Dec  4 20:04:50  connmand[328]: eth0 {del} route 10.0.0.254 gw 
> 10.0.0.254 scope 0 
> Dec  4 20:04:50  connmand[328]: eth0 {del} route 0.0.0.0 gw 10.0.0.254 
> scope 0 
> Dec  4 20:04:50  dhcpcd[416]: eth0: adding default route
> Dec  4 20:04:50  dhcpcd[416]: eth0: pid 0 deleted default route
> Dec  4 20:05:34  avahi-daemon[321]: Registering new address record for 
> 169.254.129.129 on eth0.IPv4.
> Dec  4 20:05:34  connmand[328]: eth0 {add} address 169.254.129.129/16 
> label eth0 family 2
> Dec  4 20:05:34  connmand[328]: eth0 {add} route 0.0.0.0 gw 0.0.0.0 
> scope 253 
>
> 5. Also connmand, which I hadn't in buster, continously logs messages
>to daemon.log every few seconds:
>
> Dec  7 05:48:34  connmand[328]: Skipping server 10.0.0.254 KoD code RATE
> Dec  7 05:48:43  connmand[328]: Skipping server 10.0.0.1 KoD code RATE
> Dec  7 05:48:52  connmand[328]: Skipping server 10.0.0.1 KoD code RATE
> Dec  7 05:48:57  connmand[328]: Skipping server 10.0.0.254 KoD code RATE
> Dec  7 05:49:06  connmand[328]: Skipping server 10.0.0.1 KoD code RATE
>
> 6. The whole network seems unreliable.
>
> 7. A couple of changes in the GUI, which I don't care about much at the 
> moment:
>
>The Debian logo in the top left of the panel where you get the
>start menu for app is replaced by a green arrow pointing left.
>
>The small icons in the start menus to launch apps are missing
>
>The entries in the panel for audio volume, network, and keyboard
>language are missing.
>
> 8. I think there were some other minor issue which I currently don't
>remember.
>
> Now I wonder if there is a chance to get all these things fixed or if
> a fresh re-install would be easier, faster, and more sucessful.
>
> I think, first I should remove connmand, since I don't know what I'd
> need it for.

This smells (to me) like the SDcard is starting to go bad. I've had
several SDcards fail like this. In fact I used to encounter it
frequently because I would put a swapfile on the system.

(A swapfile was better than the compiler OOM errors. Killing the
compiler stopped my work dead in its tracks. With a swapfile I
expected the SDcard to fail in about three months).

Issue (4), avahi-daemon eventually changes the interface address,
sounds like that MAC address or IP address hardening. It's the one
where the address is randomized and rotated. See [1,2].

Does setting wifi.scan-rand-mac-address=no help with the issue?

[1] https://forums.debian.net/viewtopic.php?t=138939
[2] 
https://linux.debian.bugs.dist.narkive.com/k2IzRoYp/bug-879484-network-manager-should-default-to-non-random-mac-address-on-wifi

Jeff



aptitude update / upgrade broke my Rapbian bullseye

2022-12-06 Thread Steve Keller
On Nov 26, I upgraded a Raspberry 4 from buster to bullseye using the
standard procedure of edit /etc/apt/sources.list and then apt-get
update && apt-get dist-upgrade.  Everything went fine, it ran stable
for some days and one annoying bug in the openbox window manager
occured less often.

On Dec 1, I did aptitude update && aptitude full-upgrade and it found
lots of dependency problems.  It seems this was mainly caused by
changing from gcc-8 to gcc-10 and python 3.7 to python 3.9.  I accepte
the second suggestion to solve these problems, removing a couple of
packages, and the whole upgrade process seemed to work smoothly.

But on the following reboot, it showed lots of problems:

1. dhcpcd doesn't reliably get its config, /etc/resolv.conf remains
   empty and the eth0 interface doesn't get an IP address.

2. Because of 1. NFS mounts fail

3. With restarting dhcpcd this gets fixed but after some time
   (e.g. hours) dhcpcd fails again repeatedly with

  dhcpcd[416]: ipv6nd_sendadvertisement: No buffer space available

4. Even when dhcpcd had success and the network is configured,
   avahi-daemon for no apparent reason eventually changes the
   interface address.  From daemon.log:

Dec  4 20:04:50  avahi-daemon[321]: Withdrawing address record for 
10.0.0.8 on eth0.
Dec  4 20:04:50  connmand[328]: eth0 {del} address 10.0.0.8/24 label eth0
Dec  4 20:04:50  connmand[328]: eth0 {del} route 10.0.0.0 gw 0.0.0.0 
scope 253 
Dec  4 20:04:50  connmand[328]: eth0 {del} route 10.0.0.254 gw 10.0.0.254 
scope 0 
Dec  4 20:04:50  connmand[328]: eth0 {del} route 0.0.0.0 gw 10.0.0.254 
scope 0 
Dec  4 20:04:50  dhcpcd[416]: eth0: adding default route
Dec  4 20:04:50  dhcpcd[416]: eth0: pid 0 deleted default route
Dec  4 20:05:34  avahi-daemon[321]: Registering new address record for 
169.254.129.129 on eth0.IPv4.
Dec  4 20:05:34  connmand[328]: eth0 {add} address 169.254.129.129/16 
label eth0 family 2
Dec  4 20:05:34  connmand[328]: eth0 {add} route 0.0.0.0 gw 0.0.0.0 scope 
253 

5. Also connmand, which I hadn't in buster, continously logs messages
   to daemon.log every few seconds:

Dec  7 05:48:34  connmand[328]: Skipping server 10.0.0.254 KoD code RATE
Dec  7 05:48:43  connmand[328]: Skipping server 10.0.0.1 KoD code RATE
Dec  7 05:48:52  connmand[328]: Skipping server 10.0.0.1 KoD code RATE
Dec  7 05:48:57  connmand[328]: Skipping server 10.0.0.254 KoD code RATE
Dec  7 05:49:06  connmand[328]: Skipping server 10.0.0.1 KoD code RATE

6. The whole network seems unreliable.

7. A couple of changes in the GUI, which I don't care about much at the moment:

   The Debian logo in the top left of the panel where you get the
   start menu for app is replaced by a green arrow pointing left.

   The small icons in the start menus to launch apps are missing

   The entries in the panel for audio volume, network, and keyboard
   language are missing.

8. I think there were some other minor issue which I currently don't
   remember.

Now I wonder if there is a chance to get all these things fixed or if
a fresh re-install would be easier, faster, and more sucessful.

I think, first I should remove connmand, since I don't know what I'd
need it for.

Steve



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

2022-12-06 Thread Dennis Erazo
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.




Re: Dial-in serial getty

2022-12-06 Thread Steve Keller
Dan Ritter wrote:

> agetty needs '-L never' to answer a modem; the modem may need an
> --init-string to be told to answer incoming calls. Have you done
> both of those?

I had tried -Lnever and it just causes a message in /var/log/auth.log

Dec  7 05:02:17 bit agetty[1555324]: invalid argument of --local-line

and agetty does not exec /bin/login in this case but only logs the
error message, waits for 10s, and then exits.  Since agetty does not
wait for the modems carrier detect or for the "RING" message from the
modem I don't see how it can be used on dial-in lines.

Steve



Re: TBird mail

2022-12-06 Thread David Wright
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.

> 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.



Re: TBird mail (was: user perms)

2022-12-06 Thread Max Nikulin

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.



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).





Re: TBird mail

2022-12-06 Thread gene heskett

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.


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.


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.


Not your fault.

Take care & stay well, 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-06 Thread Felix Miata
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.
-- 
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 (was: user perms)

2022-12-06 Thread Tom Furie
On Tue, Dec 06, 2022 at 06:58:20PM -0500, gene heskett wrote:

> gene@coyote:~$ locate prefs.js
> /home/amanda/.mozilla/firefox/nz58vim6.default-esr/prefs.js
> /home/gene/.local/share/digikam/QtWebEngine/Default/user_prefs.json
> /home/gene/.local/share/kmail2/QtWebEngine/Default/user_prefs.json
> /home/gene/.local/share/konqueror/QtWebEngine/Default/user_prefs.json
> /home/gene/.local/share/plasmashell/QtWebEngine/Default/user_prefs.json
> /home/gene/.local/share/thumbnail.so/QtWebEngine/Default/user_prefs.json
> /home/gene/.moonchild productions/pale moon/1n4tfecn.default/prefs.js
> /home/gene/.mozilla/firefox/cfkfrtdm.default-esr/prefs.js
> /home/gene/.mozilla/firefox/f8j7d2lj.default-esr/prefs.js
> /home/gene/.thunderbird/f37v8icg.default-default/chrome_debugger_profile/prefs.js
> /home/gene/.thunderbird/f37v8icg.default-default/prefs.js
> /home/gene/bin/firefox/defaults/pref/channel-prefs.js
> /usr/lib/firefox-esr/defaults/pref/channel-prefs.js
> /usr/share/thunderbird/defaults/pref/channel-prefs.js
> 
> I count 8 prefs.js in the above list, so which one is actually being talked
> about here?

I count two in your home directory that refer to Thunderbird, one of
which belongs to what looks like a profile you set up for debugging
Chrome. By a very short process of elimination, that only leaves one
prefs.js of interest.

-- 
True to our past we work with an inherited, observed, and accepted vision of
personal futility, and of the beauty of the world.
-- David Mamet


signature.asc
Description: PGP signature


Re: Capturar nombre de interfase

2022-12-06 Thread Miguel Ángel Sánchez

Buenas Gerardo.

Seguramente tu máquina tenga más de una interfaz (al menos "lo" y la que 
quieres modificar), por lo que necesitas un criterio para escoger qué 
interfaz. Debería ser el mismo criterio que aplicas cuando seleccionas a 
mano el nombre de la interfaz.


Si usas al menos Debian 10, con este comando puedes ver qué interfaces 
hay en tu máquina:


ip -o link

Necesitas un criterio específico para seleccionar una de esas 
interfaces. Te doy dos ejemplos [1]:


 - Por una dirección IP conocida (en este ejemplo: 192.168.1.2):

  ip -o a | grep 192.168.1.2 | awk '{ print $2 }'

 - Por una dirección MAC conocida (en este ejemplo: 00:15:2c:00:00:00):

  ip -o link | grep 00:15:2c:00:00:00 | awk '{ print 
substr($2,1,length($2)-1) }'


Seguramente haya mejores formas de implementar eso.

Si utilizas un Debian moderno (10+, creo) los nombres de interfaces 
deberían seguir una estructura determinada: "wlpXsY", "enpXsY", "enxMAC" 
... [2]. Quizás esto te ayude a escoger el nombre de la interfaz si sólo 
tienes una de ese tipo.


Por otra parte, sobre la automatización de apt para que actualice la 
lista de paquetes a diario, existen servicios de segundo plano ya hechos 
que te pueden interesar. Por ejemplo: "cron-apt" [3], que se puede 
ampliar si quisieses a 'upgrade' también, o "unattended-upgrades" [4], 
para ejecutar 'upgrade' también y es bastante configurable.


Ya nos comentas, un saludo.


1. Me baso en https://unix.stackexchange.com/a/445975

2. Aquí tienes la lista de tipos de nombre de interfaz: 
https://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c#n20


3. https://packages.debian.org/stable/cron-apt

4. https://wiki.debian.org/UnattendedUpgrades

El 7/12/22 a las 0:10, 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?

Muchas gracias.

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

Re: TBird mail (was: user perms)

2022-12-06 Thread gene heskett

On 6/18/22 19:26, Chuck Zmudzinski wrote:
Going thru some old email and found I had tagged this message which 
contains some unfinished business someone might clarify now:



On 6/15/22 7:14 AM, 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:"? after sudo updatedb today, I find this:
gene@coyote:~$ locate prefs.js
/home/amanda/.mozilla/firefox/nz58vim6.default-esr/prefs.js
/home/gene/.local/share/digikam/QtWebEngine/Default/user_prefs.json
/home/gene/.local/share/kmail2/QtWebEngine/Default/user_prefs.json
/home/gene/.local/share/konqueror/QtWebEngine/Default/user_prefs.json
/home/gene/.local/share/plasmashell/QtWebEngine/Default/user_prefs.json
/home/gene/.local/share/thumbnail.so/QtWebEngine/Default/user_prefs.json
/home/gene/.moonchild productions/pale moon/1n4tfecn.default/prefs.js
/home/gene/.mozilla/firefox/cfkfrtdm.default-esr/prefs.js
/home/gene/.mozilla/firefox/f8j7d2lj.default-esr/prefs.js
/home/gene/.thunderbird/f37v8icg.default-default/chrome_debugger_profile/prefs.js
/home/gene/.thunderbird/f37v8icg.default-default/prefs.js
/home/gene/bin/firefox/defaults/pref/channel-prefs.js
/usr/lib/firefox-esr/defaults/pref/channel-prefs.js
/usr/share/thunderbird/defaults/pref/channel-prefs.js

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


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

I haven't noticed whether or not in GUI preferences if either has a counterpart.


I also use this setting to help get rid of the vertical bar:

         user_pref("mailnews.send_plaintext_flowed", false);

and I take care to check Options-> Delivery Format is set to

no such option shows in my current copy here. Makes it kinda hard to check.

"Plain Text Only" before sending a message. 

This is not "sticky" ? s/b :o(>


.


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 



Capturar nombre de interfase

2022-12-06 Thread Gerardo Braica

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?

Muchas gracias.

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

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

2022-12-06 Thread Siard
Michel Verdier:
> Intense Red:
> 
> >   Looking at /boot/grub/grub.cfg it uses a function format that I
> > don't recognize and cannot make easy sense of -- I just want a simple
> > text entry to give me the option of booting off sdf1 or sdg1 in the
> > grub menu.
> >
> >   Can anyone whack me with a clue-bat or ELI5 me how I can edit/add
> > an entry to grub.cfg? TIA.
> 
> You can directly change /boot/grub/grub.cfg. Entry name is the first
> parameter after "menuentry" :
> 
> menuentry 'here the name' --class debian ...
> 
> But it will be erased if you update-grub.
> Alternatively you can add full menuentry blocks in /etc/grub.d/40_custom
> and you will retrieve them in you grub menu even after update-grub.

Note that since June 2022, boot menu entries for other operating systems
are no longer generated by default in testing and sid.
To re-enable this, set GRUB_DISABLE_OS_PROBER=false in /etc/default/grub.
To me, this looks easier and less laborious.



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

2022-12-06 Thread Michel Verdier
Le 6 décembre 2022 Intense Red a écrit :

>   Looking at /boot/grub/grub.cfg it uses a function format that I don't 
> recognize and cannot make easy sense of -- I just want a simple text entry to 
> give me the option of booting off sdf1 or sdg1 in the grub menu.
>
>Can anyone whack me with a clue-bat or ELI5 me how I can edit/add an entry 
> to grub.cfg? TIA.

You can directly change /boot/grub/grub.cfg. Entry name is the first
parameter after "menuentry" :

menuentry 'here the name' --class debian ...

But it will be erased if you update-grub.
Alternatively you can add full menuentry blocks in /etc/grub.d/40_custom
and you will retrieve them in you grub menu even after update-grub.

Cheers



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

2022-12-06 Thread tv.debian

06/12/2022 19:49, Intense Red wrote:

On my machine I have 2 bootable Linux installs, one each on /dev/sdf1 and /
dev/sdg1. Grub *used to* detect the various partitions and creat entries for
each one, but in this install it didn't do that.

   Looking at /boot/grub/grub.cfg it uses a function format that I don't
recognize and cannot make easy sense of -- I just want a simple text entry to
give me the option of booting off sdf1 or sdg1 in the grub menu.

Can anyone whack me with a clue-bat or ELI5 me how I can edit/add an entry
to grub.cfg? TIA.



Hi, you don't say which version you are on, but if you are on testing or 
sid you need this in your /etc/default/grub:


GRUB_DISABLE_OS_PROBER="false"



/boot/grub/grub.cfg menu entries

2022-12-06 Thread Intense Red
   On my machine I have 2 bootable Linux installs, one each on /dev/sdf1 and /
dev/sdg1. Grub *used to* detect the various partitions and creat entries for 
each one, but in this install it didn't do that.

  Looking at /boot/grub/grub.cfg it uses a function format that I don't 
recognize and cannot make easy sense of -- I just want a simple text entry to 
give me the option of booting off sdf1 or sdg1 in the grub menu.

   Can anyone whack me with a clue-bat or ELI5 me how I can edit/add an entry 
to grub.cfg? TIA.

-- 
"The chief problem in historical honesty is not outright lying. It is omission 
or de-emphasis of important data. The definition of 'important', of course, 
depends on one's values." -- Historian Howard Zinn (https://
www.howardzinn.org/about/)





Re: problem getting debian live to run

2022-12-06 Thread L Dimov










 On Saturday, December 3, 2022, 11:22:27 PM EST, L Dimov  
wrote:

 On Thursday, December 1, 2022, 10:12:21 PM GMT+1, Andrew M.A. Cater 
 wrote:


 On Thu, Dec 01, 2022 at 08:43:29PM +, L Dimov wrote:
>    On Thursday, December 1, 2022 at 03:28:33 PM EST, Andrew M.A. Cater 
> wrote:
>
>  On Thu, Dec 01, 2022 at 06:58:11PM +, L Dimov wrote:
> > I am trying to run debian stable (11.5) live on a new Dell XPS laptop from 
> > a USB drive. After the Debian logo displays for a bout a minute, I get this 
> > text:
> >
> > DPC: RP PIO log size 0 is invalid
> > thunderbolt 0-0: reading DROM failed
> > BusyBox v1.30.1 (Debian 1:1.30.1-6+b3) built-in shell (ash)
> > Enter 'help' for list of built-in commans.
> > (initramsfs) _
> >
> > I tried it multiple times, including first formatting the USB as a FAT32. 
> > None of that helped.
> >
> > Any help in getting this party started will be greatly appreciated!
> > Thanks!
> > Luben
> >

Two things:

I'd suggest that you try using the unofficial .iso that includes the firmware.
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.5.0-live+nonfree/amd64/iso-hybrid/
 - and pick your desktop from under there.

Andrew, Thomas, and David:
Thank you for the suggestions.
The suggestions at https://docs.kernel.org/admin-guide/thunderbolt.html did not 
help, unfortunately.
I also got the same result with live-nonfree. I am however able to get Linux 
Mint to run live (tho I didn't install it because I want Debian), so I think it 
is a Debian issue. I tried Debian testing as well - also a no-go. I also tried 
installing (rather than running live) Debian stable and testing and with and 
without non-free, to no avail: during installation I get these error messages:

"No kernel modules were found. This probably is due to a mismatch between the 
kernel used by this version of the installer and the kernel version available 
in the archive. You should make sure that your installation image is 
up-to-date, or - if that's the case, try a different mirror, preferably 
deb.debian.org"

and later:

"Software RAID not available. The current kernel doesn't seem to support 
software RAID (MD) devices. This should be solved by loading the necessary 
modules"
as well as:
"The current kernel doesn't support the Logical Volume Manager. You may need to 
load the lvm-mod module."

Based on all that, sounds like lack of current hardware support in Debian for 
this machine because it is so new? I have the output of lshw, if that would 
help.
Thanks,
L

SOLUTION: IN THE END, THE INSTALLATION WORKED OUT AFTER THE FOLLOWING:
in the BIOS/UEFI, under Storage, change the selection from "ACH/NVMe" to "RAID 
on"



Re: comment trouver (sur Debian ou Ubuntu) le pays géographique d'une adresse IPv4 ou IPv6?

2022-12-06 Thread Stephane Bortzmeyer
On Mon, Dec 05, 2022 at 02:34:14PM +0100,
 ajh-valmer  wrote 
 a message of 6 lines which said:

> Taper : 
> whois 
> et extraire la ligne "Country:"

RDAP, c'est mieux

(le deuxième exemple, « Obtenir des informations sur le pays du
titulaire » marche avec les adresses IP).

Mais, surtout, se souvenir que les bases des RIR sont de qualité…
variable. S'il s'agit juste de produire de vagues statistiques, ce
n'est pas un problème mais s'il s'agit de faire de l'investigation
numérique sérieuse, il ne faut pas se contenter de ce que renvoient
whois et RDAP.




Re: Quels outils pour automatiser le traitement d'alertesreçues par courriel ?

2022-12-06 Thread Sébastien Marque
Salut,

suis étonné de ne pas avoir vu parler d'imapfilter: 
https://github.com/lefcha/imapfilter (et son paquet sur 
https://packages.debian.org/fr/bullseye/imapfilter)

C'est L'outil pour effectuer des tâches avec les boîtes mails IMAP. Ça 
s'utilise avec du lua et ça permet de faire plein de choses toutes plus 
automagiques les unes que les autres.

Personnellement je m'en sert pour classer, et nettoyer mes comptes mails, mais 
je m'en sert aussi d'outil de communication et de "commande" pour imprimer des 
documents ou obtenir des résultats de calcul:
https://seb.lautre.net/git/section/apps/blob/master/imapfilter/.imapfilter/config.lua

En espérant ne pas arriver trop longtemps après la bataille et surtout avoir 
été utile :)

@+
Sébastien

2 décembre 2022 13:23 "Daniel Caillibaud"  a écrit:

> Le 22/11/22 à 16:58, Francois Mescam  a écrit :
> 
>> # traiter le mail qui est dans le fichier /tmp/msg.$uid
>> #détruire le fichier de travail et le mail
>> rm -f msg.$uid
>> doveadm expunge -u user mailbox-guid $guid uid $uid
> 
> Ici je déplacerais plutôt le mail dans un dossier "done", histoire de garder 
> une trace des
> notifications reçues.
> 
>> Justement, quel logiciel peut scruter en tâche de fond une boîte IMAP
>> et y faire quelques modifications comme déplacer-supprimer un message
>> déjà lu ou traité, accéder facilement au contenu du message ?
> 
> Pour traiter le contenu du message et scripter les actions à lancer, ça peut 
> être plus facile
> avec autre chose que bash|dash|zsh (et les outils classiques sed|awk|…). Pour 
> ça tu peux aussi
> scripter le traitement du mail dans le langage de ton choix s'il dispose 
> d'une lib éprouvée
> pouvant lire de l'imap (à peu près tous ont ça, js|php|python|perl|etc.).
> 
> --
> Daniel
> 
> Programmeur : personne qui résout, de manière incompréhensible, un
> problème que tu ignorais avoir.
> Pierre Desproges



Kate and auto-indent (was: Re: Detailed Leafpad manual [not just manpage]?)

2022-12-06 Thread rhkramer
On Tuesday, December 06, 2022 09:53:11 AM Richard Owlett wrote:
> It worked acceptabily 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.

-- 
rhk

If you reply: snip, snip, and snip again; leave attributions; avoid HTML; 
avoid top posting; and keep it "on list".  (Oxford comma included at no 
charge.)  If you change topics, change the Subject: line. 

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

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

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



Re: Detailed Leafpad manual [not just manpage]?

2022-12-06 Thread Richard Owlett

Richard Owlett wrote:

rhkra...@gmail.com wrote:

On Tuesday, December 06, 2022 07:01:07 AM Richard Owlett wrote:

I just tried it on both of my machines.
It lacks ability to set the right margin. I want to insert a paragraph
such that the effective LEFT margin [when line wraps at RIGHT margin] is
the indent level.


Just as a followup to my earlier reply, in kate (and I believe in 
kwrite),
when you indent the first line of a (soft wrapped) paragraph, the 
remaining
lines in that paragraph are (left) indented to the same place as that 
first

line.

(If you want subsequent paragraphs indented to the same place, indent 
the first

line of those subsequent paragraphs.)


Those two paragraphs describe my needs. I explicitly wish to avoid hard 
wrapping.


I'll install kate and see what happens.
Thanks


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


There were missing files in repository when I tried to install on my 
Debian 11.3 machine. Will try again later.





There are auto-indent features.











Re: Killing bluetooth dead

2022-12-06 Thread David Wright
On Tue 06 Dec 2022 at 14:25:02 (-), Curt wrote:
> On 2022-12-06, d...@sherohman.org  wrote:
> >
> > ...and the same log messages are continuing to appear.

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 /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

That may well be enough.

OTOH blacklisting can help where the kernel's aggressive probing is
enough to trigger messages; so a useful facility to be aware of.

Cheers,
David.



Re: Killing bluetooth dead

2022-12-06 Thread Curt
On 2022-12-06, d...@sherohman.org  wrote:
>
> ...and the same log messages are continuing to appear.
>

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








Re: Detailed Leafpad manual [not just manpage]?

2022-12-06 Thread Richard Owlett

rhkra...@gmail.com wrote:

On Tuesday, December 06, 2022 07:01:07 AM Richard Owlett wrote:

I just tried it on both of my machines.
It lacks ability to set the right margin. I want to insert a paragraph
such that the effective LEFT margin [when line wraps at RIGHT margin] is
the indent level.


Just as a followup to my earlier reply, in kate (and I believe in kwrite),
when you indent the first line of a (soft wrapped) paragraph, the remaining
lines in that paragraph are (left) indented to the same place as that first
line.

(If you want subsequent paragraphs indented to the same place, indent the first
line of those subsequent paragraphs.)


Those two paragraphs describe my needs. I explicitly wish to avoid hard 
wrapping.


I'll install kate and see what happens.
Thanks



There are auto-indent features.






Re: Detailed Leafpad manual [not just manpage]?

2022-12-06 Thread rhkramer
On Tuesday, December 06, 2022 07:01:07 AM Richard Owlett wrote:
> I just tried it on both of my machines.
> It lacks ability to set the right margin. I want to insert a paragraph
> such that the effective LEFT margin [when line wraps at RIGHT margin] is
> the indent level.

Just as a followup to my earlier reply, in kate (and I believe in kwrite), 
when you indent the first line of a (soft wrapped) paragraph, the remaining 
lines in that paragraph are (left) indented to the same place as that first 
line.

(If you want subsequent paragraphs indented to the same place, indent the first 
line of those subsequent paragraphs.)

There are auto-indent features.
-- 
rhk

If you reply: snip, snip, and snip again; leave attributions; avoid HTML; 
avoid top posting; and keep it "on list".  (Oxford comma included at no 
charge.)  If you change topics, change the Subject: line. 

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

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

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



Re: Detailed Leafpad manual [not just manpage]?

2022-12-06 Thread rhkramer
On Tuesday, December 06, 2022 07:01:07 AM Richard Owlett wrote:
> I just tried it on both of my machines.
> It lacks ability to set the right margin. I want to insert a paragraph
> such that the effective LEFT margin [when line wraps at RIGHT margin] is
> the indent level.

I started to write a rather long reply and ran out of time / ambition.

One question I'd ask -- are you using what is sometimes called dynameic / 
soft) wrapping (long lines are (soft) wrapped to appear as paragraphs and 
dynamically readjust as you modify the line), or hard wrapping (long lines are 
broken into shorter lines (to appear as paragraphs) by adding "hard" line 
ends.  (Editors (or options) to do the hard wrapping typically have a command 
to readjust the position of those "hard" line ends.)

I think soft wrapping is much more user friendly for text that might include 
paragraphs.

Aside: currently I use the kde editors kwrite and kate (for slightly different 
purposes), and I've written what I'll call a lexer (not what kde calls it) to 
highlight and fold (that is not word wrap, but folding to hide text to show 
just the first line or such of a paragraph when an outline (or portion thereof) 
is collapsed.

There are / have been a few problems with kate and kwrite (including a bug 
(that bugged me -- because of it I have to add ending markup to things I 
write) -- the bug persisted for something like 10 years, but even after they 
claimed it was fixed, in a very superficial attempt at testing, It didn't seem 
to work.

My current plan is to eventually switch to an editor that uses scintilla as 
the editor component.  There are quite a few such editors (I once saw a list 
that might have listed almost 100 editors, at various levels of completion (or 
intention).

Scite (as recommended by someone else), is one of those, as are Geany, 
something named something like Notepad (it seems there are several things 
named with some variation of "Notepad") and several others.

The stumbling block for me is writing a suitable lexer for Scintilla -- a 
"native" scintilla lexer is written in C++ which I just have a terrible time 
grokking.  (Lexers can also be written in Lua or in fact any language (for an 
external lexer), but all of those are harder to integrate to be used in all 
the editors which use scintilla.

Nevertheless, I'd encourage you to consider an editor based on Scintilla 
(e.g., Scite, Geany, Notepad ), or kate or kwrite.

Aside: I understand there is a way to install kate / kwrite without installing 
all of kde -- I've never tried it, I'm sure that some libraries and such must 
be installed in addition to the kate and kwrite executables.

And, if you're writing a lot of text (vs. code) I'd encourage you to learn 
(and use) soft wrapping and what Microsoft calls (used to call) "collapsible 
outlining" (which is more commonly known as folding in the Linux world).

Aside: "Folding" is overloaded in the Linux world -- it is sometimes used to 
describe line wrapping and other times for collapsible outlining.

Have fun!



-- 
rhk

If you reply: snip, snip, and snip again; leave attributions; avoid HTML; 
avoid top posting; and keep it "on list".  (Oxford comma included at no 
charge.)  If you change topics, change the Subject: line. 

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

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

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



Re: Detailed Leafpad manual [not just manpage]?

2022-12-06 Thread Richard Owlett

Richard Owlett wrote:

Andreas Rönnquist wrote:

On Sun, 4 Dec 2022 05:29:58 -0600,
Richard Owlett wrote:


I wish to document a personal project.The desired format will resemble
the outline for term papers we wrote in school in the 50's. Except
some items may be a short paragraph or two long.

I did a web search for text editors with an auto-indent feature.
The only one I recognized was Leafpad. But I couldn't find appropriate
documentation or "howto". Where would I find it?

Any other suggestions for a basic text editor in the Debian repository
with an auto-indent feature. I'm not interested in a full blown word
processor.

TIA



It seems leafpad is obsolete and not maintained any longer (It is only
available in Debian Stretch).

If you could try something else, I would try mousepad (which actually
is a fork of leafpad).

https://packages.debian.org/mousepad
https://docs.xfce.org/apps/mousepad/start


That page suggests it's what I'm looking for.
I attempted to install it on my old machine [has a large external 
monitor] but got a "temporary connection failure" message.

Will try it again this afternoon.
Thanks


As I posted earlir today, mousepad lacks ability to set a righthand 
margin for a line to fold at.




If you would be ready to try something new and are not afraid of
massive amount of settings (and thereby possibilities) but still
GTK-based, I would try SciTE.

https://packages.debian.org/scite

(Yes, I am biased regarding SciTE, since I'm one of the Debian package
maintainers).


I looked at that page. I'm not trying to edit a program. I'm editing 
straight text and want lines that wrap at right margin to start a fresh 
line at current indent level. I didn't spot that capability.


Thanks.



-- Andreas Rönnquist
mailingli...@gusnan.se
andr...@ronnquist.net













Re: Detailed Leafpad manual [not just manpage]?

2022-12-06 Thread Richard Owlett

Richard Owlett wrote:

Andreas Rönnquist wrote:

On Sun, 4 Dec 2022 05:29:58 -0600,
Richard Owlett wrote:


I wish to document a personal project.The desired format will resemble
the outline for term papers we wrote in school in the 50's. Except
some items may be a short paragraph or two long.

I did a web search for text editors with an auto-indent feature.
The only one I recognized was Leafpad. But I couldn't find appropriate
documentation or "howto". Where would I find it?

Any other suggestions for a basic text editor in the Debian repository
with an auto-indent feature. I'm not interested in a full blown word
processor.

TIA



It seems leafpad is obsolete and not maintained any longer (It is only
available in Debian Stretch).

If you could try something else, I would try mousepad (which actually
is a fork of leafpad).

https://packages.debian.org/mousepad
https://docs.xfce.org/apps/mousepad/start


That page suggests it's what I'm looking for.
I attempted to install it on my old machine [has a large external 
monitor] but got a "temporary connection failure" message.

Will try it again this afternoon.
Thanks


I just tried it on both of my machines.
It lacks ability to set the right margin. I want to insert a paragraph 
such that the effective LEFT margin [when line wraps at RIGHT margin] is 
the indent level.




If you would be ready to try something new and are not afraid of
massive amount of settings (and thereby possibilities) but still
GTK-based, I would try SciTE.

https://packages.debian.org/scite

(Yes, I am biased regarding SciTE, since I'm one of the Debian package
maintainers).

-- Andreas Rönnquist
mailingli...@gusnan.se
andr...@ronnquist.net













Re: Getting PC with Ubuntu; change to Debian?

2022-12-06 Thread Anssi Saari
Greg Wooledge  writes:

> However, if a newer X server, Mesa or whatever else is also needed, then
> it might be worth trying to run testing.

Indeed. I've run into trouble with backports kernels since apparently
the kernel team doesn't give a damn about what other packages break with
an updated kernel in the backports. Still, it's not too hard to just
config Grub to boot 5.18 or 5.19 instead of the 6.0 that landed in
backports recently.

Either way, the security situation isn't great. Testing has no security
updates and backports seems to have very little.



Re: Killing bluetooth dead

2022-12-06 Thread dave
On Mon, Dec 05, 2022 at 04:18:19PM -0600, David Wright wrote:
> On Mon 05 Dec 2022 at 11:57:19 (-0500), Jeffrey Walton wrote:
> > It may be easier to look in the BIOS/UEFI and see if there's a way to
> > disable Bluetooth and Wifi. Then you don't have to worry about drivers
> > loading for chips that are no longer powered on.

Looks like that did the trick.  Thanks!

> Would that not require adding a head to the headless server?

That wasn't any real issue, although I did have to ask a colleague to do
it for me, since I'm in another building.  The main reason I specified
that it was headless was just to head off any answers of the form "click
the Connection Manager widget on your desktop and..."

-- 
Dave Sherohman



Re: Killing bluetooth dead

2022-12-06 Thread dave
On Mon, Dec 05, 2022 at 02:32:15PM -0500, Timothy M Butterworth wrote:
> If you do not want Bluetooth to run you can simply disable it in systemd.
> 
> sudo  systemctl stop bluetooth.service
> 
> sudo  systemctl disable bluetooth.service

That was actually the first thing I tried, I just forgot to include it
in my list of failed attempts:

fubar:~$ sudo systemctl stop bluetooth.service
Failed to stop bluetooth.service: Unit bluetooth.service not loaded.  
fubar:~$ sudo systemctl disable bluetooth.service
Failed to disable unit: Unit file bluetooth.service does not exist.

...and yet the attempts to load bluetooth.target continue to be logged,
even though bluetooth.service does not exist.

-- 
Dave Sherohman



Re: Killing bluetooth dead

2022-12-06 Thread dave
On Mon, Dec 05, 2022 at 03:28:40PM +, Brad Rogers wrote:
> On Mon, 5 Dec 2022 08:42:14 -0600
> d...@sherohman.org wrote:
> >  mentioning "blue", "tooth", or "bt" - there aren't any, so the obvious
> 
> what about 'blue*'?

Good thought, but the specific command I use to check for that sort of
thing is `dpkg --get-selections | grep blue` which would find any 
packages with "blue" anywhere in the name, without needing wildcards.

-- 
Dave Sherohman



Re: Killing bluetooth dead

2022-12-06 Thread dave
On Mon, Dec 05, 2022 at 09:51:20AM -0600, David Wright wrote:
> > - `rmmod btusb` - this has no apparent effect, probably because
> >   bluetooth.target loads the mod back in before I even have time to run
> >   `lsmod` and see if it's still there
> 
> Then I would blacklist it. Create a blacklist-bluetooth.conf file in
> /lib/modprobe.d/ and containing
> 
>   blacklist btusb
> 
> or whichever modules (one per line), before removing it/them.

Does that require a reboot to take effect?  Based on the redhat kb
article at https://access.redhat.com/solutions/41278 I've now tried

root@fubar:# modprobe -r btusb
root@fubar:# echo "blacklist btusb" >> /etc/modprobe.d/local-dontload.conf
root@fubar:# echo "install btusb /bin/false" >> 
/etc/modprobe.d/local-dontload.conf
root@fubar:# cat /etc/modprobe.d/local-dontload.conf
blacklist btusb
install btusb /bin/false
root@fubar:# modprobe -r btusb

...and the same log messages are continuing to appear.

-- 
Dave Sherohman