PPA-Purge: How to Roll Back Major Installations in Ubuntu

Screenshot from 2014-05-11 15:02:54If your helping with testing new features in the development version of ubuntu, or trying out a new Desktop Environment, you will likely encounter installing new packages from a ppa. But what happens when you want to roll back those changes?

Thankfully there is a tool to help called ppa-purge. PPA-purge will uninstall all packages from a specified ppa and downgrade you back to the archive versions. In addition it will disable the ppa so you can’t install packages from it.


sudo apt-get install ppa-purge

How to use

Simply execute the following line, replace the ppa:NAMEOFPPA with the ppa you wish to purge.

sudo ppa-purge ppa:NAMEOFPPA

I’ll show you a quick example of me removing the HUD ppa:

sudo ppa-purge ppa:unity-team/hudUpdating packages lists

PPA to be removed: unity-team hud

comm: file 2 is not in sorted order

Package revert list generated:

gir1.2-dbusmenu-glib-0.4/precise gir1.2-dbusmenu-gtk-0.4/precise

indicator-appmenu/precise libdbusmenu-glib4/precise libdbusmenu-gtk3-4/precise

libdbusmenu-gtk4/precise libunity-core-5.0-5/precise unity/precise

unity-common/precise unity-services/precise

Disabling unity-team PPA from


The following packages will be DOWNGRADED:

gir1.2-dbusmenu-glib-0.4 gir1.2-dbusmenu-gtk-0.4 libdbusmenu-glib4

libdbusmenu-gtk3-4 libdbusmenu-gtk4 indicator-appmenu

Note that it found the packages I had installed and offered to downgrade them. Say yes and ppa-purge will put you back to archive state. Neat!

via PPA-Purge: the magic undo buttton | The Orange Notebook.


How to get Native Unity Notifications for Twitter Direct Messages and Mentions

Twitter_logo_blueEver since I left Windows I’ve been hunting for a perfect Twitter client, and thanks to Twitters new API rules that hunt failed. I;ve resigned myself to the fact that the easiest way to use twitter nowadays is to simply use a fast browser (Qupzilla is my weapon of choice for twitter), but there is one thing that I desperately missed from the old client days, and that was Desktop Notifications whenever a DM or Mention came in. So off I went again, looking for a way to get decent native notifications through browser plugins, or the new WebApps system, but that search became fruitless and I started to feel like Captain Ahab with his obsessive hunt for the whale. But, this time Ahab has caught his whale and I’ve worked out a neat workaround to get my notifications:   To achieve this entails the installation of three programs, gFeedline, Python-Central (a dependency) and AllTray, none of which make much of an impact on performance I’m happy to say.

1: First off we need to install the dependency, Python-Central, download the app from here and install as normal using GDebi.

2: Next we install gFeedline, a Microblogging client that works with twitter, it’s not to functional, but it has the function we need, Desktop Notifications. Download it here and install with GDebi again.

3: The next step is to set up your account, there is a wizard for doing this so I wont explain it here. After you have your account set up, add the two feeds we’re interested in by clicking Feeds > New and selecting the feeds you want, ie. Direct Message and Mentions. Be sure to click “Enable Notifications” for both feeds.

4: Set gFeedline to start on boot in the preferences.

That’s the feed and notifications set up, the next part is just for convenience, since we won’t be using Gfeedline for anything but notifications it’d be nice to just have it out-of-the-way and forgotten about, the only way I’ve found to achieve this is by having a little program called AllTray installed and have it start on boot. To do this first install the program by entering the following command into the Terminal:

sudo apt-get install AllTray

Then add AllTray to your startup applications by searching in the dash for “Startup Applications” and running it. Click “Add” and name the entry “alltray”, then simply enter the following line into the command box:


Click “Add” then reboot.

What you should have after you reboot is the gFeedline window open with an extra little window and your mouse cursor represented bu a cross:

Screenshot from 2014-04-18 17:07:35

Simply click anywhere in the gFeedline window and it’ll disappear entirely, and that’s it done. Now every time someone sends you a message or a reply through Twitter you’ll get a pop-up notification alerting you 🙂

Top Ten Things To Do After Installing Ubuntu (12.04 – 14.04) – Updated

The Ubuntu Unity Dash

The Ubuntu Unity Dash

So you have your shiny new installation of Ubuntu and I know your desperate to start playing around with it, but before you get started there are a few things that, in my opinion, every Ubuntu user should do after installing. These few tweaks and tips will ensure that your computer will run smoothly and be a fully up to date installation.

1. First things first, update! This should always be the very first thing you do, even if you clicked “Download Updates” during the installation. To update your computer in the quickest and simplest way, open up a Terminal (Cntrl+T) and type (or copy and paste if you’re lazy) the following command in, hit enter and follow the on-screen prompts:

sudo apt-get update && sudo apt-get upgrade

This will ensure that you have all the necessary security updates, improvements and additions that are available for whatever release of Ubuntu you have installed.

2. The next thing that I always do is install a little app called preload. This program, over a short time will learn which programs you use on a regular basis and will fetch the programs and hold them in the memory, so when you start-up let’s say, your browser, you’ll see a remarkable improvement in how quick the program will start. Install it by entering the following command into the Terminal:

sudo apt-get install preload

 3. The next thing for me is to configure the start-up applications. This will be an entirely personal choice as to what services you disable for obvious reasons. But before you start-up the tool for this enter these following commands into the Terminal: Continue reading