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

Don’t forget to Subscribe

Bills

Latest Activity

Posts

  • Rapache on Ubuntu 10.04 ? Not likely.
    Along with the last LTS release of Ubuntu, Lucid Lynx, there have been a few requests to bring back Rapache and make it work Read More
  • What is Google ChromeOS, I mean really ?
    All this fuss about Google ChromeOS. Is it a threat to Microsoft ? Is it a threat to the Ubuntu ? (funny nobody wonders if that’s Read More
  • Well said Carla !
    Carla has something to say ’bout the cloud, and I agree 100% with her. Share it !
  • No more Gimp for you little Joe
    When I first posted about the matter, most people’s reaction was LOL. The we thought it was just a random proposal, never going to be Read More
  • Custom iTunes page generator
    Who never dreamed to have his personal Apple website page, like this guy ? Now you can ! UPDATE : they just fixed the page, Read More