Chris.Rowland wrote:I've asked about getting GUI applications such as Leafpad and the file monitor to get admin access on a number of occasions and as far as I can tell it can't be done...
It's actually quite easy to do. See below...
Romonga wrote:Some GUI applications that are started from the command line need a different call in order to run as a super user.
gksudo is what you would use to launch GUI based applications.
gksu leafpad /boot/config.txt
gksudo leafpad /boot/config.txt
Substitute geany or whatever GUI application you prefer for leafpad.
You can even add a root file manager to the menu.
Preferences > Main Menu Editor > Accessories, you should already see an entry for Root Terminal that is not enabled by default. Since we're going to start living dangerously, go ahead and check that box. Now click on New Item and fill it out like the picture below (click on the picture for full size, and use back to return here). You can also click on the icon image to change that.
And there you go. Now, whenever you want to edit a text file that is outside your home directory, just fire up the root file manager from the menu, navigate to the file and double-click on it. It will open in the editor with admin rights and you can edit to your heart's content.
Do not use the root file manager in your home directory, and be careful outside of that. You could really hose your system with a few errant mouse clicks.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?