Re: Git for backup storage

2023-10-06 Thread Mike Castle
Something I played with recently was https://packages.debian.org/stable/vcs/git-filter-repo But you definitely want to run tests on real data before you decide that deleting old data saves your anything, particularly with respect to time. If git is so efficient at storing this kind of data, then

Re: Single-page application [was: debian.org - broken Download link.]

2023-10-09 Thread Mike Castle
On Mon, Oct 9, 2023 at 6:11 AM wrote: > Gah, no. As a user I hate those with all my guts. Page "state" is > distributed in some intransparent way across client and server and > there is no way to refer to "something" via an URL. Many modern SPAs track state via URL, so they can be referenced. A

Re: A file synchronization tool that respects hardlinks

2023-10-22 Thread Mike Castle
rsync supports hardlinks. --hard-links, -H preserve hard links Though, in general, the purpose of something like darcs is to *provide* the syncing. mrc

Re: Performance of my computer

2023-10-30 Thread Mike Castle
On Mon, Oct 30, 2023 at 5:14 PM Van Snyder wrote: > On Mon, 2023-10-30 at 19:40 +, piorunz wrote: > On 30/10/2023 18:56, Van Snyder wrote: > Firefox, in every version I've used so far, appears to have memory > > leaks. If I kill it, not by clicking its little "X" or Alt-F4, but with > > "kill

Re: Recommended simple PDF viewer to replace Evince

2023-12-04 Thread Mike Castle
I use Evince probably once a week or so from the command line. I do not see that error, though I think I have in the past. I suspect that if you are seeing those issues with the current bookworm release, it is likely a problem local to you. You could be missing a package that evince expects to b

Re: Content of /etc/ethers

2024-01-03 Thread Mike Castle
On Wed, Jan 3, 2024 at 6:58 PM Greg Wooledge wrote: > What's not really stated anywhere is *why* these library functions > exist. I don't see many practical application for a library function > that reads a text file full of MAC addresses and hostnames, looks up > one of them, and spits out the o

Re: disable auto-linking of /bin -> /usr/bin/

2024-01-10 Thread Mike Castle
On Wed, Jan 10, 2024 at 9:53 AM Andy Smith wrote: > น There was another use-case which is "sharing a read-only /usr > between systems by NFS, etc." but at the time this was widely > regarded a lost cause as so many other things violated the > premise. I did that for years. Then again, when

Re: disable auto-linking of /bin -> /usr/bin/

2024-01-10 Thread Mike Castle
On Wed, Jan 10, 2024 at 10:57 AM wrote: > Yes, the main reason for the separation of /usr has more or less > disappeared with the arrival of initramfs, but still... why. To some extent, it will make it easier for packaging. Look at any package built using autoconf, for instance, you run: ./confi

Re: top bar the way I want it

2024-01-20 Thread Mike Castle
On Sat, Jan 20, 2024 at 9:12 AM Jeremy Nicoll wrote: > And, of course, write notes to yourself for EVERY change like this, so > you can remember how you did it. I actually have a quarterly reminder for myself to review my various systems and take notes on changes. Installed packages, make sure c

Re: Multi Desktop Windows?

2023-05-31 Thread Mike Castle
Depends on your desktop/window manager, most likely. For me, with XFCE, it is ctrl-alt- by default. And they appear to be configurable in the Settings -> Window Manager -> Keyboard section. mrc

Re: Running Debian without initramfs?

2023-06-08 Thread Mike Castle
On Thu, Jun 8, 2023 at 10:50 AM Greg Wooledge wrote: > Merged-usr is officially mandated for bookworm, and upgrades to bookworm > will do the merge, if it hasn't already happened. End of an era. My first Linux system (predating the existence of Debian), mounted /usr over NFS over PLIP. I couldn

Re: unzip files bigger than 4 GB

2023-06-14 Thread Mike Castle
It seems like it should. I haven't upgraded my system yet: $ unzip -v | grep -e 6 -e LARGE UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP. USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported) LARGE_FILE_SUPPORT (large files over 2 GiB supported) ZIP64_SUPPORT (a

Re: unzip files bigger than 4 GB

2023-06-14 Thread Mike Castle
Nvm, confused 2G with 4G. Sorry for the noise. On Wed, Jun 14, 2023 at 12:21 PM Mike Castle wrote: > > It seems like it should. I haven't upgraded my system yet: > > $ unzip -v | grep -e 6 -e LARGE > UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP. >

Re: Wireless temperature & humidity measurement

2023-07-14 Thread Mike Castle
I was just researching this myself a couple of days ago, and spent several hours going down a rabbit hole. It seems that many folks are going the way of using an open source solution, Home Assistant (aka, HA), (https://www.home-assistant.io/). Even to the point where I found that folks that used t

Re: is it unusual that 12.1 is released so soon after 12?

2023-08-16 Thread Mike Castle
7: 2013-05-04 https://www.debian.org/News/2013/20130504 7.1: 2013-06-15 https://www.debian.org/News/2013/20130615 42 days 8: 2015-04-25 https://www.debian.org/News/2015/20150426 8.1: 2015-06-06 https://www.debian.org/News/2015/20150606 42 days 9: 2017-06-17 https://www.debian.org/News/2017/2

Re: is it unusual that 12.1 is released so soon after 12?

2023-08-19 Thread Mike Castle
I think it is kind of like buying a new ANYTHING. Some folks will buy a new model as soon as it comes out. Some will wait a few months to see if anyone else is having problems with it. Whether it is a vehicle, electronic device, refrigerator, MS-Windows, new online service, etc. As more folks u

Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-03-14 Thread Mike Castle
On Fri, Feb 23, 2024 at 2:07 AM Alain D D Williams wrote: > It is "fixing" an issue for today's English speakers. Should we scour our > systems looking for similar issues in other languages ? Then in, say, 20 years > time when different words will then be considered offensive, by some, do this > a

Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-03-15 Thread Mike Castle
On Fri, Mar 15, 2024 at 1:49 AM Alain D D Williams wrote: > We seem to be told that this must be done by those who will not be doing the > work. Was that explicitly stated anywhere? Or is the lack of any type of explicit "I'm willing to help drive this" statements leading to that conclusion? mr

Current best practices for system configuration management?

2024-04-18 Thread Mike Castle
For a while now, I've been using `equivs-build` for maintaining a hierarchy of metapackages to control what is installed on my various machines. Generally, I can do `apt install mrc-$(hostname -s)` and I'm golden. Now, I would like to expand that into also setting up various config files that I c

Re: Current best practices for system configuration management?

2024-04-20 Thread Mike Castle
Thanks for all the suggestions so far. Like Alex, one of my physical machines is a laptop that is not always on the home network. Though I'm usually connected to *something*. I'm still debating whether to bother with a VPN or trying something like a tailnet. Heck, before I adopted Debian and ran

Re: Current best practices for system configuration management?

2024-04-20 Thread Mike Castle
Hah! https://lists.debian.org/debian-user/2013/08/msg00042.html

Re: Current best practices for system configuration management?

2024-05-27 Thread Mike Castle
On Sat, Apr 20, 2024 at 4:40 PM Mike Castle wrote: > Thanks for all of the commentary so far. > > Once I get something working, I will *try* to remember to follow up > here with what I've managed to cobble together. I have done quite a bit of research and experimentation and fin

Re: Uninstalling a package and its entourage

2024-05-27 Thread Mike Castle
Even shorter: apt autopurge Apropos to my recent message regarding system configuration, I keep a personal metapackage around that lists the packages I really want. About once a quarter I do the following (as root): # apt-mark showmanual | grep -v mrc-mars | xargs apt-mark auto # apt autopurge

Re: About dash as sh

2024-06-20 Thread Mike Castle
bash is still 10x larger than dash: $ ls -l /bin/[bd]ash -rwxr-xr-x 1 root root 1265648 Apr 23 2023 /bin/bash -rwxr-xr-x 1 root root 125640 Jan 5 2023 /bin/dash I would not be surprised if that impacts things like initrd and other resource constrained environments. Generally speaking, standa

Re: About dash as sh

2024-06-21 Thread Mike Castle
On Fri, Jun 21, 2024 at 4:57 AM Greg Wooledge wrote: > That's why I find it frustrating when someone claims that this bug is > so severe that Debian has to *change their policy* without even describing > how this bug is affecting them in real life. I did not feel like the OP was saying the bug wa

Re: Why is Firefox crashing so much lately?

2024-07-17 Thread Mike Castle
At my new job I've been using 115.12.0esr for about three weeks now, with no crashes. However, also XFCE. At home, I use Mozilla's debian repo as described at https://support.mozilla.org/en-US/kb/install-firefox-linux#w_install-firefox-deb-package-for-debian-based-distributions for a while now, c

Re: the usage of env

2024-07-19 Thread Mike Castle
In addition to what everyone else has said about env(1), there is the fact that Korn derived shells also supports some of the same features. env VAR1=foo VAR2=bar random-command VAR1=foo VAR2=bar random-command If running a Korn-like shell (ksh, bash, zsh), both would set the envvars VAR1 and VAR

Re: bash history

2024-07-27 Thread Mike Castle
On Sat, Jul 27, 2024 at 2:50 PM mick.crane wrote: > Is this something that can be changed so history is shared between > virtual terminals? Yes. There are all sorts of settings that can control how shells save history. Most shells are capable of doing whatever you want, but the default configur

Re: bash history

2024-07-28 Thread Mike Castle
On Sat, Jul 27, 2024 at 11:04 PM mick.crane wrote: > If I've "su'd" I type "exit". > To close the terminal I click that X in the virtual terminal's top right > hand corner. Depending on settings, that may or may not save that invocation's history. You'll likely want to test to verify that it doe

Re: bash history

2024-07-28 Thread Mike Castle
On Sat, Jul 27, 2024 at 11:23 PM Jeffrey Walton wrote: > On Sun, Jul 28, 2024 at 12:25 AM Mike Castle wrote: > > * I keep history under source control (currently git) and regularly > > (well, for some definition of "regularly"), merge them across machines > > Thi

Re: bash history

2024-07-28 Thread Mike Castle
On Sun, Jul 28, 2024 at 5:16 AM songbird wrote: > not that i would want that, > > but it would be possible for various terminals to save to > their own unique history files based upon terminal pty or > tty or anything else you'd like and to reload those upon > starting up again. Yes. Setting

Re: wait until swapoff is *actually* finished (it returns too early)?

2024-08-22 Thread Mike Castle
On Thu, Aug 22, 2024 at 5:45 AM Stefan Monnier wrote: > How 'bout checking the success of `cryptdisks_stop`? Does cryptdisks have the ability to display what is in use at the moment? Maybe polling that before executing the stop? I suspect that the race is that, when the the swapoff() syscall re

Re: wait until swapoff is *actually* finished (it returns too early)?

2024-08-22 Thread Mike Castle
On Thu, Aug 22, 2024 at 11:45 AM David Wright wrote: > I'm not convinced. Finding out what needs copying back and locating > somewhere to put it is AIUI a slow process. What's much faster is > when processes themselves demand something be paged back in from > swap. I think there are "tricks" avai

Re: wait until swapoff is *actually* finished (it returns too early)?

2024-08-22 Thread Mike Castle
On Thu, Aug 22, 2024 at 4:31 PM David Wright wrote: > Irrespective of the time taken, that could trigger the OOM killer, > couldn't it. Very risky, unless you're using two swaps as mentioned. I was actually surprised to see this happen in a test right now. I *thought* that swapoff() would fail i

Re: Firefox pausing network activity during vt-switch / screenlock

2024-10-08 Thread Mike Castle
On Mon, Oct 7, 2024 at 7:06 PM Max Nikulin wrote: > On 07/10/2024 08:35, Raj Kiran Grandhi wrote: > > The question is if Firefox for some reason believes that network state > is changed. A simple test (unrelated to downloads though) is to try in > dev tools console > > window.addEventListener("onl

Re: Firefox pausing network activity during vt-switch / screenlock

2024-10-05 Thread Mike Castle
For what it is worth, I've had the same trouble with all versions of Debian and FF for a "while" now, and have spent time trying to investigate it off and on during that time. A "while" is possibly a couple of years? I didn't have any desktop computer for a while, and when I did set one up, I end

Re: need .md reader that can print ONLY tha page being viewed

2024-10-27 Thread Mike Castle
A feature of markdown (.md) is that it is plain text. Bring it up in your favorite text editor, save just the bits you need, print with plain old lp(1). No "reader" necessary.

Re: How to find installed packages not in APT?

2025-02-03 Thread Mike Castle
On Mon, Feb 3, 2025 at 5:16 PM Loren M. Lang wrote: > Basically, I want to identify any software that I couldn't reinstall on > a fresh install of Debian from the official Debian archives. Will this work as a starting place for you? comm -23 <(dpkg-query -W -f '${Package} ${Version}\n' | sort -u

Re: How to find installed packages not in APT?

2025-02-04 Thread Mike Castle
On Tue, Feb 4, 2025 at 4:04 AM Andrew M.A. Cater wrote: > apt list '~o' Where is '~o' documented? apt(1) mentions dpkg-query, but I couldn't find it mentioned there either. I'm pretty sure I've seen it somewhere, but I couldn't find it when I saw this command mentioned previously in this thread

Re: How to find installed packages not in APT?

2025-02-04 Thread Mike Castle
Also, I don't think there should be any need to run it as root. And sorry for the bad line wrapping.

Re: How to find installed packages not in APT?

2025-02-04 Thread Mike Castle
On Tue, Feb 4, 2025 at 8:34 AM Greg Wooledge wrote: > > On Tue, Feb 04, 2025 at 08:12:42 -0800, Mike Castle wrote: > > On Tue, Feb 4, 2025 at 4:04 AM Andrew M.A. Cater > > wrote: > > > apt list '~o' > > > > Where is '~o' document

Re: How to find installed packages not in APT?

2025-02-04 Thread Mike Castle
On Tue, Feb 4, 2025 at 8:47 AM Andrew M.A. Cater wrote: > Mentioning dselect - that will give you all the obsolete packages it > can't find - usually at the top of the interface but it does need > some degree of expertise to unravel what it shows. > > (I just used dselect to find obscure packages

Re: Firefox and XFCE

2024-12-10 Thread Mike Castle
Out of curiosity, how do you raise windows? Anyway, I was unable to reproduce this with FF 1.333.0 and Debian 12. However, I normally do not run with these settings, so perhaps I do not have them set up correctly. Perhaps some screen shots of your settings might be in order to verify I tried corr

Re: Firefox and XFCE

2024-12-17 Thread Mike Castle
On Tue, Dec 17, 2024 at 4:12 AM wrote: > No, this has been from the installation of Debian 12 to this Laptop. > Before that, I had Xubuntu 20.04 (Ubuntu with XFCE) on another Laptop > that has crashed (broken mainboard). I also run Xubuntu 18.04 in a > VirtualBox on a Windows host. Both also con

Re: Writing passwords down [was: a passwordless operating system]

2024-12-17 Thread Mike Castle
On Mon, Dec 16, 2024 at 11:27 PM Loris Bennett wrote: >keeping them in your wallet can be > safer than sticking them with a post-it to you monitor. Just brought back memories. When I was in college in the 1980s/1990s, in my OS class, the instructor told of a time when he was walking down a hallw

Re: Best terminology to distiguish groups such as "debian-user" from webmail whatevers

2025-02-26 Thread Mike Castle
Amusingly, "listserv" was the name of one of the original email implementations on IBM Mainframes on BITNET. Names were limited to eight characters, hence that particular abbreviation. (JUGGLE-L was one of my first subscriptions back then.) Many modern conversation systems use both email and web

Re: Who: Bookworm v. Trixie

2025-03-30 Thread Mike Castle
The whole utmp stuff is flaky, a best effort system that might give some resemblance to reality. All who does is read the database. It is up to all of the other systems that might write to it to do the correct thing with regards to adding and removing entries. man -s 5 utmp Goes into more detai

Re: virt-manager and networking

2025-06-06 Thread Mike Castle
On Fri, Jun 6, 2025 at 11:10 AM Charles Curley wrote: > Is it possible to set things up so that the virtual machines are on the > same network as the host machine? The host is on 192.168.100.0/24. Can > I have the virtual machines also on 192.168.100.0? Provided it the host is on a wired connecti

Re: disk cache

2025-06-12 Thread Mike Castle
On Wed, Jun 11, 2025 at 6:52 PM xuser wrote: > is there any way to limit the disk cache to %30 of the memory? Why do you think you need to do that? The kernel should be doing a good job of efficiently using the memory. Restricting the amount of RAM used for caching is likely to slow things down

Re: How to manipulate PDF documents in Debian?

2025-07-21 Thread Mike Castle
Annoyingly, I am currently trying to print a filled-form PDF with FF and it is not working. When I try to print the page, it comes up with the form without all of my filling. So, treat my previous comment with suspicion. mrc

Re: How to manipulate PDF documents in Debian?

2025-07-22 Thread Mike Castle
Hah! Thanks for all of the Firefox follow-ups. I had stumbled across the info about fonts shortly after I posted. While printing from FF didn't work, using good old fashioned "lp" from the command line worked on the filled-and-saved PDF. I also tried moving pdfs back and forth between my home c

Re: How to manipulate PDF documents in Debian?

2025-07-22 Thread Mike Castle
On Tue, Jul 22, 2025 at 5:28 AM Greg wrote: > Evince can fill in fillable forms, as can Chrome. > But evince seems the natural choice. Firefox can draw onto a PDF. When using text to draw, it allows one to make it act like a fillable form when it isn't. Evince does not seem to offer such a feat

Re: Restating question "How to manipulate PDF documents in Debian?"

2025-07-22 Thread Mike Castle
The poppler-utils package has tools like: pdfseparate -- page extraction tool pdftotext -- text extraction pdftohtml -- PDF to HTML converter Many others as well, but those might be of immediate value to you. Years ago, pre-PDF, there used to be tools like ps2ps, pstops (different tools, I think

Re: How to manipulate PDF documents in Debian?

2025-07-21 Thread Mike Castle
For actually modifying PDFs, I have taken to using Firefox. It not only handles editable PDFs (those with predefined fields to type into), it can also simply overlay text and drawings. It is not likely to work for changing the wording of the document. But if you just want to avoid having to print

Re: serial console

2025-08-01 Thread Mike Castle
On Wed, Jul 30, 2025 at 5:57 PM Andy Smith wrote: > Note that Raspberry Pi is capable of running a full operating system so > most people would have it run one like Linux and manage it over SSH > rather than use the USB for a serial console. They might have other uses > for the USB, and SSH is any

Re: Please, don't let sudo be auto-removable

2025-07-30 Thread Mike Castle
On Wed, Jul 30, 2025 at 11:34 AM Andy Smith wrote: > Although, I think if they wanted to make sudo "essential" they would > need to co-ordinate that with other Debian Developers. There is also the "Protected" field. It acts like "Essential" when trying to remove, but not required like "Essential

<    1   2