I just installed UltraEdit for Ubuntu, and I can open files and modify them, but when I try to save them I don’t have permissions.

Using the command line and Vim, I can sudo and make all the changes I want, but I am not sure how to get administrator privileges using a GUI.

How can I fix this?


1 Answer 1


The secret to this is the command gksudo or gksu

gksu is a frontend to su and gksudo is a frontend to sudo. Their primary purpose is to run graphical commands that need root without the need to run an X terminal emulator and using su directly.

You only need to use gksudo when editing system files:


So, for example, gksudo uex will prompt you for your password

enter image description here

If you want to invoke this in a GUI manner simply press Alt+F2 and type your command i.e.

enter image description here

Now - just to make clear - I'm assuming that ultraedit is the linux variant of the editor and you are not attempting to use the windows version of ultraedit running through wine.

My experience is that running anything with root privileges is a definite no-no - as explained in the Wine Wiki.

  • 1
    I'm not sure why all the comments disappeared but it is indeed the Linux version of UltraEdit, thanks for your help! This is exactly what i needed
    – Drewdin
    Commented Apr 13, 2012 at 20:17
  • ... just me tidying up :)
    – fossfreedom
    Commented Apr 13, 2012 at 20:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .