• Cyborganism@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    13 hours ago

    Hello,

    I have a desktop PC which I’ll be running Kubuntu 24.04 LTS as my main OS. No Windows dualboot or anything.

    I have 2 hard drives.

    • My main one is a 1TB SSD NVME disk which will contain my Linux OS on a single BTRFS partition.
    • My second one is a 1TB HDD NTFS formatted disk which contains only my data files (Pictures, Documents, Downloads, Desktop, Music, Videos, etc. Symlinked in my /home/user directory to replace the folders of the same name)

    Since I’ll be using BTRFS, I’ll be performing snapshots (daily, weekly, monthly) with a certain retention for each.

    But I want to also take snapshots of my whole system on a monthly basis or so on an external 8TB external backup drive (one of those big ones as big as a book that’s permanently hooked up to my PC) for safety’s sake.

    My external USB backup HDD is exFAT formatted (out of the box).

    Doing an rsync from from my NTFS data drive to my external drive won’t be a problem. But I can’t do an rsync from my BTRFS SDD to my external drive because of permissions, ownership, etc.

    What do you suggest I do in that case for my SDD drive?

    I was thinking of creating a mountable ext4 disk image of maybe 2-4TB and mounting it at boot, then doing an rsync to that disk image on a monthly basis.

    Another option would be to straight up tar bzip the drive, or at least select directories like /home and /etc.

    And lastly, just straight up use dd or clonezilla to create a snapshot. But I want to be able to mount it and view the files though.

    What do you think?

    • sin_free_for_00_days
      link
      fedilink
      arrow-up
      1
      ·
      11 hours ago

      Do you have things on the external that precludes you formatting it? You aren’t doing it too often, so a tarball might work, but you’ll be wasting a lot of time doing it that way. Then again, if it’s once a month, that doesn’t seem like a huge deal. I just use rsync now and then for my external backup and it doesn’t take long at all.

      • Cyborganism@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 hours ago

        Yeah, but since my external drive is formatted in exFAT, I can’t simply rsync to it. I gotta either partition it, or create a mountable ext4 filesystem image on which I can.

  • Varyag@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    12 hours ago

    I was trying to figure this out until like 3AM last night. How do I set environment variables to be loaded into my X session when XFCE loads? I’m on Arch btw. I want to set DRI_PRIME=1 so that applications started from the launcher actually use the discrete graphics card by default. Right now it only works like that if I launch from the terminal.

    I tried multiple potential config files to put it at, and the one time it actually worked, I lost my window manager… The other times, the desktop environment didnt even load or start the session. Undid everything and decided to come back later.

    • sin_free_for_00_days
      link
      fedilink
      arrow-up
      1
      ·
      11 hours ago

      I’m kind of out of date with modern Linux stuff, but can’t you throw that in the .xsessionsrc or .xinitrc file?

  • Nicht BurningTurtle@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    14 hours ago

    Is there a way for me to limit the framerate of my wayland session, before my window manager is launched? I have to do this, because qtile wayland crashes before reaching my autostart script.

      • Nicht BurningTurtle@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        13 hours ago

        I am on arch, using intel. It doesn’t seem to like my 240fps display, since it’s fine, when only connected to it, or my other displays, but crashes when connected to my all my displays at once.

            • Cyborganism@lemmy.ca
              link
              fedilink
              English
              arrow-up
              2
              ·
              9 hours ago

              Hold up…

              According to the specs on your CPU its max resolution is 4096x2304 @ 120Hz on an integrated flat panel. (Assuming you have a Laptop.)

              Otherwise, on the HDMI and DPI output, the limit is 60hz. It can’t run at 240Hz. It’s like 4 times its max framerate for an external display!

              Make sure your Wayland configuration is set up so that all your displays have the same framerate of 60Hz

              If you want to have your display work at that framerate, you’ll need to get a proper GPU.