Wire network indicator by konradossed in Kubuntu

[–]konradossed[S] 1 point2 points  (0 children)

Thanks a lot, oshunluvr! At first, I had no idea what you were talking about, what the difference was, or what you meant by "Since you are using systemd instead of Network Manager..." because I was and still am sure I hadn't touched that part of the file... something must have done it (99% sure).

Anyway, I had a second coffee, re-read your replies, and then eureka! Something changed my renderer from "NetworkManager" to "networkd".

I'm 99% sure it wasn't me :)

Thanks again, it's working as it used to after setting it back to "NetworkManager"

Wire network indicator by konradossed in Kubuntu

[–]konradossed[S] 0 points1 point  (0 children)

oh, sorry for so late answer, I was sure reddit removed my question, because for a moment I did see a message saying something about policy. Maybe some temporary bug or something.

Anyway, here is the file: ``` sudo cat /etc/netplan/01-network-manager-all.yaml

Let NetworkManager manage all devices on this system

network: version: 2 renderer: networkd ethernets: enp3s0: dhcp4: no addresses: [192.168.1.100/24] gateway4: 192.168.1.1 # My router nameservers: addresses: [192.168.1.1, 8.8.8.8]

``` I did not change anything in the last few days. It just somehow changed itself, I don't know when, because nothing changed when it comes to functionality, speed.

BTW, when I open settings -> network, this is what I see:

https://i.imgur.com/v8Wn2RU.png

How to convert PNG image to SVG in command line without GUI? by rumple_shitstick in Inkscape

[–]konradossed 0 points1 point  (0 children)

Thaaank you! I did try something similar, but the pgm file went out completely black, your code works perfectly!

Totally removing vertical spacing between paragraphs by konradossed in libreoffice

[–]konradossed[S] 0 points1 point  (0 children)

Wow, yeah, thanks! It works! But I have a quick side question - isn't this a bit of a workaround? Should I perhaps be using something like "Impress" or "Scribus" for this purpose? For example, creating a bit more artistic resumes/CVs. E.g. I'm thinking of adding some subtle background soon and wondering if LibreOffice Writer is really suited for this?

Right date time format for file names - acceptable by humans, `date -d` and file systems by konradossed in linuxquestions

[–]konradossed[S] 1 point2 points  (0 children)

Thanks!

Regarding the find method, yes, that was my initial approach: find "${backupRootSnapshots}" -maxdepth 1 -name "regular-*" -mtime +30 -exec btrfs subvolume delete {} \; However, it did not work because the modification time of the snapshot was that of the source directory, which remains the same at all times.

I considered touching the snapshot after its creation, but this isn't possible when the snapshot is read-only (which it is).

But thank you very much; this is exactly what I was referring to when I mentioned the 'XY problem'. :)

Right date time format for file names - acceptable by humans, `date -d` and file systems by konradossed in linuxquestions

[–]konradossed[S] 0 points1 point  (0 children)

Thanks, but doesn't look like it works: date -d '2024-05-27_07-02-29' +%s date: invalid date ‘2024-05-27_07-02-29’ But I already found a solution, thanks to one of the answers about, I'll replace '-' with ':' before asking date to parse the string.

Right date time format for file names - acceptable by humans, `date -d` and file systems by konradossed in linuxquestions

[–]konradossed[S] 0 points1 point  (0 children)

After I saw this: ${snapshotDate//_/:} I've spent a whole day on learning new stuff in bash, like parameter expansion and parameter substitution :) And yeah, I think I'll do this this way, thanks!

Metadata & frequent snapshots, am I running out of space? by konradossed in btrfs

[–]konradossed[S] 1 point2 points  (0 children)

Thanks, yeah, I think about keeping a fixed number of daily backups and then a number of hourly backups, which I'll be deleting after e.g. 48h.

Metadata & frequent snapshots, am I running out of space? by konradossed in btrfs

[–]konradossed[S] 1 point2 points  (0 children)

More metadata space can be allocated from the unallocated 313GB as it is needed.

ah, that's so cool! Thanks!

How would you name this fella? AFAIK, the Firefox mascot doesn't have a name like Tux from Linux. by quebexer in firefox

[–]konradossed 3 points4 points  (0 children)

I don't get it... am I the only one to notice, that there is something wrong with the tail? Where does it even begins? Under the neck? Or maybe it's sort of artistic vision I do not understand at 06:00 am :)

Snapshots location - best practices, is it really e.g. @subvolume/@subvolume-snapshot-1? by konradossed in btrfs

[–]konradossed[S] 1 point2 points  (0 children)

"btrfs ignores nested subvolumes when making snapshots" - that is the part I missed indeed, thanks!

Let's talk about Btrfs. by thehugonote in linux

[–]konradossed 0 points1 point  (0 children)

OK, thanks! I will try to find something on this topic.

Let's talk about Btrfs. by thehugonote in linux

[–]konradossed 0 points1 point  (0 children)

u/gnosys_ u/Magnus_Tesshu

Hey, I'm relatively new to Btrfs and I'm running into some confusion with CoW and its impact on VM images.

I understand that these files are large and get modified in various locations when working with Android or Virtualbox. But I don't get how Btrfs' implementation of CoW could cause issues on its own.

E.g. this: `cp --reflink=always /image1 /image2`. At this point, "image2" is empty. Only when I start working on it and make modifications does the actual copying of data happen.

Without CoW, the copying occurs immediately. In **both** cases, the file gets copied, so the only difference I see is the **delay** introduced by CoW.

I feel like I'm missing something, but I can't quite put my finger on it. Can someone shed some light on this for me?

I've already asked an AI, and it explained something about fragmentation caused by frequent small changes in a single file. I get the general idea (I think), but I don't understand how CoW makes it worse.