• AmbitiousProcess (they/them)@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    I agree with the sentiment, and it would definitely make a lot of troubleshooting easier, but you do gotta remember that 99% of people are so non-technical they won’t read anything going into their terminal, or if they do, they won’t know what it means.

    You could just as easily replace that with sudo rm -rf /* and they’d run it just as quickly, and that’s my worry.

    IMO we should just have settings menus alongside commands for most things any normal user might have to encounter, since that’s just a more user-friendly interface in terms of preventing accidental bad command execution and also just letting people find things on their own without having to look up a command every time if they don’t want to learn a short book’s worth of terminal commands.

    • Alaknár@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 month ago

      IMO we should just have settings menus alongside commands for most things

      There are - PowerShell.

      Changing the size:

      $pagefileset = Get-WmiObject Win32_pagefilesetting
      $pagefileset.InitialSize = 1024
      $pagefileset.MaximumSize = 2048
      $pagefileset.Put() | Out-Null
      

      Disabling automatic sizing:

      $pagefile = Get-WmiObject Win32_ComputerSystem -EnableAllPrivileges
      $pagefile.AutomaticManagedPagefile = $false
      $pagefile.put() | Out-Null
      
        • Alaknár@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 month ago

          Hmm… Not sure how Linux’ terminal is any better than this, tbh.

          Even ignoring all the wacky command names - you have a billion different commands, each doing everything in its own way.

          PowerShell is uniform and standardised. This makes learning things super easy. Like, you can’t tell me that you don’t know what’s going on by just looking at the code I posted.

          • Camille_Jamal@lemmy.zip
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 month ago

            i meant on graphical versions like the settings app could be a lot better

            command line/terminal depends on what youre used to and whatnot

            • Alaknár@sopuli.xyz
              link
              fedilink
              English
              arrow-up
              0
              ·
              1 month ago

              It’s not that bad in the GUI as well, as long as you don’t try to angrily fight against change, like OP did.

              Go to Settings -> System -> Advanced -> Advanced Settings. You’re already on the old-style dialogue known from the Control Panel days. Two more clicks and you’re in the spot where you can change the page file settings.

              People love to shit on Settings, but that’s just weird dudes being angry at change. Control Panel was a chaotic mess. As a guy who worked as first line IT support at the time when Win10 came out, I could not be happier when Settings happened. Everything had a super neat, super easy to follow “route” I could describe to the user over the phone. No need to start describing the difference between the side-bar links, and tabs, and having to click “OK” six times to ACTUALLY save the change you made, because the setting you changed was buried six pop-up windows deep…

                • Alaknár@sopuli.xyz
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  28 days ago

                  they both existed in 10?

                  Yes, Settings first released with Windows 10. The one in Win11 is very similar, just slightly different design.

                  control panel also still exists, just harder to access

                  As a guy who worked in IT for over 20 years - I hate CP with a passion. It’s a complete mess, and chaos. You click an icon to open a view, to click a link to open a window, then switch to a tab, and press a button to get another window with more tabs… “Press ‘Advanced’ four times in a row to get to where you need to be” kind of nonsense.