"Nah man, you should just install this terminal app and memorize 500 shortcuts to go back one directory"

  • AssortedBiscuits [they/them]
    ·
    1 year ago

    Linux being easier to use with each passing year to counteracted by the further tech illiteracy of zoomers and alphas.

    • Shoegazer [he/him]
      hexagon
      ·
      edit-2
      1 year ago

      That's not the point of this post. I AM using linux. I'm looking for a program but all people want to suggest are terminal shit. I don't care about "efficiency" or whatever. Just give me a damn UI

      • VernetheJules [they/them]
        ·
        edit-2
        1 year ago

        Tbh usually any time I want a program in Linux I Google "install x terminal Linux" and it's almost always been a one liner to paste in

        Like I really don't like using a terminal but it's gotten me more comfortable with it which is nice

        Sorry you're having a rough time though

        • AlkaliMarxist
          ·
          1 year ago

          This is a tangent, but I think this is a significant security risk for desktop Linux users that only remains unexploited because of the small install base.

          A compromised site or browser could easily show the user steps to install malware and with only a minimal amount of obfuscation they would be indistinguishable from legit instructions to a user who doesn't understand what the commands are supposed to do.

          For secure computing you really need a UI which makes it obvious to the user when they are doing something potentially dangerous and when every command is a string of arcane characters, mostly requiring root access, this is impossible.

          • blobjim [he/him]
            ·
            1 year ago

            It's amazing that despite Linux having a dozen different sandboxing mechanisms, performing most tasks requires switching to a mode that would allow any program to do absolutely anything to the computer.

            • AlkaliMarxist
              ·
              edit-2
              1 year ago

              The "root user" concept is so bad for security, and the first thing a new user learns is "if something doesn't work, try it with sudo". You figure that out before you even know what sudo does.

              • hes_fired [none/use name]
                ·
                1 year ago

                Its a terrible model. honestly, the existing Unix/ring(n) model and the windows user model don't work for modern, single-user devices.but do much hardware and software architecture is built around it that it's hard to switch at this point

                • blobjim [he/him]
                  ·
                  1 year ago

                  I feel like Microsoft is also just incredibly lazy. I think they could come up with a way to do sandboxing in at least a migratable way (so still-maintained applications can opt-into it) like they sorta tried with UWP, but there's just no money in it. Plus they do security consulting stuff so it's not like vulnerable software hurts their profits much.

              • Shoegazer [he/him]
                hexagon
                ·
                1 year ago

                I mean this is also how it works in Windows with Admin mode, but I think I've had to use sudo to do many more things than I had to use admin in windows.

                • AlkaliMarxist
                  ·
                  1 year ago

                  Yeah, Windows uses the same flawed permissions model but in Unix so many tasks require root access. It reminds me of Vista's UAC implementation where it prompted for admin access so often a lot of people just turned it off.

                  • silent_water [she/her]
                    ·
                    1 year ago

                    it's because most distributions don't build and install packages with user permissions. check out home-manager for a fix to this.

                    • AlkaliMarxist
                      ·
                      1 year ago

                      Thanks for the recommendation, I might give this a go.

                      Based on the description on their github page, this isn't really mature enough to help the non-technical user who's copy pasting sudo commands though.

                      • silent_water [she/her]
                        ·
                        1 year ago

                        yeah, it's just a new model we could use and I'd like to see something similar get adopted by most distros.

              • silent_water [she/her]
                ·
                1 year ago

                "this doesn't work, try it with sudo" is a recipe for bricking your machine.

                • blobjim [he/him]
                  ·
                  1 year ago

                  If you download a mobile app, you get asked all kinds of things, like whether you want to allow location, access to the local network, file access, etc. (what things should the program be able to do and know). Desktop and server operating systems mostly don't have these because they were developed so long ago (and Micro$oft is lazy and incompetent).

                • Shinji_Ikari [he/him]
                  ·
                  1 year ago

                  There's higher resolution privilege approaches that aren't on/off but you'll typically see those in the form of manually configured user profiles and stuff. things the average desktop user just doesn't care for.

                • AlkaliMarxist
                  ·
                  1 year ago

                  The best solution that's been proposed IMO is something called capability based security, which allows a hierarchy of trusted brokers to delegate very specific permissions for specific resources (files, hardware access, system calls) to applications. Rather than having the applications run as a "user" and inherit all the users permissions, the application is passed cryptographically secure "keys" representing a temporary permission to perform specific actions on a resource.

                  That's a big change to existing models though, a less dramatic solution would be applications running under an unprivileged user context then specifically requesting access to various features and files, like the Access Control List system Android layers on top of Linux ("do you want to allow this application to make phone calls etc.") or having multiple user accounts with varying privileges and applications requesting temporary permissions to run under the required user rather than having one big root account that does everything and everything needs access to.

                  The big problem with the root user is that for every privilege you choose to restrict to the root (or administrator), as soon as an application needs to perform one of those actions it must also get access to every single other interface protected by the root user account. Configuring network interfaces requires root access, but anything allowed to configure a network interface automatically is also allowed to read and write every single file on the system, including drivers, the kernel code and the boot structures.

            • femboi [they/them, she/her]
              ·
              1 year ago

              Linux suffers from having a dozen poorly-documented/accessible ways to do sandboxing instead of one way that can be explained to newcomers and works for almost everything

          • space_comrade [he/him]
            ·
            edit-2
            1 year ago

            A compromised site or browser could easily show the user steps to install malware and with only a minimal amount of obfuscation they would be indistinguishable from legit instructions to a user who doesn’t understand what the commands are supposed to do.

            You don't even need that, I've seen a lot of projects tell you to curl a literal .sh you run in sudo.

            I only do this if it's a really well known project and just kinda hope they weren't hacked on the exact day I'm installing it. You're right that it is a pretty big security issue, it's only a matter of time before somebody does that on a production machine somewhere, maybe it even happened who knows.

            • silent_water [she/her]
              ·
              1 year ago

              curl | sudo sh has got to be the funniest construct I've ever seen. who needs remote code execution when people will just download a script and inject it directly into their veins?

              fwiw, I appreciate that nixos forces me to write a package for the stuff I want to use and doesn't already have one, and that I can't write a package that downloads a script and runs it because 99% of the, script will try to break out of the sandbox.

        • Shoegazer [he/him]
          hexagon
          ·
          1 year ago

          Installing stuff in terminal is easy. I just don't like memorizing every keyword and shortcuts for every program

          • VernetheJules [they/them]
            ·
            1 year ago

            Can I interest you in a ctrl-r in these trying times so you only have to memorize part of a command instead of the full thing? 🙃

            • Shinji_Ikari [he/him]
              ·
              1 year ago

              and keep tapping that r while holding control for some extra results.

      • space_comrade [he/him]
        ·
        edit-2
        1 year ago

        Sometimes doing it in the terminal is literally easier than a GUI app.

        Basic terminal navigation is piss easy if you already understand what files and directories are, nobody is asking you to learn Bash in great detail or be a wizz with all the different GNU terminal tools.

      • silent_water [she/her]
        ·
        1 year ago

        I have the opposite problem most of the time. I'd rather type it into a terminal and all I can find are guis.

      • SuperZutsuki [they/them, any]
        ·
        edit-2
        1 year ago

        The desktop computer has already fallen out of prominence as of about 12 years ago (to laptops). But if you mean the desktop UI concept I don't see that changing for a while. There are people that do everything on an iPad, sure, but they're in the extreme minority and it's mostly basic office shit or digital art. There are also people that use tablets to remote into a desktop computer to do more complex work, but that still requires a full desktop OS.

        • huf [he/him]
          ·
          1 year ago

          my zoomer coworker (a programmer) only has a laptop for work. he uses his phone for everything else and frankly, finds it weird that we like to sit in front of these huge monitors just to browse the web.

          for him, the desktop is already dead.