Make Skype working on Linux Ubuntu 13.10 64bit

If you have a fresh install or an upgrade to Ubuntu 13.10 , you may encounter some difficulties on skype, whatever your pc or laptop is.
You may also download skype from its website and find it working perfectly , but if you get all sounds on skype distorted or no sound at all , then here is the solution .

  1. Remove any installation of skype 
    sudo apt-get remove skype
  2. Open "Software & Updates" and enable the "Canonical Partners" repository. Open Terminal or Alt+F2 and type
  3. Update and install skype
    sudo apt-get update
    sudo apt-get install skype
  4. Run this command 
    sudo sed -i 's/^Exec=.*/Exec=env PULSE_LATENCY_MSEC=30 skype %U/' /usr/share/applications/skype.desktop
    This is a workaround t get skype working with PulseAudio 4.0.
    In any shortcut of skype , or if you want to run it from terminal just add( PULSE_LATENCY_MSEC=30 )