• Huschke@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 year 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
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      1 year ago

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

      • Huschke@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        1 year 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
      arrow-up
      3
      ·
      1 year ago

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

    • Doctor xNo@r.nf
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 year 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
        arrow-up
        2
        ·
        1 year 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.