In this tip, we will see how to easily and quickly log off the current user session from the Unity Launcher under Ubuntu 13.04/12.10 using a simple bash script and Unity launcher file having a '.desktop' extension.

To install this simple script, enter these commands on the terminal:

sudo add-apt-repository ppa:upubuntu-com/apps 
sudo apt-get update 
sudo apt-get install logout-session

Bring up now the Unity dash and search "Logout Session" and drag its icon and drop it into the Unity Launcher:

From now on, you can turn off the current user account using this button.