Activity for Karl Knechtel
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #291819 |
To be honest, I was hoping more for something that highlights and enumerates the individual terms like "init system", "display manager" etc. The prose is nice for giving a sense of the complexity of the system, but doesn't seem very helpful for mentally managing that complexity. For example, CUPS was... (more) |
— | 9 months ago |
Comment | Post #291786 |
I more or less rewrote the question to try to express what I'm getting at more clearly. How does it look now? (more) |
— | 10 months ago |
Edit | Post #291786 |
Post edited: Reworked based on feedback and taking advantage of matthewsnyder's other question |
— | 10 months ago |
Comment | Post #291786 |
The second of those questions is really what I was trying to get at. It honestly didn't occur to me that the DE would be "special" in this regard. The goal is to identify coherent *components* of the system - questions about swapping them could be separate, sure. What I meant about the package count ... (more) |
— | 10 months ago |
Edit | Post #291786 | Initial revision | — | 10 months ago |
Question | — |
What's the "big picture" of how my operating system is put together? My understanding is that one of the key advantages of Linux is modularity: the actual Linux kernel is quite small, and then what we call Linux is that plus the "rest of the system" - hence "operating system" (or "Linux Systems"). And then the latter is typically, but not necessarily GNU (or should I ... (more) |
— | 10 months ago |
Edit | Post #291782 | Initial revision | — | 10 months ago |
Answer | — |
A: Best practice for splitting data between a fast and slow drive First, consider your needs. There's a decent chance that everything you want will fit on the SSD anyway, at least if you aren't an enthusiastic multimedia collector. Nowadays a 1TB SSD can be had cheaply and is likely a much better value for money than a 500GB one; and drives smaller than that are so... (more) |
— | 10 months ago |
Comment | Post #291771 |
Re "making sure to preserve the permissions", is ordinary `mv` not sufficient? Also, what exactly is the "r" in "rbind"? (more) |
— | 10 months ago |
Edit | Post #291766 | Initial revision | — | 10 months ago |
Question | — |
Adding mount points to an existing partition that already has one I have `/` mounted on a relatively small partition and `/home` on a larger one taking up most of the rest of the drive (as seems to be common practice). I'd like to move certain other parts of the filesystem onto the main partition - notably: `/var` (especially `/var/log`), since it tends to grow... (more) |
— | 10 months ago |
Comment | Post #291641 |
As far as I'm aware, a `.desktop` file can be used anywhere on the filesystem; it's just that putting it in certain locations might offer additional special treatment (e.g. making it available in the DE's "start menu" equivalent). Is there really some limitation I've managed not to notice? (more) |
— | 10 months ago |
Comment | Post #291597 |
GNOME also offers a "System Monitor" application, which comes pre-installed in Linux Mint (at least with Cinnamon). The "start menu" equivalent in this case will list this entry and it can be searched for as "system monitor" and also as "task manager" (for discoverability by users switching from Wind... (more) |
— | 10 months ago |
Comment | Post #291467 |
These differences are mostly intentional: we want to de-emphasize comments in a way that Stack Overflow failed to do (resulting in clutter that puts more space between answers); and we want people to consider the question text (not just the title) before voting - because votes aren't just about "shou... (more) |
— | 11 months ago |
Comment | Post #291408 |
Do you mean that the output will include spaces after the filename (which don't appear to have been reproduced here), or simply that they appear *between* the hash and the filename? Are you specifically trying to highlight that there are *two* spaces in between, or just what? (more) |
— | 11 months ago |
Edit | Post #282891 |
Post edited: Attempt to rephrase the question so that existing answers are still applicable, but so that it can be answered more objectively. |
— | 11 months ago |
Comment | Post #291302 |
(Of course, it occurs to me that even if setting up a full `chroot` environment weren't necessary, I would *at least* have to mount the new root partition in the live system so as to have access to *its* `/etc/fstab` (rather than that of the live boot)...) (more) |
— | 12 months ago |
Comment | Post #291302 |
I'm pretty sure the system is using UEFI and GPT, and the bootloader should be GRUB2. I had hoped that I would *only* need to edit `/etc/fstab` or similar files, but it's good to see that there is at least a viable approach to this.
To be clear: I infer that the point of mounting a temporary setup... (more) |
— | 12 months ago |
Edit | Post #291300 | Initial revision | — | 12 months ago |
Question | — |
Moving the filesystem root to a different partition and booting from it My primary drive is partitioned basically like so (only roughly to scale): ``` / /home junk v v v |xx############################################xxx ^ ^ ... (more) |
— | 12 months ago |
Edit | Post #291264 |
Post edited: improve clarity and fix some typos in stride |
— | 12 months ago |
Suggested Edit | Post #291264 |
Suggested edit: improve clarity and fix some typos in stride (more) |
helpful | 12 months ago |
Comment | Post #291214 |
Thanks for the comprehensive overview. It makes perfect sense to me.
I went in to this thinking that I wouldn't want to upgrade the entire OS more than every 4 or 5 years anyway, but it feels like I pay a heavy price in terms of software versions being much further out of date than I expected, and... (more) |
— | 12 months ago |
Edit | Post #291212 | Initial revision | — | about 1 year ago |
Question | — |
Why/how can distro support lifetimes exceed the lifetime of their dependencies (such as Python)? Motivating example: my Mint 20.3 distribution offers long-term support until April 2025, which matches the "standard support" offered for the upstream Ubuntu (20.04 "Jammy Jellyfish"). However, the system-provided Python version is 3.8, which reaches the end of security support this October, half a y... (more) |
— | about 1 year ago |
Comment | Post #291205 |
It's not really clear to me what harm could actually be caused by doing this, if it's possible. Could you describe a more detailed scenario of concern in the question? (more) |
— | about 1 year ago |
Edit | Post #291157 | Initial revision | — | about 1 year ago |
Answer | — |
A: What is cat abuse/useless use of cat? Overview A "useless use" or "abuse" of `cat` occurs when a Unix pipeline (sequence of commands that feed into each other, using the shell `|` or "pipe" operator) includes a call to `cat` that is unnecessary for solving the problem. Such pipelines are naturally less efficient (since the OS has t... (more) |
— | about 1 year ago |
Edit | Post #291149 | Initial revision | — | about 1 year ago |
Question | — |
Group and users seem to disagree about whether the users are in the group On my current setup (running Linux Mint 20.3 Cinnamon), I have an administrative user and several ordinary users. I intend for all of these users to be in the same group, which happens to have the same name as the admin user name. (After doing the basic guided setup and looking up some tutorials, I u... (more) |
— | about 1 year ago |
Comment | Post #290163 |
Are return codes for intermediate steps in the pipeline relevant and/or accessible in the first place? (more) |
— | about 1 year ago |
Suggested Edit | Post #282891 |
Suggested edit: Attempt to rephrase the question so that existing answers are still applicable, but so that it can be answered more objectively. (more) |
helpful | about 1 year ago |
Edit | Post #291090 | Initial revision | — | about 1 year ago |
Answer | — |
A: Is there a way to automatically normalize paths when extracting RARs? If all else fails, you could create a wrapper shell function to check the output of `unrar l` (probably by piping to `wc -l`) and proceed accordingly. (more) |
— | about 1 year ago |
Edit | Post #290631 |
Post edited: Improve fake `tree` output |
— | about 1 year ago |
Comment | Post #290636 |
My actual use case involves mostly large binary files. I have a vague recollection of using Unison on Windows many years ago; I think I must have assumed that it only existed to replace `rsync`. But now I've seen that Unison is used on Linux for good reason, and also that `rsync` builds exist for Win... (more) |
— | about 1 year ago |
Edit | Post #290631 | Initial revision | — | about 1 year ago |
Question | — |
Can rsync handle moves and renames? Suppose I have a directory structure like ``` ├── src │ ├── foldera │ │ ├── filew │ │ └── filex │ ├── folderb │ │ ├── filey │ │ └── filez ``` and I back it up using `rsync`: ``` $ rsync -r /path/to/src/ /path/to/dst/ ``` Later, I reorganize the contents of `src`, f... (more) |
— | about 1 year ago |
Comment | Post #289798 |
This makes it feel like my original question is "a typo" by the reasoning I would normally apply - but I sense that there's the working of a more general principle here that could be written up in a better designed Q&A.
I also notice, for example, that `sudo whoami && whoami` gives my own username... (more) |
— | over 1 year ago |
Edit | Post #289796 | Initial revision | — | over 1 year ago |
Question | — |
How does the root user locate executables? A little while ago I was helping someone with running Python in a virtual environment, as root, for some specific purpose. I determined easily enough that this requires explicitly specifying the path to the virtual environment's Python executable (which to some extent defeats the purpose of the "virt... (more) |
— | over 1 year ago |
Comment | Post #289794 |
I realize now that I had originally been thinking in terms of `xargs` because of a previous wrapper I made, to identify files to tally with `wc` (which needs a single invocation with all the arguments, in order to get the sum, of course). I went back and fixed that to use `-print0` / `-0` at least. (more) |
— | over 1 year ago |
Comment | Post #289794 |
This is brilliant; I had a feeling (after realizing the issue in my first attempt at the question) that `xargs` was complicating things given that `find` has a `-exec` argument. This really allowed me to get my head around the needed quoting schemes, too, and explains general best practices (I am not... (more) |
— | over 1 year ago |
Edit | Post #289792 |
Post edited: Fix example for the starting point; fix attempt to match and explain issues with this attempt |
— | over 1 year ago |
Edit | Post #289792 | Question closed | — | over 1 year ago |
Edit | Post #289792 | Initial revision | — | over 1 year ago |
Question | — |
Higher-order functions in Bash? Say I have some Bash function `my-func`, that expects a filename and does some processing on the corresponding file. For demonstration purposes, ``` my-func() { cat "$1"; } ``` If I want to apply that function to all the text files in the current directory, I eventually figured out that I can d... (more) |
— | over 1 year ago |
Comment | Post #289772 |
(It looks like you've already considered this, but.)
While I'm interested in this task and agree that there's at least an *intuitive* distinction to be drawn between libraries and applications, I'm not sure that there's a rigorous way to defined that distinction that's good enough for a programmat... (more) |
— | over 1 year ago |
Edit | Post #289736 | Initial revision | — | over 1 year ago |
Question | — |
How can I get a Flatpak dependency graph? `flatpak uninstall --unused` currently tells me that there is `Nothing unused to uninstall`. This seems wrong to me, based on the list of packages I see vs. the "root" packages I explicitly installed plus what I think their dependencies should be. Is there any way I can get Flatpak to show me a gr... (more) |
— | over 1 year ago |
- ← Previous
- 1
- 2
- 3
- Next →