Daily Ubuntu / Linux news and application reviews.


Zenity For Appindicators: Ubuntu Indicator For Commands Or Bash Scripts

WebUpd8 reader Reda El Khattabi has created a small tool that makes it very easy to create an Ubuntu AppIndicator for Zenity, YAD (a Zenity fork with many improvements) or basically any bash script or command.

  • supports submenus and separators
  • you can specify a custom icon
  • persistent mode or quit after executing command

YAD: Zenity On Steroids [Display Graphical Dialogs From Shell Scripts]

Those of you who like writing bash scripts and use Zenity for a GUI should give YAD a try. YAD (Yet Another Dialog) is a fork of Zenity with many improvements, such as custom buttons, additional dialogs, pop-up menu in notification icon and more. I've been using it for Y PPA Manager so if you want to see it in action, give Y PPA Manager a try.

Unfortunately even though Zenity is constantly updated, these updates only bring language updates and fixes. Here is where YAD shines: basically most of the stuff you ever wanted to do in Zenity is available in YAD: you can have as many buttons as you want, each with the text you want, a really nice icons dialog (which I've used as the main Y PPA Manager UI) and many more. Here's an example of a YAD dialog you could never get using Zenity:


2ClickUpdate 6.0 Adds Ubuntu 10.10 Support


2ClickUpdate is a front-end for system updates that checks for and installs updates, removes unnecessary files and cleans up after installing the updates. It works on any Debian/Ubuntu based Linux distribution.

2ClickUpdate is a shell script with a GUI provided by Zenity that uses axel (similar to apt-fast) for handling the downloads (so the downloads are a lot faster then regular updates) and NotifyOSD notifications.

Java (JDK) Updater - Script To Update The Java (JDK) Paths After Manual Installation

Ubuntu is kind of slow at updating JDK in the official repositories. And not only that but if you've used Ubuntu 10.10 Maverick Meerkat before the final release, you probably know that Java has only been uploaded to the Ubuntu Partner repository a few days before the final release so you could either use the Ubuntu 10.04 repository or manually install Java.

When you manually install JDK, you have to update the paths to get it to work. For this, you can use a script created by WebUpd8 reader Bruce Ingalls (this is actually a new version as we've already wrote a while back about this script) which uses Zenity and can easily update the Java (JDK) paths - all you have to do is select the folder where you've installed Java and the script will do the rest.

Nautilus Script To Compress PDF Files

Ricardo Ferreira (who sent us quite a few tips before) wrote a nice Nautilus script which comes with a GUI (Zenity) to compress and optimize PDF files called Compress PDF.

The script currently comes in multiple languages: English, Spanish*, French*, Czech* and Portuguese (but you can translate it into your language if you want - there are only 10 short lines to translate) and you can choose between 5 different compression levels: Screen-view only, Low Quality, Hight Quality, High Quality (Color Preserving) and Default:

compress pdf script

JDK Linux Update Script

WebUpd8 reader Bruce Ingalls sent us script which should make it easy for users to upgrade JDK. The script doesn't download JAVA or install it, but after you do that it updates the the path to the new JDK location.

Why use it?

Well, for instance JDK 1.6.0_19 was recently released and instead of creating symbolic links after installing it (which is not the recommended way to do it), you can use this script.

Ubuntu 10.04 First Time Use Script 0.2 Released: It Now Comes With A GUI

Update 18 Apr. 2010: A new version of the script has been released. Please see: What To Do After A Fresh Ubuntu Install Script - New Version Released [Ubuntu 10.04 Lucid Lynx]

If you liked the script in our "What To Do After Installing Ubuntu 10.04 Lucid Lynx? Run This Script!" post, you'll be glad to know that version 0.2 is out.

What's new in "Ubuntu 10.04 First time use script" (if you come up with an actual name, please do let us know =) ):
  • it now comes with a GUI - well, almost, it uses Zenity so all you have to do is check some boxes and the script will do the rest
  • the script now auto accepts the JAVA license when installing it, so you don't have to do this yourself anymore
  • added Dropbox installation (including the Dropbox repository which is for Karmic for now but it works on Lucid too - it will be updated to the Lucid repository when Dropbox will release it)
  • Install development tools (from build-essential to Subversion and GIT)
  • added gnome-do
  • Remove drive icons from desktop gconf tweak
  • Fix Google Chrome repository slowness for "apt-get update"
  • added a new Gconf tweak: disable the GDM login screen user list - I find it a security leak for Ubuntu to display your username when logging in.
  • the script no longer removes Empathy and the central-european settings for MPlayer and Totem have been removed.
  • it now requires you run it with "sudo"