← Back to team overview

canonical-partner-dev team mailing list archive

[Bug 592334] Re: skype does not save the password for automatic login

 

Here's the contents of my version of skype-wrapper:

The reason Skype forgets the password is generally that the user clicks
the skype start icon more than once during a session.  This makes skype
attempt to log in again.  When it fails because it is already logged in,
it resets the stored password.

This modified version of the startup script signals the existing running
skype to exit before running a new one.  It prevents loss of the stored
password.

#!/bin/sh
if [ "$UID" != "0" ]; then
  if [ "$USER" != "root" ]; then
    killall -HUP skype
    sleep 1
  fi
fi

if [ ! -e ~/.Skype/shared.xml ]; then
  mkdir -p ~/.Skype
  cp /usr/share/skype/shared.xml ~/.Skype/shared.xml
fi

LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so
QT_PLUGIN_PATH=/usr/lib32/qt4/plugins /usr/bin/skype "$@"


I would have contributed this as code to the skype package, if I could have found any way to do so.  I searched the site up and down for about 15 minutes and gave up, looked for a relevant bug to add my patch to.

-- 
You received this bug notification because you are a member of Canonical
Partner Developers, which is subscribed to skype in Ubuntu.
https://bugs.launchpad.net/bugs/592334

Title:
  skype does not save the password for automatic login