• NostraDavid@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    6 days ago

    Nix! Just being able to run nix-env -i git and get a newer, isolated, git installation on an older Debian is very nice. Makes it easy to remove.

    I can also do nix-shell -p <application I want to try out> if I want to test stuff out.

    I’ve been able to ignore the Nix language pretty well so far, so no incredibly steep learning curve quite yet. Nix OS is still too spoopy for me.

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

      One of us one of us

      Edit: hows it going? Everything working ok?

      • lisquid420@lemm.ee
        link
        fedilink
        arrow-up
        11
        ·
        11 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
          6
          ·
          11 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
            ·
            11 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
              ·
              11 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
          9 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
          ·
          10 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!

    • Piatro@programming.dev
      link
      fedilink
      English
      arrow-up
      10
      ·
      11 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
        ·
        10 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
            ·
            9 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

  • zcd@lemmy.ca
    link
    fedilink
    arrow-up
    17
    ·
    11 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
      6
      ·
      11 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
        7
        ·
        edit-2
        11 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
        ·
        10 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
        ·
        11 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.

      • 299792458ms
        link
        fedilink
        arrow-up
        2
        ·
        10 days ago

        Its hit and miss, likely you have to set up window rules to get a good experiemce.

  • minibyte@sh.itjust.works
    link
    fedilink
    arrow-up
    14
    ·
    11 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
      4
      ·
      11 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
        4
        ·
        edit-2
        11 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
          3
          ·
          11 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

  • snaggen@programming.dev
    link
    fedilink
    arrow-up
    13
    ·
    11 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.

  • Lvxferre@mander.xyz
    link
    fedilink
    arrow-up
    11
    ·
    11 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
      ·
      11 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
        ·
        11 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
      ·
      9 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!

  • dave@hal9000@lemmy.world
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    11 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)

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

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

  • TwiddleTwaddle@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    10 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
      10 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.

  • KISSmyOSFeddit@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    10 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
      10 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
        10 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.

        • Opisek@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          10 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
            ·
            9 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
              ·
              9 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
                ·
                9 days ago

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

        • 299792458ms
          link
          fedilink
          arrow-up
          4
          ·
          10 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.

  • Valmond@lemmy.mindoki.com
    link
    fedilink
    arrow-up
    6
    ·
    11 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
      ·
      11 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.