Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sorry for the rookie question, i just installed Ultraedit for Ubuntu and i can open files and modify them but when i try to save them i dont 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 admin privileges using a GUI.

I have searched for 20 mins and I have been unable to find anything, can anyone point me in the right direction? Thanks

share|improve this question
up vote 3 down vote accepted

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.

share|improve this answer
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 Apr 13 '12 at 20:17
... just me tidying up :) – fossfreedom Apr 13 '12 at 20:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.