Working patch for Ubuntu

Version V1 V2  
1 by Etienne LORRAIN View Revision