It is Kate in Kubuntu. If Gnome you can also try nano, if gedit does not work
for some reason. The command is gksu in Gnome and kdesu in KDE to get root
privileges.
gksu gedit or kdesu kate plus the path. Without the path it will launch the
programme and you can use the open dialogue to locate it.