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.

I thought gksudo is what sudo is in terminal. I wanted to open SciTE eleveted and change some "protected" file, so I issue 'gksudo SciTE`, but nothing happens, SciTE isn't run at all - gksudo dialog shows, then I enter my password, but program doesn't start.

Is there some limitation which programs can be run under gksudo, or how do I run SciTE elevated?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

If all else fails, there's always the old standby:

$ sudo su

# SciTE

Or maybe you could check the logs and find out if its failing for a reason?

share|improve this answer
    
It seems that problem is with the path: I have SciTE it in ~/.local/bin/SciTE (which is in my PATH env set in .bashrc) which is not recognised when run gksudo for some reason. So running gksudo ~/.local/bin/SciTE works. –  zetah Jan 15 '12 at 9:18

No, but you have to use the command and not the name. Also remember that commands are case sensitive.

share|improve this answer
    
SciTE is command name for SciTE text editor if I understand you right –  zetah Jan 15 '12 at 8:27
    
Ok. Highly unusual. :) –  Jo-Erlend Schinstad Jan 15 '12 at 10:59
    
It builds itself by default with that name. Don't know about the executable in old version provided in Ubuntu repositories –  zetah Jan 15 '12 at 11:45

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.