I found a (lengthy) guide to doing this but it is for gksu which is gone. I have to imagine there’s an easy way. I am running Ubuntu.

  • priapus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    gedit uses polkit and should prompt you with a password when modifying a file that needs root priviledges. you shouldn’t have to run it as root

    • Jediwan@lemy.lolOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Nope, gedit opens fine but you can’t save changes unless you’re root. This is true of every distro I’ve tried.