Gediting as root

To open a file with root permissions using gedit you normally would have to drop to terminal and type gksudo gedit filename.

Waiting for devs to implement policykit into gedit too, you can install an handy nautilus plugin which makes appear a context menu entry to “open as administrator” on every file.

Installing is as simple as typing:

sudo apt-get install nautilus-gksu

Hardy’s package, sadly, has a bug that prevents the entry for appearing. If you don’t see the entry appearing even after restarting X here’s the fix:

sudo cp /usr/lib/nautilus/extensions-1.0/libnautilus-gksu.so /usr/lib/nautilus/extensions-2.0/
killall nautilus

The entry should now appear. Worth of noting that this workaround could be disabled from future updates (although probably next update will just fix the bug)

This seems like a great time to subscribe my RSS !

Leave a Reply

Bills

Don’t forget to Subscribe

Latest Activity

Posts

  • Google this is ridiculous
    Google you’re doing it wrong. Very wrong. This is utterly ridiculous. It’s a screenshot with a standard Firefox browser, in the standard screen resolution (1280×800), on Read More
  • A step back from the open source
    One month ago, I created my first Android app. While the app was a paid one, the reception has been outstanding. I’ve gotten a fair amount Read More
  • Facebook shuts down EventPress development.
    When you’re a big company, especially one that makes its money on free web services and advertising, it’s very easy to say you love open Read More
  • Why Android is laggy
    Great post from Andrew Munn explaining some key differences between Android and iPhone/iOs, especially when it comes to rendering and smoothness of animations and why Read More
  • Google Plus keeps your data as much as Facebook does
    When you delete an account from Google+, Google promises you to delete all the data associated with your G+ profile. Well, I deleted mine some time Read More