• @Huschke@lemmy.world
    link
    fedilink
    77 months ago

    Alternatively you could use my favorite approach, Visual Studio Code. Just open the file with it, edit it and upon saving you will be promoted if the file needs admin rights to save.

    • @LaSaucisseMasquee
      cake
      link
      7
      edit-2
      7 months ago

      Okay but how can I show how good I am with shortcuts to edit legacy software ?

      • @Huschke@lemmy.world
        link
        fedilink
        27 months ago

        Vscode does have a lot of shortcuts, so you could always study them in detail and impress others that way. 😅

    • @MalReynolds@slrpnk.net
      link
      fedilink
      English
      37 months ago

      Yup, s/vsc/kwrite/ personally, it’s lighter, but why shouldn’t I have a pretty for my config editing needs…

    • Doctor xNo
      link
      fedilink
      English
      17 months ago

      So for any supposedly malicious activity (infected) it wants to do, it just has to hold until you save and give admin access? 😅

      • @Huschke@lemmy.world
        link
        fedilink
        27 months ago

        Yes, but if you want to argue along those lines, you could also have an infected version of vim on your system just waiting to do malicious stuff until you give it sudo access.