Re: Markup in mail messages

2024-05-18 Thread Max Nikulin
On 17/05/2024 18:10, Greg Wooledge wrote: On 17/05/2024 10:16, Karl Vogel wrote: https://github.com/aaronsw/html2text/ might interest you. It converts (relatively) sane HTML into Markdown. I put html2text.py into $HOME/lib and use this to call it: #!/bin/sh # [...]

Re: Markup in mail messages

2024-05-17 Thread Max Nikulin
On 18/05/2024 02:25, Stefan Monnier wrote: Actually I've been tempted to teach my mail reader to transform HTML into some lightweight markup (yeah, you need a bit of heuristics for that ;-) -- say Org, but why not its poor sister Markdown. Please don't settle for markdown. I would love a org

Re: Onboard not showing up in the XFCE system tray | Partial Solution

2024-05-17 Thread Max Nikulin
On 18/05/2024 08:15, Charles Curley wrote: charles 2913 0.0 0.9 545852 36740 ?Sl May12 0:26 /usr/bin/python3 /usr/bin/onboard --not-show-in=GNOME,GNOME-Classic:GNOME --startup-delay=3.0 Perhaps it starts through /etc/xdg/autostart/onboard-autostart.desktop I have no idea if

Re: Bookworm's /etc/mailcap seems to break s-nail

2024-05-17 Thread Max Nikulin
On 16/05/2024 14:48, Jonathan Dowland wrote: On Wed May 15, 2024 at 4:51 PM BST, Max Nikulin wrote: https://bugs.debian.org/1071036 update-mime does not escape semicolon in .desktop Exec entries Re-reading your bug report I'm struck by how hard to reason about (and test) the emacs .desktop

Re: Markup in mail messages

2024-05-16 Thread Max Nikulin
On 17/05/2024 10:16, Karl Vogel wrote: https://github.com/aaronsw/html2text/ might interest you. It converts (relatively) sane HTML into Markdown. I put html2text.py into $HOME/lib and use this to call it: #!/bin/sh # I am puzzled by this wrapper. I expect that "$@" is

Re: Regression in Radeon driver in latest Debian Stable kernel

2024-05-16 Thread Max Nikulin
On 16/05/2024 22:53, piorunz wrote: https://bugzilla.kernel.org/ will they be interested in Debian specific error? I don't use vanilla kernel so maybe it's Debian only problem. If you *find* a similar report there then it is likely an upstream issue. (Developers of specific driver may use

Re: Markup in mail messages

2024-05-16 Thread Max Nikulin
On 16/05/2024 20:47, to...@tuxteam.de wrote: Actually I've been tempted to teach my mail reader to transform HTML into some lightweight markup (yeah, you need a bit of heuristics for that ;-) -- say Org, but why not its poor sister Markdown. I am not familiar with pandoc features enough to

Re: Regression in Radeon driver in latest Debian Stable kernel

2024-05-16 Thread Max Nikulin
On 16/05/2024 17:35, piorunz wrote: As much as I would like to try vanilla kernel, I don't want to break my system. I use Debian Stable, don't know if things would just work with vanilla kernel. You may try bookworm-backports kernel 6.6.13+bpo-amd64 You may check https://bugzilla.kernel.org/

Re: Bookworm's /etc/mailcap seems to break s-nail

2024-05-15 Thread Max Nikulin
On 07/05/2024 23:24, Max Nikulin wrote: On 2024-05-06 17:04, Max Nikulin wrote: So doubled backslashes (as in .desktop files) are correct. What is wrong is lack of backslashes added before ";" and it is a bug. I have filed https://bugs.debian.org/1071036 update-mime does not escape

Markup in mail messages (was: Re: OT: Top Posting)

2024-05-14 Thread Max Nikulin
On 15/05/2024 02:32, Greg Wooledge wrote: On Tue, May 14, 2024 at 08:16:20PM +0200, Nicolas George wrote: Messages in Markdown in the Windows world? I have never seen it. [...] The only sensible interpretation I can come up with for why these asterisks were added is that they're being placed

Re: Wifi getting disconnected randomly

2024-05-11 Thread Max Nikulin
On 11/05/2024 10:09, Jeffrey Walton wrote: On Fri, May 10, 2024 at 11:18 AM Max Nikulin wrote: I am not trying to dispute your suggestion, I had a hope to get a data point with a success story. In 2006 I was doing sysadmin work for the Nuclear Energy Institute. NEI performed

Re: Wifi getting disconnected randomly

2024-05-10 Thread Max Nikulin
On 10/05/2024 22:09, Jeffrey Walton wrote: On Fri, May 10, 2024 at 11:05 AM Max Nikulin wrote: On 10/05/2024 06:07, Jeffrey Walton wrote: > On Thu, May 9, 2024 at 5:44 PM Unni wrote: >     [  278.360447] iwlwifi :09:00.0: Microcode SW error detected. >     Resta

Re: Wifi getting disconnected randomly

2024-05-10 Thread Max Nikulin
On 10/05/2024 06:07, Jeffrey Walton wrote: On Thu, May 9, 2024 at 5:44 PM Unni wrote: [  278.360447] iwlwifi :09:00.0: Microcode SW error detected. Restarting 0x0. [  278.360571] iwlwifi :09:00.0: Loaded firmware version: 72.daa05125.0 cc-a0-72.ucode [...] Install the

Re: Bookworm's /etc/mailcap seems to break s-nail

2024-05-07 Thread Max Nikulin
On 07/05/2024 18:40, Jesper Dybdal wrote: On 2024-05-06 16:24, Max Nikulin wrote: 2. It does not skip x-scheme-handler/* entries. Are there applications that may use such entries? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291015 mime-support: run‐mailcap to understand URL notation

Re: Bookworm's /etc/mailcap seems to break s-nail

2024-05-06 Thread Max Nikulin
On 06/05/2024 21:24, Max Nikulin wrote: It seems there are a couple of bugs in update-mime: 1. It does not perform an unquote pass that should retain only a half of backslashes from Exec field of .desktop file. I was wrong here. mailcap(5): (In fact, the backslash can be used to quote any

Re: Bookworm's /etc/mailcap seems to break s-nail

2024-05-06 Thread Max Nikulin
On 06/05/2024 21:41, David Wright wrote: On Mon 06 May 2024 at 14:53:10 (+0200), Jesper Dybdal wrote: * In Bookworm:    mailcap/stable,now 3.70+nmu1 all [installed,automatic]    j-nail/stable,now 14.9.24-2 amd64 [installed] ↑ Has anyone else seen this? Do you have emacs installed?

Re: Bookworm's /etc/mailcap seems to break s-nail

2024-05-06 Thread Max Nikulin
On 06/05/2024 20:27, Greg Wooledge wrote: On Mon, May 06, 2024 at 02:53:10PM +0200, Jesper Dybdal wrote: s-nail: $MAILCAPS: /etc/mailcap: text/english: ignored unknown string/command: then exec emacsclient --alternate-editor = --display=\\"\\$DISPLAY\\" \\"\\$@\\" The question (one of the

Re: Zutty fonts - zutty always uses the same font and fontsize

2024-05-04 Thread Max Nikulin
On 02/05/2024 15:17, Richmond wrote: It understands the font names from xfontsel which is a major improvement on zutty. I have nothing against raster fonts for terminal applications, but I am surprised that support of X Logical Font Description may be considered as an improvement in

Re: Installing testing on Acer Aspire 315

2024-05-04 Thread Max Nikulin
On 03/05/2024 12:16, Paul Scott wrote: I don't have linux on the machine for which I want the information.  I now have the driver name from Windows/Settings. Booting a live image may help to evaluate if hardware is supported and to get lspci output. Even when windows is booted, it should be

Re: Installing testing on Acer Aspire 315

2024-05-04 Thread Max Nikulin
On 04/05/2024 13:52, Paul Scott wrote: On 5/3/2024 11:25 PM, Max Nikulin wrote: It may happen that F4 is not F4 unless you press and hold Fn first. It is default on some laptops and may be changed in firmware setup. Inst all docs say Left Alt F4 but no combination of other keys with F4

Re: Installing testing on Acer Aspire 315

2024-05-04 Thread Max Nikulin
On 03/05/2024 13:27, Paul Scott wrote: In the mean time, an install seemed to be working but gave an failure error which said it would be in the log and visible on virtual terminal 4, I didn't know how to get to a virtual in the installer.  Various combinations with F4 didn't seem to work.

Re: realpath quoting

2024-05-03 Thread Max Nikulin
On 03/05/2024 11:31, jeremy ardley wrote: My use case is very simple. Give an argument to a program that expects a single filename/path. Role of realpath in your workflow is not clear for me yet. If you need to copy its result to clipboard then you may use xsel, xclip, etc. realpath --zero

Re: Installing testing on Acer Aspire 315

2024-05-02 Thread Max Nikulin
On 02/05/2024 12:19, Sirius wrote: If your wifi is also the AX200 (maybe a different revision), it *should* work. lspci -nn may help with more precise identification. It requires firmware-iwlwifi from non-free-firmware, so check that install image contains firmware. I would avoid

Re: realpath quoting

2024-05-02 Thread Max Nikulin
On 03/05/2024 09:19, Greg Wooledge wrote: I still insist that this is a workaround that should *not* be used to try to cancel out quoting bugs in one's shell scripts. There are still specific cases when quoting is necessary, e.g. ssh remote command (however you have to be sure concerning

Re: Zutty fonts - zutty always uses the same font and fontsize

2024-05-01 Thread Max Nikulin
On 02/05/2024 10:11, Greg Wooledge wrote: On Thu, May 02, 2024 at 09:34:13AM +0700, Max Nikulin wrote: On 01/05/2024 21:58, Sirius wrote: I was right about .Xresources that it is one of the files used for loading settings into the X server, but urxvt looks at .Xdefaults instead. It is a bit

Re: Zutty fonts - zutty always uses the same font and fontsize

2024-05-01 Thread Max Nikulin
On 01/05/2024 21:58, Sirius wrote: I was right about .Xresources that it is one of the files used for loading settings into the X server, but urxvt looks at .Xdefaults instead. It is a bit strange. Applications should not read these files directly. Content should be loaded during X session

Last line [was: Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition]

2024-04-26 Thread Max Nikulin
On 26/04/2024 10:56, David Wright wrote: Editor examples: a windowed emacs buffer has a ≣ decoration at the extreme left edge after the last line of text, so that you can distinguish an absence of lines from empty lines. Perhaps that decoration should be explicitly enabled. However it

Re: bootable pendrive from zip file

2024-04-25 Thread Max Nikulin
On 25/04/2024 13:51, Thomas Schmitt wrote: Max Nikulin wrote: "12.3.3 Number and Location of System Partitions ... Further, UEFI implementations may allow the use of conforming FAT partitions which do not use the ESP GUID." Another problem with the statement is that it only tal

Re: bootable pendrive from zip file

2024-04-24 Thread Max Nikulin
On 23/04/2024 13:21, Thomas Schmitt wrote: Max Nikulin wrote: Out of curiosity, does the requirement of specific GUID exist for removable drives? It is disputed, whether the specs say that the partitions must be marked by 0xEF in legacy MBR tables and by C12A7328-F81F-11D2-BA4B-00A0C93EC93B

Re: bootable pendrive from zip file

2024-04-22 Thread Max Nikulin
On 23/04/2024 00:49, Thomas Schmitt wrote: This aims at an undocumented habit of EFI implementations to look in any FAT filesystem for a \EFI\BOOT directory with a suitable BOOT*.EFI file and to start it, if found. (Officially documented is to look in FAT filesystems of partitions with MBR type

Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-18 Thread Max Nikulin
On 18/04/2024 17:05, David Christensen wrote: $ mv .config/xfce4-20240418-180045/ .config/xfce4 Restart -- back to Xfce panel with no Network Manager. Try to create a new system user and log in. Is nm-applet present?

Re: tbird troubles

2024-04-17 Thread Max Nikulin
On 16/04/2024 23:11, to...@tuxteam.de wrote: Makes sense, TB seems to remember its window configuration [1] [...] [1] Can't they just let the window manager do its job? I am in doubts if saving list of windows and list of folders and messages opened in all tabs of each window could and

Re: Automatic reboot on kernel crash in Debian 12 - how?

2024-04-16 Thread Max Nikulin
On 16/04/2024 16:17, Michael Kjörling wrote: I have a handful of Debian 12 systems that I want to configure such that they reboot automatically in case of a problem. [...] That leaves kernel-level issues. I have not tried it, but I have seen some systemd options related to configuration of

Re: Debian 12.5 up-to-date Xfce, Firefox clings to USB stick

2024-04-15 Thread Max Nikulin
On 16/04/2024 01:52, Curt wrote: On 2024-04-15, David Wright wrote: On Sun 14 Apr 2024 at 14:24:29 (-), Curt wrote: On 2024-04-04, Max Nikulin wrote: If you do not trust Gmail as a web application, use a mail application that supports IMAP. Gmail supports IMAP since more or less

Re: Internet Access Problem

2024-04-12 Thread Max Nikulin
On 11/04/2024 20:53, Stephen P. Molnar wrote: I am running Bullseye and attempting to use QEMU/KVM virt-manager, on the computers on my LAN rather than Oracle VM VirtualBox. [...] However, when I pinged yahoo.com. I got the result: Reply from 169.234.75.136: Destination host unreachable.

Re: network-priority?

2024-04-04 Thread Max Nikulin
On 05/04/2024 04:29, David Wright wrote: autoconnect-priorityint32 0 [...] from https://developer-old.gnome.org/NetworkManager/stable/settings-connection.html (I don't know the significance of -old.) It is documented in nm-settings-nmcli(5)

Re: Debian 12.5 up-to-date Xfce, Firefox clings to USB stick

2024-04-03 Thread Max Nikulin
On 31/03/2024 22:35, David Wright wrote: On Sun 31 Mar 2024 at 09:42:37 (+0300), Antti-Pekka Känsälä wrote: But I'm worried my Gmail in Firefox is capable of stealing files off my USB stick. I've no answer for that, particularly in view of Max's reply to my previous post. I've always copied

Re: Debian 12.5 up-to-date Xfce, Firefox clings to USB stick

2024-03-31 Thread Max Nikulin
On 31/03/2024 11:46, David Wright wrote: Double-clicking on the directory mounts it and displays the files in it. Opening a text file displays it. At least for a small file, FF does not hold the file open, so I can immediately unmount the stick. Gmail may do something more fancy -

Re: Dependencies between components.

2024-03-30 Thread Max Nikulin
On 30/03/2024 22:54, Tim Woodall wrote: I'm unclear whether backports is allowed to depend on -updates You have not mentioned bookworm-security. contrib  : non-free non-free-firmware main non-free : non-free-firmware main non-free-firmware    :

Re: $USER vs. $LOGNAME and the EnvironmentVariables wiki page

2024-03-25 Thread Max Nikulin
On 26/03/2024 02:48, Patrice Duroux wrote: 1. Using CodeSearch, it is not clear to me when to use one or the other. Some additions to Greg's answer. From (info "(libc) Standard-Environment") https://www.gnu.org/software/libc/manual/html_node/Standard-Environment.html 25.4.2 Standard

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-20 Thread Max Nikulin
On 20/03/2024 01:51, Thomas Schmitt wrote: Max Nikulin wrote: When vector graphics, that does not match device resolution, is rasterized, the result is either non-even sizes of similar elements or fuzzy lines due to dithering. Nitpicking: "Dithering" in raster graphics is emulatio

Re: Root password strength

2024-03-20 Thread Max Nikulin
On 20/03/2024 23:19, Jeffrey Walton wrote: The network attacker cannot (yet) reach through a monitor and read a sticky note. It may be visible during a video call performed from a smartphone.

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-19 Thread Max Nikulin
On 13/03/2024 12:25, hw wrote: On Mon, 2024-03-11 at 23:45 +0700, Max Nikulin wrote: It seems you expect some number that you can use for any QR code. There is no size that fits for all codes. It's because you said: "I believed that 300dpi is high enough resolution for QR-codes of reaso

Re: After installing no access to the installed system.

2024-03-18 Thread Max Nikulin
On 18/03/2024 23:17, Thomas Schweikle wrote: Maybe it fails installing grub? Maybe /var/log/installer contains some logs?

Re: shellcheck, bashism's and one liners.

2024-03-17 Thread Max Nikulin
On 17/03/2024 23:56, Greg Wooledge wrote: On Sun, Mar 17, 2024 at 11:14:56PM +0700, Max Nikulin wrote: args() { printf '%s\0' a b c d; } args | xargs -0 sh -c 'count() { echo $#; }; count "$@"' sh-count It would be easier in the case of script file instead of shell function. An

Re: shellcheck, bashism's and one liners.

2024-03-17 Thread Max Nikulin
On 17/03/2024 16:25, Tim Woodall wrote: args() { echo a b c d; } count() { echo $#; } count $(args) args() { printf '%s\0' a b c d; } args | xargs -0 sh -c 'count() { echo $#; }; count "$@"' sh-count It would be easier in the case of script file instead of shell function. An assumption is

Re: Debugging an USB array issue

2024-03-16 Thread Max Nikulin
On 16/03/2024 00:45, Marc SCHAEFER wrote: On Fri, Mar 15, 2024 at 01:30:08PM -0400, Dan Ritter wrote: I have never had long-term happiness with multiple disks connected via USB. However: I have a similar disk array running 24h/24h for the last three years on a Debian buster with no problem. I

Re: Ethernet not working on a Dell notebook

2024-03-16 Thread Max Nikulin
On 16/03/2024 16:18, fran...@libero.it wrote: root@debian:/home/frantal# networkctl WARNING: systemd-networkd is not running, output will be incomplete. OK, so all devices are under control of NetworkManager and there is no modification of its global configuration.

Re: Ethernet not working on a Dell notebook

2024-03-14 Thread Max Nikulin
On 13/03/2024 23:53, Franco Martelli wrote: On 13/03/24 at 16:06, Max Nikulin wrote: On 13/03/2024 21:52, Franco Martelli wrote: They can coexist. NetworkManager in default configuration ignores interfaces under control of ifupdown (/etc/network/interfaces). Detailed messages from

Re: Bluetooth sound problems Debian 12 GNOME

2024-03-14 Thread Max Nikulin
On 14/03/2024 19:06, Jan Krapivin wrote: What do you think about QUANT parameter in */pw-top/*? Can it influence sound quality? I wasn't able to change it with pw-metadata -n settings 0 clock.force-quantum 2048 Sorry, my experience with tuning PipeWire is limited to switching audio

Re: Bluetooth sound problems Debian 12 GNOME

2024-03-13 Thread Max Nikulin
On 13/03/2024 17:43, Jan Krapivin wrote: While watching */pactl subscribe /*command output, i have noticed that there was a change from sink 414 to sink 213 when sound interrupt occurred "Event 'change' on sink-input #414 Can this information be of any help? It is expected due to Mar 11

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-13 Thread Max Nikulin
On 13/03/2024 02:50, jeremy ardley wrote: Getting back to pixel registration, the latex CUPS route is very unlikely to work well. TeX with MetaFont fonts worked well with low resolution dot matrix printers. Rasterized fonts may be generated for specified resolution. It should be still

Re: Ethernet not working on a Dell notebook

2024-03-13 Thread Max Nikulin
On 13/03/2024 21:52, Franco Martelli wrote: Do you have configured both NetworkManager and Debian /etc/network/interfaces? They cannot coexist, They can coexist. NetworkManager in default configuration ignores interfaces under control of ifupdown (/etc/network/interfaces). Detailed messages

Re: Bluetooth sound problems Debian 12 GNOME

2024-03-12 Thread Max Nikulin
On 12/03/2024 03:48, Jan Krapivin wrote: "Mar 11 22:20:13 deb wireplumber[1357]: RFCOMM receive command but modem not available: AT+XIAOMI=1,1,102,85,88,27,174" Just a wild guess, unlikely it is true. Headphones might report battery charge level using a vendor protocol extension. 85 and 88

Re: Ethernet not working on a Dell notebook

2024-03-12 Thread Max Nikulin
On 12/03/2024 15:11, fran...@libero.it wrote: 13:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03) lspci -vnn -s 13:00.0 should give more detailed info concerning your network adapter. Finally while trying to find

Re: Bluetooth sound problems Debian 12 GNOME

2024-03-12 Thread Max Nikulin
On 12/03/2024 03:48, Jan Krapivin wrote: As for journald i have a lot of such errors, but they don't influence the audio quality: "Mar 11 22:20:13 deb wireplumber[1357]: RFCOMM receive command but modem not available: AT+XIAOMI=1,1,102,85,88,27,174" Headphones might expect some response

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-11 Thread Max Nikulin
On 11/03/2024 08:06, hw wrote: On Sun, 2024-03-10 at 09:50 +0700, Max Nikulin wrote: On 10/03/2024 04:41, hw wrote: \psbarcode{textblah foo}{height=0.6 width=0.6 eclevel=L}{qrcode} That works for 600dpi laser printers. When you print the QR-code with a 300dpi label printer you can't reliably

Re: Bluetooth sound problems Debian 12 GNOME

2024-03-11 Thread Max Nikulin
Please, respond to the mailing list. On 11/03/2024 11:50, Max Nikulin wrote: https://wiki.debian.org/BluetoothUser/a2dp Last resort might be dumping bluetooth traffic The link above has an example dumpcap -i bluetooth0 Another tool is hcidump -w /tmp/bt.pcap However at first I

Re: Bluetooth sound problems Debian 12 GNOME

2024-03-10 Thread Max Nikulin
On 10/03/2024 21:07, Jan Krapivin wrote: Hello! I have a problem with sound quality when using bluetooth headphones on Debian 12 GNOME. Every ~20 minutes, sometimes less, sometimes more, sound interrupts for a 1-5 seconds with complete silence. Are there anything in journalctl output

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread Max Nikulin
On 10/03/2024 10:51, jeremy ardley wrote: I have far less problems with the QR code (in my case data_matrix code) than with the barcode. The pixel elements of the QR code are much larger than the lines in a barcode so there is much less chance for pixel ambiguity. From your earlier message

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread Max Nikulin
On 10/03/2024 03:48, jeremy ardley wrote: Standard thermal label printers are 203DPI (8 dots per mm). Thanks, this number suits better to my expectation. I just trusted hw earlier. I have asked the postal service to generate labels at 203dpi which will print just fine at 600 dpi and so

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread Max Nikulin
On 10/03/2024 04:41, hw wrote: \psbarcode{textblah foo}{height=0.6 width=0.6 eclevel=L}{qrcode} That works for 600dpi laser printers. When you print the QR-code with a 300dpi label printer you can't reliably scan it, not even when you make the QR-code 1x1" in size. Perhaps that's not a

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread Max Nikulin
On 09/03/2024 19:08, hw wrote: On Fri, 2024-03-08 at 23:21 +0700, Max Nikulin wrote: On 08/03/2024 12:35, hw wrote: On Thu, 2024-03-07 at 23:15 -0500, Jeffrey Walton wrote: I have a USB thermal printer for the shipping labels, <https://www.amazon.com/gp/product/B08V28J3JS>. This p

Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping

2024-03-08 Thread Max Nikulin
On 08/03/2024 12:35, hw wrote: On Thu, 2024-03-07 at 23:15 -0500, Jeffrey Walton wrote: I have a USB thermal printer for the shipping labels, . This printer has only 300dpi. If you print QR-codes on it make sure you can scan them: they have to

Re: strange time problem with bullseye/buster

2024-03-08 Thread Max Nikulin
On 08/03/2024 07:17, gene heskett wrote: I have NDI how to extract chrony's logs from journalctl. - man journalctl, - docs listed on the systemd web site.

Re: Encrypted home and pam_mount

2024-03-05 Thread Max Nikulin
On 05/03/2024 03:37, Andrey Dogadkin wrote: On Sun, 2024-03-03 at 21:27 +0700, Max Nikulin wrote: https://github.com/systemd/systemd/issues/8598#issuecomment-376845082 "systemd-user doesn't properly close its PAM session" I saw that issue and it didn't strike me as related

Re: bash parameter expansion "doesn't like" dots?

2024-03-05 Thread Max Nikulin
On Tue, 5 Mar 2024 at 02:59, Greg Wooledge wrote: We might *guess* that this change was made to make dash more strict about POSIX minimalism (removing extensions), but without documentation we can't do more than guess about motives. The motivation is to avoid difference in behavior when

Re: bash parameter expansion "doesn't like" dots?

2024-03-04 Thread Max Nikulin
On 05/03/2024 09:02, Greg Wooledge wrote: On Tue, Mar 05, 2024 at 10:49:34AM +0900, John Crawley wrote: I think ^ has been deprecated recently. I failed to find a reference on the web just now though. So, ^ isn't "deprecated". It's just not portable to sh. Running shellcheck on a *sh*

Re: Encrypted home and pam_mount

2024-03-03 Thread Max Nikulin
On 03/03/2024 02:46, Andrey Dogadkin wrote: Automounting works fine, but I'm having trouble with auto-unmounting when I log out. The partition stays mounted and I can see "target is busy" errors from umount in the journal. It is an issue with ecryptfs and fscrypt as well.

Re: DNSSEC status of deb.debian.org

2024-03-03 Thread Max Nikulin
On 03/03/2024 16:39, Andre Rodier wrote: Is there a stable domain we can use that doesn't rely on a CDN, please ? https://www.debian.org/mirror/list APT relies on GPG signed metadata, so DNSSEC is not necessary for repositories.

Re: where are the crontab files in Trixie?

2024-02-29 Thread Max Nikulin
On 29/02/2024 11:32, David Wright wrote: On Wed 28 Feb 2024 at 22:32:57 (+0700), Max Nikulin wrote: On 28/02/2024 10:35, David Wright wrote: In which case, I'd write the remaining cron line as: @reboot sleep 99 && echo 13b1 0bdc > /sys/bus/usb/drivers/brcmfmac/new_id I a

Re: where are the crontab files in Trixie?

2024-02-28 Thread Max Nikulin
On 29/02/2024 00:00, Kamil Jońca wrote: How precisely linger works? (what it starts? What not etc) I read about lingering some time ago, and I have had impression (wrong?) that it may conflict with my normal session. Multiple sessions may be started for a user: DM, ssh, VT logins. I am

Re: where are the crontab files in Trixie?

2024-02-28 Thread Max Nikulin
On 28/02/2024 10:35, David Wright wrote: In which case, I'd write the remaining cron line as: @reboot sleep 99 && echo 13b1 0bdc > /sys/bus/usb/drivers/brcmfmac/new_id I am in doubts if it is a task for cron. Wouldn't udev rules be better?

Re: running Jami in Trixie - possible locale issue

2024-02-27 Thread Max Nikulin
On 27/02/2024 20:59, Gary Dale wrote: The en_GB seems to be coming from Plasma 5's Region & Language settings. However I see the message that it is "unsupported", which seems appropriate. en_GB is missed in the output of "locale -a" you posted. I have no idea if it is intended or not. It

Re: running Jami in Trixie - possible locale issue

2024-02-26 Thread Max Nikulin
On 27/02/2024 08:28, Gary Dale wrote: $locale -a locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory What desktop environment do you use? Have you checked its settings? Did you choose locale in

Re: Q: Gnome network odd

2024-02-24 Thread Max Nikulin
On 05/02/2024 12:08, Byunghee HWANG (황병희) wrote: On Sun, 2024-02-04 at 13:41 -0600, David Wright wrote: So it would appear that your question is exactly as in the reference you quoted, that ifupdown was configuring wlp4s0 when /w/n/i was in place, resulting in NM displaying a question mark.

Re: Selective rotation of journald logs

2024-02-24 Thread Max Nikulin
On 24/02/2024 21:09, Byunghee HWANG wrote: When I read the question I decided that syslog for auth facility is a kind of solution. Really i would like to learn more. Can you show a more specific example? Also i'm using Debian (sid). Install rsyslog and logrotate and read their configuration

Re: Selective rotation of journald logs

2024-02-23 Thread Max Nikulin
On 23/02/2024 17:15, Nicolas George wrote: How do I tell systemd's logging system to keep authentication logs for one year and mail logs for one month? I am realizing that the following is not an answer to the asked question. The thread is no more than useless arguing anyway. Some ideas

Re: Timer doing apt update

2024-02-20 Thread Max Nikulin
On 20/02/2024 14:48, Erwan David wrote: Le 20/02/2024 à 03:20, Max Nikulin a écrit : busctl get-property \   org.freedesktop.NetworkManager \   /org/freedesktop/NetworkManager \   org.freedesktop.NetworkManager Metered It would also require to configure NetworkManager to set this correctly

Re: Timer doing apt update

2024-02-20 Thread Max Nikulin
On 20/02/2024 19:44, Greg Wooledge wrote: 1) This apt-daily.timer stuff is quite complex and difficult to discover and understand. I am sorry that I confused enough people by my statements. I believed that by default this timer runs "apt update" every day while upgrades are not enabled

Re: Timer doing apt update

2024-02-19 Thread Max Nikulin
On 20/02/2024 02:35, Erwan David wrote: Le 19/02/2024 à 18:00, Max Nikulin a écrit :     systemctl disable --now apt-daily.timer apt-daily-upgrade.timer Perhaps it is possible to write a script that will respect connection.metered property set by NetworkManager. I disable the timers, thanks

Re: Timer doing apt update

2024-02-19 Thread Max Nikulin
On 19/02/2024 14:35, Erwan David wrote: After each boot, the equivalent of apt update is automatically done in background, through policykit (apt database is locked by policykitd). So I think there is a timer triggroing this. I'd like to disable this when my laptop is on expensive link (eg

Re: sudo udisksctl

2024-02-19 Thread Max Nikulin
David, feel free to stop discussion if you find me annoying. My problem in some sense is close to your one and I am trying to figure out if missed some udisks feature and the result is some inconvenience. On 19/02/2024 11:26, David Wright wrote: On Sun 18 Feb 2024 at 12:41:29 (+0700), Max

Re: partition reporting full, but not

2024-02-18 Thread Max Nikulin
On 19/02/2024 06:26, Keith Bainbridge wrote: So later yesterday afternoon I created a new snapshot with no obvious change is free space. Effect of snapshots is delayed. When you remove a file that does not belong to any snapshot, some disk space is reclaimed. However to restore a file

Re: sudo udisksctl

2024-02-17 Thread Max Nikulin
On 18/02/2024 11:40, David Wright wrote: $ ssh bhost $ udisksctl unlock --block-device /dev/disk/by-partlabel/Nokia01 Passphrase: AUTHENTICATING FOR org.freedesktop.udisks2.encrypted-unlock === Authentication is required to unlock the encrypted device Multiple Card Reader

sudo udisksctl

2024-02-17 Thread Max Nikulin
I have decided to ask the following in a separate thread. On 17/02/2024 02:59, David Wright wrote (Re: f3tools vs Silicon Power 4T drive): lulu () { sudo udisksctl unlock --block-device /dev/disk/by-partlabel/Lulu01 && mount /media/lulu01 } I am evaluating if udisks2 D-Bus API

Re: partition reporting full, but not

2024-02-17 Thread Max Nikulin
On 17/02/2024 09:52, Greg Wooledge wrote: If so, you *could* have data inside the /home directory of the root file system, which is hidden by the /home file system that's mounted over it. You'd need to unmount /home to check. A less intrusive way to inspect shadowed directories is bind

Re: Does "LC_ALL=C" work on all shells?

2024-02-16 Thread Max Nikulin
On 16/02/2024 23:35, Franco Martelli wrote: On 16/02/24 at 03:03, Max Nikulin wrote: LC_ALL=C.UTF-8 LANGUAGE=it aptitude why firefox-esr here seems to override, tested twice with "it" and "it_IT.UTF-8": ~# env LC_ALL=C LANGUAGE=it script -T ~/test.time -a ~/test

Re: Package Identification Assistance

2024-02-16 Thread Max Nikulin
On 16/02/2024 21:14, Greg Wooledge wrote: On Fri, Feb 16, 2024 at 09:05:28PM +0700, Max Nikulin wrote: I suspect that program name is the question. If "ps awf" gives no clue then perhaps the following may help (untested): https://unix.stackexchange.com/questions/362731/how-to-ident

Re: Package Identification Assistance

2024-02-16 Thread Max Nikulin
On 16/02/2024 12:16, Charles Curley wrote: On Thu, 15 Feb 2024 20:33:16 -0500 Neal Heinecke wrote: I need to identify the package responsible for creating the software sources window. There is a minor bug/typo where the first tab reads "Ubuntu Software" I have no idea what a "software

Re: Issue with USB External Keyboard, External Mouse, and Screen Brightness on Dell Laptop

2024-02-15 Thread Max Nikulin
On 15/02/2024 12:39, David Wright wrote: I would go further than tomas, and suggest that the battery might be suspect, or the charging circuit of course. (None of my three laptops works without AC power.) How old is it? Battery health may be estimated from output of upower --dump by

Re: Does "LC_ALL=C" work on all shells?

2024-02-15 Thread Max Nikulin
On 16/02/2024 09:34, David Wright wrote: Yes, LC_ALL=C will override all the locale variables, but LC_ALL=C.UTF-8 will not: It is documented in 2.3.3 Specifying a Priority List of Languages (info "(gettext) The LANGUAGE variable")

Re: Does "LC_ALL=C" work on all shells?

2024-02-15 Thread Max Nikulin
On 16/02/2024 03:17, Franco Martelli wrote: On 15/02/24 at 03:28, Max Nikulin wrote: LANG=C.UTF-8; LANGUAGE=; export LANG LANGUAGE Doesn't LC_ALL=C setting override LANG or LANGUAGE settings? Sorry, my bad. Of course LC_ALL=C.UTF-8; LANGUAGE=; export LC_ALL LANGUAGE and LC_ALL

Re: Does "LC_ALL=C" work on all shells?

2024-02-14 Thread Max Nikulin
On 14/02/2024 23:11, Franco Martelli wrote: Well, I'll go with env command syntax for shells portability. I was asking this because I want to suggest a change to the DDP (Debian Documentation Project) members for the releases notes documentation ¹ # env LC_ALL=C script -t

Re: f3tools vs Silicon Power 4T drive

2024-02-14 Thread Max Nikulin
On 15/02/2024 08:48, gene heskett wrote: This is what gparted calls a "partition label" and certainly does not need a 4.5 megabyte camera image to see. or even a 50k screen snap. lsblk --fs -o +PARTLABEL /dev/sdc

Re: Does "LC_ALL=C" work on all shells?

2024-02-13 Thread Max Nikulin
On 14/02/2024 07:56, Gremlin wrote: Gremlin (12024-02-13): cat /etc/default/locale #  File generated by update-locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 Found this in a shell script: LC_ALL=$LOC LANG=$LOC LANGUAGE=$LOC update-locale LANG=$LOC LC_ALL=$LOC LANGUAGE=$LOC Do not do it for

Re: shred bug? [was: Unidentified subject!]

2024-02-12 Thread Max Nikulin
On 12/02/2024 05:41, David Christensen wrote: Apparently, shred(1) has both an info(1) page (?) and a man(1) page. The obvious solution is to write one document that is complete and correct, and use it everywhere -- e.g. DRY. https://www.gnu.org/prep/standards/html_node/Man-Pages.html 6.9

Re: [ *** ] Job anacron.service/stop running (15min 49s / no limit)

2024-02-12 Thread Max Nikulin
On 13/02/2024 03:16, Rainer Dorsch wrote: I will check the anacron status before the next reboot. Try it now. It is a good chance that you have a stuck job already (waiting for read on a file descriptor leaked from the parent, etc.).

Re: [ *** ] Job anacron.service/stop running (15min 49s / no limit)

2024-02-11 Thread Max Nikulin
On 12/02/2024 03:41, Darac Marjal wrote: On 11/02/2024 11:21, Rainer Dorsch wrote: - How can I found out which process anacron is still running? I think that, once the shutdown has started this is basically impossible. Likely some cron job requires a fix. Try systemctl status anacron

Re: testing new sdm drive

2024-02-09 Thread Max Nikulin
On 09/02/2024 20:23, Dan Ritter wrote: I would (I have, in the past) generate a non-random but mostly incompressible large file There are 2 kinds of random number generators: - Cryptographic grade are intentionally hard to predict - Pseudo-random A pseudo-random generator of reasonable

  1   2   3   4   5   6   >