Re: Can someone explain containers, pods, docker, etc. please

2024-11-09 Thread Florent Rougon
Hi, Le 09/11/2024, Charles Curley a écrit: > I know zilch about pythin, so this is a shot in the dark. While working > on something else, I cam across the package python3-lib2to3. Might that > be of use? No, 2to3 is for converting Python code, however Chris' real problem was with a C extension

Re: Can someone explain containers, pods, docker, etc. please

2024-11-08 Thread Florent Rougon
Hi, Le 08/11/2024, Chris Green a écrit: > No use at all! :-) It's a scanner applet to drive my OKI scanner and > I want the output to end up on my working system where I will use it > in E-Mail or whatever. Does gscan2pdf not fulfill your needs? I'm not a big fan of Perl in general, but this i

Re: Unable to Resize Playlist Window in Qmmp Player

2024-11-03 Thread Florent Rougon
Hi, Le 03/11/2024, Max Nikulin a écrit: > Alt is convenient while working with applications that frequently create new > windows. Unfortunately it shadows useful actions in various applications. > Browsers allows to select text withing a link without opening it. Graphics > editors use modifiers

Re: Mozilla's apt repository; was: Refugee from [x]ubuntu, a few initial questions

2024-10-11 Thread Florent Rougon
Hi, Le 11/10/2024, Brad Rogers a écrit: >>if some evil actor gets access to mozilla's >>repository and injects some malware into it. > > A point I missed. Clearly. > > Thanks for highlighting. This is not very convincing. If an evil actor were in a position to do that, they would probably

Re: password manager

2024-10-09 Thread Florent Rougon
Hi, Le 09/10/2024, Greg Wooledge a écrit: > If reading this leads you to scream "WHY in the HELL is it this > COMPLICATED?!", know that you are not alone. Unfortunately, this is > only a small part of the picture. The full picture is even worse. Yup, I'm pretty sure there was also ~/.dmrc at

Re: Best practice for fresh install on UEFI with multiple disks?

2024-09-30 Thread Florent Rougon
Hi, Le 30/09/2024, Boyan Penkov a écrit: > -- If I have multiple drives, do I modify the script to have multiple > efi2, efi3, ..., efiX ? I think yes. > -- it seems that the script above privileges /boot/efi over /boot/efi2 > -- in this case, if /boot/efi becomes corrupted, won't this just co

Re: boot Debian Gnome, Debian KDE, and Mate, XFCE

2024-09-29 Thread Florent Rougon
Hi, Thanks for your report! Le 29/09/2024, George at Clug a écrit: > # grub-mkconfig -o /boot/grub/grub.cfg > https://averagelinuxuser.com/dual-boot-arch-linux-with-linux/ Alternatively, you could have used a simple 'update-grub' because: $ cat $(which update-grub) #!/bin/sh set -e exec grub-

Re: Best practice for fresh install on UEFI with multiple disks?

2024-09-20 Thread Florent Rougon
Le 20/09/2024, Tim Woodall a écrit: > Because the script will abort after the mount fails. > > root@dirac:~# cat test.sh > #!/bin/bash > > set -e > > mount /boot/efi2 > > echo "do important stuff" > > root@dirac:~# ./test.sh > mount: /boot/efi2: /dev/sda2 already mounted on /boot/efi2. >d

Re: Best practice for fresh install on UEFI with multiple disks?

2024-09-20 Thread Florent Rougon
Le 20/09/2024, Tim Woodall a écrit: > Haven't looked at the script but assuming it's run set -e, then your > suggestion will fail if it's already mounted. Why? -- Florent

Re: Best practice for fresh install on UEFI with multiple disks?

2024-09-19 Thread Florent Rougon
Hi, Le 19/09/2024, Andy Smith a écrit: > I don't think the answer, on Debian, has changed since I asked the > same question in 2020: > > https://lists.debian.org/debian-user/2020/11/msg00455.html There is a script at [1] to install as, e.g., /etc/grub.d/90_copy_to_boot_efi2, so that it is a

Re: Where to put *.pth files for custom Python site packages?

2024-09-18 Thread Florent Rougon
Hi, Le 17/09/2024, Christian Gelinek a écrit: > The Python documentation[0] states that the search path can be extended via > .pth files which should be added to specific directories. (...) > Given that these sub-folders are managed by Debian/`apt`, where should I place > our custom.pth file p

Re: Matching grub data in the MBR with the installed grub-pc package

2024-09-11 Thread Florent Rougon
Hi, Le 11/09/2024, Andy Smith a écrit: > Since booting from sdb wasn't working in any case, I thought I'd > experiment a bit. I copied the first 446 bytes of sda to sdb. This > made matters worse! Instead of a "grub> " prompt, I just got a blank > screen. > > I then rebooted from sda and did: I

Re: Matching grub data in the MBR with the installed grub-pc package

2024-09-10 Thread Florent Rougon
Le 10/09/2024, Andy Smith a écrit: > Good point. I understand the bootloader is actually the first 446 > bytes so maybe I should only be looking at these. > > https://unix.stackexchange.com/a/254668/36243 The partition table indeed starts at offset 446 (decimal), however I'd still rather run

Re: Matching grub data in the MBR with the installed grub-pc package

2024-09-10 Thread Florent Rougon
Hi, Not an expert on this matter, so take this with a grain of salt. Le 09/09/2024, Andy Smith a écrit: > Can I simply copy the first 512 bytes of sdb to the start of sda? I would not do this, one of the reasons being that AFAICT, the start offsets of the (up to 4) primary partitions of each d

Re: switch users and still use display

2024-08-02 Thread Florent Rougon
Hi, Le 02/08/2024, Jeffrey Walton a écrit: > emacs is notorious for that. In fact, if you install a new system, and > `sudo emacs `, then emacs will create its own config > directory (.emacs/) in your home directory owned by root. I quickly FTR, the Emacs user configuration directory is ~/.emac

Re: switch users and still use display

2024-08-02 Thread Florent Rougon
Hi, Le 02/08/2024, Greg Wooledge a écrit: > I don't use zsh, so I don't quite understand what "compinit" means. It is a Zsh function that initializes completion for the current session. From zshall(1): Use of compinit (...) To initialize the system, the function compinit (...) should b

Re: switch users and still use display

2024-08-02 Thread Florent Rougon
Hi, Le 27/07/2024, David Wright a écrit: > > I never found an official documentation about "su -p", just found it > > myself, > > but I read, "su -" shall do the same. It does not. > When you write something like this, can you accompany it with a > reference? The essential package util-linux'

Re: Aptitude back to neutral state of a package.

2024-06-16 Thread Florent Rougon
Hi, Le 16/06/2024, Dmitry a écrit: > if press `u` => iuA => Update > if pres `-` => idA => Delete > if press `_` => ipA => Purge > if press `=` => ihA => Hold > > But how to go back to `i A`? I believe you are looking for `:`, aka “keep”. This is less strong/persistent than `=` (Hold). Regards

Re: After upgrade, what do you do about "removed" and "obsolete" packages ?

2024-05-31 Thread Florent Rougon
Le 01/06/2024, Florent Rougon a écrit: > FWIW, removal of “obsolete or local” packages is easily done > interactively in aptitude: you go the the corresponding section of the > main screen, hit Enter, etc. The [ key recursively unfolds a section > (use ] to fold it back). You as

Re: After upgrade, what do you do about "removed" and "obsolete" packages ?

2024-05-31 Thread Florent Rougon
Le 31/05/2024, "Thomas Schmitt" a écrit: > Then it offered me a list with slightly frightening wildcards: > > The following packages will be REMOVED: > fuse* libreoffice-avmedia-backend-gstreamer* linux-image-4.19.0-17-amd64* > linux-image-4.19.0-20-amd64* linux-image-4.19.0-9-amd64* py

Re: After upgrade, what do you do about "removed" and "obsolete" packages ?

2024-05-30 Thread Florent Rougon
Le 30/05/2024, "Thomas Schmitt" a écrit: > So "local" would be just another word for "obsolete" ? My understanding is that “obsolete” and “local” may mean different things to the person who installed the packages (“obsolete” would correspond to the first item of the list at the end of my previou

Re: After upgrade, what do you do about "removed" and "obsolete" packages ?

2024-05-30 Thread Florent Rougon
Hi Thomas, Le 30/05/2024, "Thomas Schmitt" a écrit: > Next documenation riddle is what the word "local" means in output lines > like > > linux-image-5.10.0-rc2-ts/now 5.10.0-rc2-ts-37 amd64 [installed,local] I don't use this but guess it is as in aptitude, where “obsolete/local packages” are

Re: migrating grub from BIOS to UEFI loses /etc/default/grub

2024-05-28 Thread Florent Rougon
Le 28/05/2024, Harald Dunkel a écrit: > Full thread is on debian-boot mailing list. I've read it now, thanks for the info, Harald! Regards -- Florent

Re: migrating grub from BIOS to UEFI loses /etc/default/grub

2024-05-25 Thread Florent Rougon
Hi, Le 24/05/2024, Harald Dunkel a écrit: > if I migrate from grub-pc to grub-uefi, then grub-pc.postrm > removes /etc/default/grub on the final purge. I confirm the behavior, have been bitten by this. IMHO, it is a nasty bug: suppose your rely on your kernel command line to disable, say, the I

Re: Quickemu Problem

2024-05-19 Thread Florent Rougon
Le 19/05/2024, Timothy M Butterworth a écrit: > sudo sync && sh -c "/usr/bin/echo 1 > /proc/sys/vm/drop_caches" --w--- 1 root root 0 19 mai 13:11 /proc/sys/vm/drop_caches The redirection won't work unless the person is already root—there was a thread about this here just a few days ago. :

Re: Dovecot correct ownership for logs

2024-05-14 Thread Florent Rougon
Le 14/05/2024, to...@tuxteam.de a écrit: > You might try > > ps -eo pid,user,group,comm | grep postfix > > or similar. Yep, and beware that the original message mentions a postfix program named 'local' (/usr/lib/postfix/sbin/local). > May 13 20:55:37 mail postfix/local[2824184]: (...) Regards

Re: debian bookworm japanese kana input disabled

2024-05-09 Thread Florent Rougon
Hi, Le 09/05/2024, 冨澤守治 a écrit: > Hellow! > > Thanks you for your supprting everyday. > > Last night (JST) I did some apt update && apt upgade. > But all of sudden I can't input kana and even print any editer or calc cell. > (Roman alphabet has no problem on printing.) This may be due to a rec

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

2024-04-19 Thread Florent Rougon
Hi, Le 18/04/2024, David Christensen a écrit: > 2024-04-18 02:27:18 root@laalaa ~ > # df `which nm-applet` > Filesystem 1M-blocks Used Available Use% Mounted on > /dev/mapper/sdb3_crypt12084M 8927M 2522M 78% / Not sure this command is super-useful: % df $(which awk) F

Re: making Debian secure by default

2024-03-28 Thread Florent Rougon
Le 28/03/2024, Greg Wooledge a écrit: > You can't stop root from writing to your terminal. Root has write > privileges on all devices. > > The purpose of mesg is to allow *other regular users* to send you > messages, or not. (...) Indeed, I understood that after running 'ls -la $(tty)', as sugg

Re: making Debian secure by default

2024-03-28 Thread Florent Rougon
Le 28/03/2024, Florent Rougon a écrit: > Did I miss the point of 'mesg n'?.. Ugh, sorry. Thanks to the 'ls -la $(tty)' command Andy Smith wrote in another message, I understood: 'mesg n' does prevent users from writing to your terminal using e.g. 'wa

Re: making Debian secure by default

2024-03-28 Thread Florent Rougon
Hi, Le 27/03/2024, Andy Smith a écrit: > You could put a call to "mesg n" into a file in /etc/profile.d so > that all users execute it. Did anyone try 'mesg n' here? I tried: $ mesg n $ mesg; echo $? is n 1 Broadcast mes

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

2024-03-13 Thread Florent Rougon
Florent Rougon wrote: > - printer matrix alignment if printer resolution is low (more > difficult; maybe try with some very small horizontal and veritical > shifts to see if it helps...). Thinking about it more, this is probably hopeless unless printer resolution is *extre

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

2024-03-13 Thread Florent Rougon
hw wrote: >> That is quite likely: the pst- prefix means this is PSTricks, which is >> an oldish way of doing vector graphics with LaTeX. I tend to avoid >> PSTricks these days as it is generally awkward to use in PDF contexts, >> although there are various workarounds that often allow to do so.

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

2024-03-11 Thread Florent Rougon
Hi, I haven't read the whole thread (sorry) but thought this might help. hw wrote: > When I zoom in on QR-codes in a PDF viewer, they don't get blurry. > Perhaps the pst-barcode package uses vector graphics? That is quite likely: the pst- prefix means this is PSTricks, which is an oldish way o

Re: Fix for missing gsettings desktop schemas on unstable

2024-03-01 Thread Florent Rougon
Ash Joubert wrote: > You are welcome. There is a bug report with much discussion: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065022 Thanks again Ash, that was quite informative. Regards -- Florent

Re: Fix for missing gsettings desktop schemas on unstable

2024-02-29 Thread Florent Rougon
Hi, Ash Joubert wrote: > There is a huge transition underway on unstable to migrate to 64-bit time_t. > After upgrading to the new libglib2.0-0t64, nothing could find gsettings > desktop schemas, breaking applications like rednotebook and reportbug (lol), > and after a reboot, stopping services

Re: what calculator do you use?

2020-07-13 Thread Florent Rougon
Eric S Fraga wrote: > Emacs Calc if using the computer, HP-48x simulator on my phone > otherwise. If you liked doing calculations as in the HP 48, try the orpie program in a terminal (Debian package of the same name)... or the x48 emulator on Linux (GUI, very impressive). More scripting-oriented

Re: Sound issues on ThinkPad X220T (Lenovo)

2020-04-13 Thread Florent Rougon
Hi, For the record, I had the exact same problem on a computer running buster that I don't use very often. For sure, it was working fine even with timidity installed a few months ago. Many thanks to Andrei for the 'lsof | grep /dev/snd' command that pointed us in the right direction! Debugging the