Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to launch an application with elevated privilidges using the GUI in Ubuntu 9.04? Maybe something similar to the right-click / "Run as Administrator" in Windows Vista?

For example, I want to use gedit to modify a system configuration file. Once I find the file in the File Browser, is there a way to use the GUI to open the file without having to open a terminal and using sudo?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

Alt-F2 to open Ubuntu's equivalent to the Run dialog. Then type gksudo gedit /path/to/config/file and hit enter. Alternatively, create a launcher on your desktop or gnome-panel that launches gksudo.

edit: This article says to install nautilus-gksu for the right-click open-as-root option.

share|improve this answer
    
Without type, using the mouse –  D'Arvit Sep 19 '09 at 19:02
2  
You'll still end up having to type a password, but the article I linked to has mostly-mouseful methods. –  regan Sep 19 '09 at 19:04
    
nautilus-gksu was exactly what I was looking for. Thanks! –  Chrisbux Sep 19 '09 at 19:42
add comment

Yes there is I use it weekly..

search on Tombuntu as I forget the script name..has two options run this APP and Run this app as root

other right click options in the same script are mount media and etc..

share|improve this answer
1  
I don't see the script you are writing about. Could you please share the name if you find it in case others are interested in this topic as well? –  Chrisbux Sep 26 '09 at 3:21
add comment

Your Answer

 
discard

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.