Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I start the "Disk Utility" program as sudo user, in the Unity gui? If I want to start the application from a CLI, what is the application name?

(There is no reference to the actual program name in the "About" box, and typing "Disk Utility" or "disk utility" or "gnome-disk-utility" does not start the application!)

share|improve this question
1  
Not sure why you'd want to run this as root, but if you do use gksudo for GUI apps instead of sudo. –  Elfy Apr 15 '12 at 18:49

2 Answers 2

You want palimpsest.


How did I find this out? I went to the folder /usr/share/applications and right clicked on Disk Utility, selecting Properties.

enter image description here

share|improve this answer

just adding to the previous answer, if you prefix 'gksu' before 'palimpsest' in the Command field, it will automatically open as root, requiring your password. ( this can only be edited as root, so from the CLI you could 'gksu nautilus' to change this file. )

it took me awhile to figure that out, i was trying to add a 'gksu' option in the desktop file itself. this was much easier. i prefer the security of this method, to avoid borking a disk accidentally.

share|improve this answer
    
Could you instead of "add" to the other answer, make your answer self-contained? Or edit the other answer and add corrections. –  Braiam Sep 12 '13 at 2:05

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.