Ubuntu / Linux news and application reviews.

How To Run Gedit And Nautilus As Root With pkexec Instead Of gksu

gksu hasn't been updated since 2009 and is not recommended any more. In fact, Ubuntu no longer ships with gksu by default (though it may be installed for many of you, because some apps still depend on it) and it may even be completely removed at some point.

The recommended replacement for gksu is pkexec. Applications like Synaptic, Ubuntu Software Center, Software & Updates and others use it for some time but what if you want to use pkexec with applications like Gedit or Nautilus?

By default, you can't because pkexec can't run graphical applications without having a PolicyKit file installed in /usr/share/polkit-1/actions/ for the app you're trying to run as root, and Ubuntu doesn't ship with PolicyKit files for Nautilus or Gedit.

pkexec Unity
pkexec authentication dialog under Unity

Gedit Dash: New Tab Gedit Plugin Powered By Zeitgeist

Seif has released Gedit Dash 0.1, a plugin for Gedit that uses Zeitgeist to display recently or most used items in new Gedit tabs. You can search both recently and most used items and also, the plugin generates previews which "try to jump directly to some code or text from your work".

Here are a few screenshots:

Gedit Dash Zeitgeist

Solarized: A Must Have Color Scheme For Gnome Terminal, Vim, Gedit And Lots More

Solarized

WebUpd8 reader Lu Wang sent us an email about a beautiful (and very popular) color theme for various applications called "Solarized".

Solarized comes with both light and dark colorschemes and what makes it so special is that the contrast is "low in lightness but the colors are still well distinguishable due to the different hue values used" says Lu Wang. But that's of not all. Check out the Solarized homepage for a lot more info and screenshots.

There are Solarized color schemes available for many applications: Vim, Emacs, IntelliJ IDEA, Netbeans, Mutt, GIMP and more. Below I'll tell you how to set up Solarized for Gnome Terminal (and Guake) as well as Gedit.

How To Set Up And Use Gedit Collaboration Plugin (With Infinoted Server)

Gedit Collaboration is a really interesting plugin that provides collaborative editing meaning two or more people can work on the same files, create new files and folders and so on. The plugin allows you to collaborate both with other Gedit and Gobby users.

Check out this video created by jessevdk (the Gedit Collaboration plugin developer):

TextMap Gedit Plugin Displays A Navigable File Thumbnail In The Side Pane

Gedit TextMap Plugin

If you like the minimap which shows you an an overview of your files that comes with Sublime Text 2, you'll be glad to know that such a plugin was released for Gedit.

How To Integrate Meld Into Gedit For Easily Comparing Files [Quick Tip]

Gedit compare with Meld

Meld is a great visual diff and merge tool but it can only be used for that and is not suitable for coding. On the other hand, Gedit is a great text editor but it doesn't come with a tool for comparing files. Wouldn't it be great if you could integrate Meld into Gedit? Here is how to do it.

Clientside: Gedit Plugin To Format, Minify And Validate CSS / Javascript

Gedit Clientside plugin

Clientside is a Gedit plugin for those who work with CSS and Javascrip which can be used to minify and format/beautify Javascript and CSS. Further more, the plugin also includes jsLint and an option to Gzip the current file.

Get TextMate Features And Styles In Gedit With GMate

Gedit Gmate


If you though Gedit is great, wait till you try GMate!

GMate is a collection of plugins, themes/styles and other improvements to get TextMate-like features in Gedit.