Lens for Ubuntu Unity (12.04) to browse tasks on Remember The Milk

UPDATE: latest version


This product uses the Remember The Milk API but is not endorsed or
certified by Remember The Milk.

Ubuntu 12.04 is out, so I decided to update my lens for remember the milk to work in Unity 5.

Actually, the lens uses singlet, by Michael Hall (many thanks for your work), so the transition to Unity 5 has been flawless.

While I was there, I made some minor improvements (e.g. the due dates are now printed in a prettier format) and added a feature to sort tasks.

As usual, I screencasted the lens at work:

If you want to try it, you can get the source code here on gitHub.

I wrote two simple scripts to install and launch the lens. You can find instructions on the README file.

Ubuntu 12.04 and Hybrid Graphics on Sony VAIO S

As an update to this post, I confirm that using vgaswitcheroo to shutdown the discrete AMD/ATI card on the new Sony Vaio S, works perfectly also in 12.04 (Precise Pangolin).

Quick reference:

  1. Edit the file /etc/modprobe.d/blacklist.conf (replace “gedit” with your favorite editor):
    sudo gedit /etc/modprobe.d/blacklist.conf
  2. Add the following lines at the end of the file:
    # radeon
    blacklist radeon
  3. Edit the file /etc/rc.local (replace “gedit” with your favorite editor):
    sudo gedit /etc/rc.local
  4. Add the following lines just before exit 0:
    modprobe radeon
    chown -R $USER:$USER /sys/kernel/debug
    echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

After a restart, use this command to verify that the AMD/ATI discrete graphic card has been shutdown:

sudo less /sys/kernel/debug/vgaswitcheroo/switch

Your output should be similar to this:

1:DIS: :Off:0000:01:00.0

Where the + sign indicates that the Integrated card (Intel) is currently in use and the Off keyword in the 1:DIS: entry indicates that the discrete AMD/ATI card is powered off.

The benefits I’ve noticed when using this setup are:

  • The notebook is much less noisy
  • The battery lasts longer
  • The notebook is cooler