What software have you found particularly frustrating or difficult to configure on Linux?

  • @superweeniehutjrs
    link
    432 months ago

    Multiple versions, paths, and installs of Python. Using pip makes it worse.

    • @[email protected]
      link
      fedilink
      9
      edit-2
      2 months ago

      pyenv and pyenv-virtualenv together solves this for me. Virtualenv with specific python versions that work together well with other tools like pip or poetry.

      It boils down to something like

      $ pyenv install 3.12.7
      $ pyenv virtualenv 3.12.7 myenv
      $ pyenv activate myenv
      

      and at that point you can do regular python stuff like pip installing etc.

      • @JubilantJaguar
        link
        52 months ago

        If you’re having to type out version numbers in your commands, something is broken.

        I ended up having to roll my own shell script wrapper to bring some sanity to Python.

        • @[email protected]
          link
          fedilink
          2
          edit-2
          2 months ago

          You misunderstand, the first two commands are just one time setup to install a specific python version and then to create an env using that version. After that all you need is `pyenv activate myenv´ to drop you into that env, which will use the correct python version and make sure everything is isolated from other environments you might have.

          You can also just create an env with the system python version, but the question was specifically about managing multiple versions of python side by side and this makes that super easy.

          You could also combine it with direnv to automatically drop you into the correct environment based on the folder you are in, so you don’t have to type anything after the initial setup.

          • @JubilantJaguar
            link
            12 months ago

            The issue is more general. When dealing with, say, apt, my experience is that nothing ever breaks and any false move is immediately recoverable. When dealing with Python, even seemingly trivial tasks inevitably turn into a broken mess of cryptic error messages and missing dependencies which requires hours of research to resolve. It’s a general complaint. The architecture seems fragile in some way. Of course, it’s possible it’s just because I am dumb and ignorant.

            • @[email protected]
              link
              fedilink
              22 months ago

              When you come across some Python code for something written 5 years ago and they used four contributed packages that the programmers have changed the API on three times since then, you want to set up a virtual environment that contains those specific versions so you can at least see how it worked at that time. A small part of this headache comes from Python itself mutating, but the bulk of the problem is the imported user-contributed packages that multiply the functionality of Python.

              To be sure, it would be nice if those programmers were all dedicated to updating their code, but with hundreds of thousands of packages that could be imported written by volunteers, you can’t afford to expect all of them them to stop innovating or even to continue maintaining past projects for your benefit.

              If you have the itch to fix something old so it works in the latest versions of everything, you have that option… but it is really hard to do that if you cannot see it working as it was designed to work when it was built.

    • DasFaultier
      link
      fedilink
      62 months ago

      I have limited Python experience, but I always thought that’s what virtualenvs and requirements.txt files are for? When I used those, I found it easy enough to use.

    • DigitalDilemma
      link
      fedilink
      English
      32 months ago

      Especially during the transition from 2 to 3. Let’s hope that’s all behind us.

    • @[email protected]
      link
      fedilink
      42 months ago

      Similar here. I used to have 2 screens that if they turned off for powersaving only 1 of them would wake up. So I had a script on the desktop to do a reset and move them correctly.

      #!/bin/bash
      xrandr --output HDMI2 --off
      xrandr --output HDMI2 --auto --same-as HDMI1
      xrandr --output HDMI1 --right-of HDMI2
      exit
      
    • DigitalDilemma
      link
      fedilink
      English
      42 months ago

      Why did we have to learn what modelines were to get a picture on screen?

  • WFH
    link
    fedilink
    English
    182 months ago

    Installing Fedora. I had almost nothing to configure, it worked out of the box. How frustrating! I had the whole day planned and now what? Enjoy my free time like a pleb !?!

    (/s just in case anyone was wondering)

    • AwkwardLookMonkeyPuppet
      link
      English
      22 months ago

      Have you any experience with HDR in Fedora? I’m getting ready to build a HTPC and I’m torn between fucking with Arch for everything, but getting bleeding edge support, or trying Fedora for the first time for easier system management. Since it’s an entertainment system, I’m not sure if I want to mess with all the Arch config requirements. But I do want solid HDR support.

      • @flubba86
        link
        52 months ago

        Try Nobara. It’s based on Fedora but it’s got a whole bunch of gaming-related patches including all of the required additions for out-of-the-box HDR support.

          • WFH
            link
            fedilink
            English
            3
            edit-2
            2 months ago

            As this is for a HTPC, I would rather go for uBlue Bazzite instead of Nobara. Same Fedora base, super gaming oriented too, but atomic/immutable so 0 maintenance.

            Plus, uBlue projects are not distros but an alternative build pipeline system for Fedora Atomic projects. That means that the projects scope is tiny and much easier to maintain, and that the real distro maintainers are still the Fedora team. From a user perspective, it’s much better in the long term than a single-person effort like Nobara.

            • AwkwardLookMonkeyPuppet
              link
              English
              12 months ago

              From the little research I’ve done, I don’t think that I want an immutable OS. Sure, I only want to use it as a HTPC today, but what about tomorrow when I find some obscure thing I need to do that requires me to change some things?

              • WFH
                link
                fedilink
                English
                22 months ago

                Sure you’re absolutely free to do as you please ;)

                From personal experience tho, anything connected to the TV should Just WorkTM. Nothing more frustrating than just wanting to watch an episode or play a quick game before going to bed and having to spend this time doing updates and maintenance instead.

                • AwkwardLookMonkeyPuppet
                  link
                  English
                  12 months ago

                  That’s a good point, and something I’ll think about before deciding.

      • circuscritic
        link
        fedilink
        32 months ago

        Running Fedora with dual HDR monitors just fine, but it’s entirely possible that something is off that I’m not catching. They’re also running off my Nvidia GPU.

        I’ll just add that they look the same as when I used to run Win10 on the same box.

        • AwkwardLookMonkeyPuppet
          link
          English
          12 months ago

          That’s great to hear. I’d miss the AUR, but I think I’ll just try Fedora out for this build. I want to play with the computer, not tinker with the OS.

          • circuscritic
            link
            fedilink
            12 months ago

            Oh, just FYI I don’t game, so if there are some HDR features for gaming you’re hoping for, I can’t speak to that.

            • AwkwardLookMonkeyPuppet
              link
              English
              12 months ago

              Yes, I’m going to use it as a couch console, web browser player for MLB games, and a streaming machine. I did a bunch of reading after posting my last comment and decided that I’ll just stick with Arch. Fedora sounds alluring for the simplicity, but I think I’ll miss the AUR and the rolling release cycle too much. I finally pulled the trigger this afternoon and bought the components after looking at them in my cart on Newegg for a week straight. It should be a pretty rad system

              • circuscritic
                link
                fedilink
                1
                edit-2
                2 months ago

                Do whatever works best for you.

                I will say that after years and years of regularly switching workstation and laptop distros for a variety of reasons, after finally giving Fedora a shake, I’m done. I’ve installed it on both my primary laptop and desktops and can’t imagine switching again.

                But I am still sticking with Debian as my primary server base.

                • AwkwardLookMonkeyPuppet
                  link
                  English
                  22 months ago

                  Debian is about as perfect as you can get for a headless server.

                  You have me curious again after hearing you’ve tried everything. Maybe I’ll give it a whirl. It’s not like I can’t switch to Arch later. It’ll be just as much of a pain in the ass later as it will sooner, and I just might find a new favorite OS. LOL. Plus, I do dig Gnome, and I think it’s probably a better DE for a HTPC than KDE.

    • AwkwardLookMonkeyPuppet
      link
      English
      22 months ago

      I gave up and went back to x11. The final straw was when system settings stopped opening, and I couldn’t figure out why.

      • @[email protected]
        link
        fedilink
        12 months ago

        That’s fair, I’ve found wayland to generally be pretty good with Linux now and you can pry hyprland from my cold dead hands

  • @[email protected]
    link
    fedilink
    132 months ago

    Xserver… Somehow trying to find the magic string of letters and numbers that made your screen work.

  • @superweeniehutjrs
    link
    92 months ago

    I still don’t fully understand how to gracefully have multiple desktop environments and switch between them. When I want to try something new to me like lxqt, I usually spin up a VM.

    • Ephera
      link
      fedilink
      8
      edit-2
      2 months ago

      Normally, the process is:

      • install the packages for the desktop environment
      • log out (not just locking the screen)
      • find a dropdown or cogwheel where you can select the other desktop environment
      • log in

      Having said that, I don’t know what you mean with “graceful”. Desktop environments may involve lots of packages, which may create configuration files in your home directory or get auto-started in your other DEs, so it can be messy.
      Something minimal, like LXQt or the various window managers, isn’t going to cause much of a mess, though.

      I guess, creating a second user with a separate home-directory, like the other person suggested, would isolate that potential mess…

    • @[email protected]
      link
      fedilink
      12 months ago

      Create a different user for each desktop environment.
      Put all the users in a group that has full write access to a shared folder you use for your files.

      Linux is a multi-user system, use that.

  • @[email protected]
    link
    fedilink
    82 months ago

    I’ve had to grapple with pipewire. My old pulseaudio config didn’t seem to work and I wanted to migrate to the pw config file format anyway, but I found the pw docs to be highly opaque. You get a thousand solutions for commands online, or tools you can do it visually in, but to apply that config you need to start the tool…

    I’m a noob, granted, but there seemed to be a lot of assumed common knowledge that I just don’t have. And if I don’t even know what I’m missing, it’s hard to google for it.

  • @[email protected]
    link
    fedilink
    82 months ago

    Setting up a matrix server was a god damn nightmare for me. I eventually got it working but I hit pretty much every conceivable obstacle along the way. Getting the config file just right, the networking, the federation, the coturn server, getting end users to understand they need to backup their keys…

    I’m sure it’d be easier for a Linux pro but I was in way over my head. Only got it working through stubbornness and help from the community.

    • Possibly linux
      link
      fedilink
      English
      5
      edit-2
      2 months ago

      Matrix is pain…

      With the more recent updates it is a lot more stable

  • @steeznson
    link
    82 months ago

    I remember being stubborn and trying to setup eduroam at my uni library using only wpa_supplicant for a whole day. Hugely frustrating. Gave up and installed NetworkManager and it just fucking worked… my tech minimalism phase was extremely counterproductive lol

  • @[email protected]
    link
    fedilink
    7
    edit-2
    2 months ago

    Isn’t it always postfix? Not because of the software, but because of other clients and other servers.

  • @[email protected]
    link
    fedilink
    7
    edit-2
    2 months ago

    I still don’t properly grok Selinux at a fundamental and instinctual level. I understand the need for it, and I work with it to the best of my ability, but I wish there was a resource that could explain it from several different positions.

    Irony: my main Linux workstation is OpenSuse

  • @[email protected]
    link
    fedilink
    72 months ago

    I still cannot connect to captive portals for public WiFis, eg on train or hotel and I have no idea where the config comes from.

    DNS? Resolve.conf? Systemd network manager? WTF?

    (Probably for the best though, so I use my phone 5G and not these suss open networks )

      • @[email protected]
        link
        fedilink
        1
        edit-2
        2 months ago

        So you run this to sign into the portal, is that right? Thanks

        Edit: OK had a read, I will look into this. I don’t have chrome on my machine but will see if it works with chromium swapped in instead. :)

    • @[email protected]
      link
      fedilink
      2
      edit-2
      2 months ago

      If you connect to the network and open firefox, it will display a toast to open the corresponding captive portals page. You can then login through that. Given that your VPN isn’t blocking unencrypted connections etc.

      Extrapolation of partial knowledge warning

      I assume the network advertises a captive portals url and identifies you based on your MAC address.

      The config is server-side (router).

      • @[email protected]
        link
        fedilink
        1
        edit-2
        2 months ago

        I get “limited connection” I think when I try connect or “no internet”.

        I don’t make it to load the portal page…

        so maybe I’m not recieving at IP from the network?

        • @[email protected]
          link
          fedilink
          English
          12 months ago

          I do construction work and travel every week. I’ve had this problem pop up in the last month when I connect to the hotel wifi. I just open Firefox and type in the default gateway IP and then it takes me to the login page. For whatever reason it stopped opening the page for me.

  • @[email protected]
    link
    fedilink
    72 months ago

    Configuring captive portal wifi without network manager or any aids beyond what’s provided by wpa-supplicant. Eventually I gave up, since it wasn’t really that important.

    Adjusting freetype so that it works more-or-less the way I want it to, because the maintainers hate anyone who disagrees with their current hinting algorithm and make the setting as opaque as possible. I would prefer it if they allowed me to have hinting on some fonts and exclude only the ones that were designed to be pixel-aligned, but unless something’s changed recently, that option isn’t even offered.

  • lurch (he/him)
    link
    fedilink
    English
    62 months ago

    It used to be button 10 (also counting 4 scrollwheel directions and click) of my Elecom trackball. I had written a small C program reading the device node and writing the events just of that to stdout, then piping that to a tclsh script (so I could change it easily and it’s still super fast for gaming) which did something in X. Horrible. But then they added support for more buttons to everything (kernel, X) and now I can just map it in games, like any other.

  • exu
    link
    fedilink
    English
    62 months ago

    Just recently XDG Portals to get video sharing working. It just kept using the GTK fallbacks instead of KDE as I configured it, but it used the correct ones when starting from the terminal.

    Eventually I figured out I had set an env override for XDG_CURRENT_DESKTOP="sway" in my user systemd environment, because that’s what I used previously.