• zcd@lemmy.ca
      link
      fedilink
      arrow-up
      15
      ·
      edit-2
      15 days ago

      One of us one of us

      Edit: hows it going? Everything working ok?

      • lisquid420@lemm.ee
        link
        fedilink
        arrow-up
        9
        ·
        15 days ago

        i installed manjaro and tbh I don’t think I’m going to touch windows again unless I have to. my only unsolvable issue so far is (I think) my PC is having a hard time detecting Linux when I restart my computer. it just sometimes will tell me to restart and change to a bootable drive through BIOS.

        • zcd@lemmy.ca
          link
          fedilink
          arrow-up
          5
          ·
          15 days ago

          You may need to double check how grub is configured (set it to UEFI if necessary, legacy mode etc) and or updating it. You will want to update the firmware also and try setting grub at the top of the boot list

          • lisquid420@lemm.ee
            link
            fedilink
            arrow-up
            7
            ·
            15 days ago

            I honestly don’t even know what grub is :(

            I always loved computers and took quite a few computer science etc classes and went to my local tech college for IT while still in high school. but now I seriously feel like an old grandma trying to learn all this new fangled computer stuff!!

            • zcd@lemmy.ca
              link
              fedilink
              arrow-up
              8
              ·
              15 days ago

              Oh no worries! Grub is the boot loader. So you turn on the computer and the firmware looks at its list of things to boot from. When you first installed manjaro it booted from the usb and let you install the OS while running off the usb. Usually you would have had to go into the firmware to adjust the boot priority list, and put usb on the top. Now you can go back in and look at that boot priority list again. Now what you’re gonna look for is where manjaro installed grub you can make that the top priority so that next time you reboot it will choose grub, and grub will fire up your linux install. Also in that firmware menu you can look at the other boot options, for example if you have an HP laptop you’re going to need to enable legacy booting because the default secure boot settings sometimes cause issues.

        • sazey@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          14 days ago

          You will probably hear a lot of hate about Manjaro but I absolutely love it. I have an AMD/nvidia laptop (possibly one of the worst combinations to have according to legend) and Manjaro ended up being the most stable distro for me. It is Arch adjacent but comes with sane defaults. Then I found my-laptop specific kernels and now I am in heaven. Uptime is at 21 days but still buttery smooth 165Hz KDE6 Wayland goodness every time I use it.

          I felt the exact same how you do now, once I got it up and running how I liked it, I (almost) never booted Windows again.

        • Mikesomething@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          14 days ago

          I just gave up on Manjaro. It may have been hardware related though, hopefully you have better luck.

          I am having a great time with openSUSE LEAP tho. I’ve had a much easier time getting EVERYTHING to work. If you run into more problems, give it a try!

  • zcd@lemmy.ca
    link
    fedilink
    arrow-up
    16
    ·
    15 days ago

    Switching over to a tiling windows manager has been really enjoyable. It feels like a futuristic paradigm shift

    • hellofriend@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      15 days ago

      Happen to know anything about how windowed games work with a tiling manager? I often stream a buddy’s Elden Ring gameplay while playing myself, but having only one screen means I have to have the Discord popout in the top corner and the gameplay in windowed.

      • zcd@lemmy.ca
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        15 days ago

        I haven’t tried that exact set up myself but in hyprland the default tiling would have your Elden Ring on one half and your friends the other half. Then if you opened up discord it would split one of the halves in half again. If you wanted to have discord instead floating and over top of the stream you could do that, or send it to the next “desktop” over if you don’t need to see it. You can customize each of the tiles however you like, border or no border, you can move them around…

      • Hexarei@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        14 days ago

        In i3wm you can set a key bind to float a window above the tiling and it’ll do just that; You can even automate it with some custom for_window rules if desired.

      • Statlerwaldorf@midwest.social
        link
        fedilink
        arrow-up
        3
        ·
        15 days ago

        I just started tinkering with this yesterday in Gnome on Pop! and it looked like there are options to exclude certain programs from tiling if that’s what you’re looking for.

    • Piatro@programming.dev
      link
      fedilink
      English
      arrow-up
      10
      ·
      15 days ago

      How’s the battery life? I was considering one recently but saw some claim that the battery would only last 4-6 hours and that put me off.

      • chevre@jlai.lu
        link
        fedilink
        arrow-up
        2
        ·
        14 days ago

        I have the 55Wh battery. When I’m not using the Power Saver profile, I’d say it lasts for 5-6 hours. Using the Power Saver profile, I get around 6-7h. Keep in mind I have the base Ryzen 5 model and 16GB of RAM, so power utilization may vary depending on your configuration

          • chevre@jlai.lu
            link
            fedilink
            arrow-up
            3
            ·
            13 days ago

            I didn’t really configure anything apart from installing power-profiles-daemon, selecting the Power Saver profile in Gnome UI and lowering my screen brightness. If you’re planning on getting an Intel Framework laptop, you could use TLP to further tweak power usage but on AMD, you are advised to only use the power-profiles-daemon.

            Here’s a resource on Framework’s website that may be useful to you

  • minibyte@sh.itjust.works
    link
    fedilink
    arrow-up
    11
    ·
    15 days ago

    Just flat out getting Debian to install. This was my first OS swap on a Dell Latitude. Holy whirlwind that bios is locked down with half a dozen secure boot “features”.

    My problem ended up being in storage configuration. After I set it from raid to achi Debian install was able to detect the drive. Why my laptop with a single m.2 slot was configured for raid, I’ll never know.

    • Telorand@reddthat.com
      link
      fedilink
      arrow-up
      1
      ·
      15 days ago

      I remember a time when that was a common thing for laptop drives to come preconfigured as Raid 0. Maybe the OEMs thought it would be easier to add storage that way…?

      • minibyte@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        15 days ago

        I get that maybe it’s preconfigured which might make sense on dell pc’s that’d fit a few drives in empty sata slots, but it took me nearly two days to think of that solution.

        I figured throw it out there in case someone else has issues with an install locating the main drive on a Dell.

        • dave@hal9000@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          15 days ago

          I just got a Dell precision through work, and I am glad I accidentally stumbled on that in the bios menu, I would not have guessed either

  • dave@hal9000@lemmy.world
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    15 days ago

    This nice little one liner bash script, assigned to a shortcut Meta +Shift + O. It opens the flameshot GUI, let’s you select an area of text in your screen and click Ok. It OCRs the screenshot and puts it into the clipboard. It checks for whether you’re using Wayland or X11 to use the appropriate clipboard tool. Beyond the more typical text in an image scenario, it’s a convenient way to copy non-selectable text in error popups. Not my original idea, copied the concept from a suggestion in a GitHub comment thread and adapted it.

    exec &> /dev/null [ “$XDG_SESSION_TYPE” = “wayland” ] && (flameshot gui --raw | tesseract stdin stdout | wl-copy) || (flameshot gui --raw | tesseract stdin stdout | xclip -in -selection clipboard)

  • Lvxferre@mander.xyz
    link
    fedilink
    arrow-up
    10
    ·
    15 days ago

    A script full of functions that I perform often, like:

    • Probe every 5min for internet connection. Play Black Sabbath when there is. (My internet goes down often.)
    • Create individual tarballs/zips/rars for each subdir.
    • Extract all tarballs/zips/rars from a dir. (It detects the format on its own)
    • Extract all files of a DwarFS file into a dir.
    • Re-encode all vids from a dir.
    • Delete all thumbnail pictures from my user.
    • Find and remove all desktop.ini and thumbs.db files in a dir, recursively.

    My .bashrc then sources that script, so to use those functions I simply open a terminal. And if I ever need to delete my .bashrc and recreate it anew, they’re safely stored in my scripts directory.

    • dave@hal9000@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      15 days ago

      The black Sabbath for Internet connection is hilarious. Did you get that from the Bitcoin mining trigger bit on Silicon Valley?

      • Lvxferre@mander.xyz
        link
        fedilink
        arrow-up
        8
        arrow-down
        1
        ·
        15 days ago

        No, that’s a coincidence. I wanted something that: started loud, was easy to recognise, I don’t mind hearing, and my neighbours don’t listen to. Wicked World it is.

        Here’s the code by the way, with the echo translated:

        lvxInternetCheck () {
        	while [[ $(ping -c 5 8.8.8.8 | grep -o "100% packet loss") == "100% packet loss" ]]
        		do echo "No internet at $(date +%R)." ; sleep 300
        		done
        	echo "Internet came back at $(date +%R)."
        	cvlc /[redacted]/08\ -\ Wicked\ World.mp3 
        	}
        

        It’s dirty but it works. (My functions start with “lvx” to avoid the tiny chance that they might clash with system functions.)

    • sazey@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      14 days ago

      If you’re comfortable running Docker, check out net probe. It comes with an all in one logging/graphing stack that will probe your internet quality based on lag and packet loss. Default configs is good enough to get you going and you can tinker to your heart’s content from there. Probably won’t play Black Sabbath automatically though unfortunately!

  • snaggen@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    15 days ago

    Not the latest, but one of the biggest improvements was the Ultimate Hacking Keyboard. Now I have programmed the keyboard to have VIM navigation at the keyboard level. The latest was switching to neovim and setting it up properly.

  • TwiddleTwaddle@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    14 days ago

    Edited my kernal parameters to prevent my CPU from going into a low power state that had been causing crashes for years apparently.

    Edit: if you use 1st gen ryzen and have been putting up with intermittent crashes thinking it was your shitty old used GPU like me, try disabling c-state 6.

    • funky-rodent [he/him]@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      14 days ago

      Ryzen crew, never rest, never sleep!

      I am so confused that this is still an issue, but be warned even with more “modern” Ryzen it is an issue. My Ryzen 5(?) Huawei matebook still can’t run Linux without this shit.

  • 0x0@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    15 days ago

    Deciding on the folder where to keep backups to cloudsync so i can reinstall everything from scratch.

  • KISSmyOSFeddit@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    14 days ago

    Switched to an immutable system after I finally managed to wrap my head around the concept.
    I’ve tried it before but left frustrated cause my normal workflow doesn’t apply anymore.
    But if you’re looking for an OS that basically disappears in the background, it’s great. I even removed the terminal cause I have no use for it on my laptop.

    • Opisek@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      14 days ago

      Can you explain the idea and advantages? Excluding use cases like setting up a laptop for your grandma.

      • KISSmyOSFeddit@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        14 days ago

        Generally I use my computer to launch programs that do the stuff I want to do, or edit my files.
        My files are in /home and programs for the tasks I need are available as flatpaks.
        So I don’t need to rummage around in the rest of the file system. You could call it “a laptop for grandma” except I’m not that old. I use my laptop for office stuff, gaming, photo editing, streaming music and video, browsing, mail, messaging, ssh’ing into my servers, etc. What I don’t use it for anymore is tinkering with my OS. I’m fine with default Gnome and I don’t need to adjust every little thing, I can just adjust myself a bit to how the GUI works.
        I just don’t want to read Arch news before I update weekly, set apt-pinning priorities to disable snap, deal with recommended dependencies, meta packages, mirrorlists, third-party repo urls, gpg keyfiles, file permissions, executable flags, systemd services, and all that jazz anymore.

        • 299792458ms@lemmy.zip
          link
          fedilink
          arrow-up
          4
          ·
          14 days ago

          I think I am one the same state as you with the only difference is that I really like Window Managers. Been thinking of testing NixOS or Blend OS.

        • Opisek@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          14 days ago

          Hey, that’s why I wanted an explanation! The one I got an a search result made it seem like you can’t install anything.

          • towerful@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            14 days ago

            Yeh, immutable distros… You can install software, it’s just you have to declaratively define what software you want, then apply that as a patch.
            You don’t just apt install cowsay, you have to create a file that defines the installation of cowsay.
            This way, if you have to change how cowsay is installed, you tweak that patch file and reapply it.
            If you have to wipe & reinstall (or get a new computer or whatever) you just apply all your patches, and the system is the same again.

            • KISSmyOSFeddit@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              13 days ago

              You’re talking about declarative systems like Nix. Immutable just means that the root filesystem is read-only. You can install programs as Flatpaks or inside a container (toolbox on Silverblue).

              • towerful@programming.dev
                link
                fedilink
                arrow-up
                2
                ·
                13 days ago

                Oh, no kidding.
                I always thought immutable required the declarative installs.
                I guess, immutable is more “containerised userland”?

  • Valmond@lemmy.mindoki.com
    link
    fedilink
    arrow-up
    6
    ·
    15 days ago

    I just bought another (cheap quad core 256GB SSD) thinkcentre as a tinker platform.

    So I’m going to add that to my Linux uh setup (of machines).

    • Drasglaf@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      15 days ago

      I’ve been thinking about getting a thin client or similar for Hi-Res music listening for a while. I tried a Raspberry Pi 3b+ and the music sounded harsher and would crackle as soon as the Pi was doing anything else at the same time.

      Having my PC on all day in summer is a bit overwhelming.

  • Vik@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    15 days ago

    I got VFIO/IOMMU + single GPU pass-through working on Fedora 40 with my RX 6800 xt into a win10 VM.

    More of a see if I could sort of thing, I don’t imagine I will actually need it much, but it may help if any of my friends are curious about switching over.

    • barsquid@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      15 days ago

      What are you using to run the VM? Regrettably, I need a Windows install to upgrade firmware on a USB device. I’m hoping I can get it done in a VM and at least not pay them anything. I tried a little yesterday but wasn’t able to install from the Win10 ISO.

      • Hexarei@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        14 days ago

        I dunno what you were using but I recommend virt-viewer.

        The main thing for this one is that you’ll want to get a PCIe USB controller card and pass that through directly to the VM so that unplugs/replugs/device resets don’t connect the device to the host machine briefly while if determines if it should pass through.

      • Vik@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        15 days ago

        KVM/QEMU via virt-manager. I would imagine that your use case would work if you pass the USB device or the entire usb host controller through to the VM, but I’m not sure. Please check the video linked in my other comment for more information on the single GPU setup

    • dave@hal9000@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      15 days ago

      Oh my god, I wish! I have tried unsuccessfully before, but I was trying to just pass my onboard AMD igpu to the VM and keep an NVIDIA on Linux.

      When you say single passthrough, you mean splitting the one GPU to host and client?

      I have tried through the arch wiki and a couple of YouTube tutorials with no luck. If you found any tutorials/resources that really, helped, please share!

      Also, I really wish I had the foresight to have bought AMD instead of NVIDIA a few years ago, but it was before I was on Linux as my main driver and didn’t know any better

      • Vik@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        15 days ago

        Hey there, just using a single GPU in this system. If you have multiple adapters, you can try something like LookingGlass instead. In my case, I would need a single GPU that supports SRIOV, which is typically relegated to data centre products (I believe someone actually managed this with an Intel iGPU + and experimental sriov driver!).

        I’m just passing my GPU through to a virtual machine; it takes precedence over the graphical session, leverages all connected displays and relevant peripherals, and gracefully resumes back into GDM / GNOME once the VM is powered off (can do this conventionally within W10).

        I mostly followed this video:

        https://www.youtube.com/watch?v=eTWf5D092VY

        key thing for AMD gfx is to set ROMBAR = 0 in virt config, this will allow you to actually get functioning display output once the VM is started up.

        As for your buying choices, consumer AMD GPUs have issues with GPU reset (unlike Intel or Nvidia). I think your experience with nvidia graphics here will be better than mine here with amd.

        Byt yeah, since you have multiple gfx adapters at your disposal, it should be possible to get started with LookingGlass (a VM in a movable, resizable window that is fully hw accelerated with shared memory). The Level1Techs forum for LG is very helpful, though I believe the creator of the video above also has a relevant guide for this.

        • dave@hal9000@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          14 days ago

          Thanks for sharing the details! I’m gonna check out the video. So if I understand correctly, when you start your VM, it completely takes over video, and you’re not seeing the host desktop at all, but then when you shut down the VM, it returns to your host desktop? So the resulting experience is like dual booting, but a lot faster? I Heard about looking glass, but hadn’t delved into it since I couldn’t even get the igpu to passthrough in the first place (testing with a cable going to another input in my monitor, which AFAIK, would be the part that looking glass solves)

          • Vik@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            14 days ago

            Very welcome! Yes, exactly as you described. The nice thing is that you have greater control over Windows in this virtualized environment, particularly with regards to limiting device and network access.

            I gather that display dummy plugs are pretty common in the looking glass community.

            • dave@hal9000@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              14 days ago

              Ha, I was about to edit to say I watched the video. It’s a pretty smooth transition into the client machine!

              • Vik@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                14 days ago

                It’s kind of crazy to me how well it works! It’s hard for me to wrap my head around it sometimes.

                My end goal is to not have to eventually not need to use windows at all but I’m still very impressed with how this behaves.

                • dave@hal9000@lemmy.world
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  14 days ago

                  Yeah, I have one piece of software where I need Windows with a GPU (Fusion 360, got it running on wine once but an update broke it), and my wife needs my PC for Adobe stuff sometimes. I might buy a cheapo used older GPU, I don’t need much since it’s not for gaming. That said, the video showed something that might fix where I got stuck last time trying to pass the integrated GPU, so I’m trying that again. I have a Ryzen 9 with 24 cores, so plenty of juice to go around If that if I can pass the igpu through. Then I could try looking glass and be all set. Thanks for sharing, gave me some hope to try again haha