Sunday, May 03, 2009

Quick mini-howto: SMS via Skype on Linux (opensuse)

There's a nice description on how to get access to Skype SMS on a linux system running a Skype linux client here. This guide is for Ubuntu, but it works for OpenSuse as well, with a tweak. After extracting skysentials an attempt to run this package will result in:

/usr/bin/python2.5: bad interpreter: No such file or directory
To get around this, open skysentials.py with your favourite text editor and change the very first line from:
#!/usr/bin/python2.5
to:
#!/usr/bin/python
...and it should work.
Bonus: if you want an easy link to the script, put the folder containing the files somewhere where it's not in the way and create a symbolic link in the 'bin' folder in your home directory:
ln -s /path/to/skysentials.py ~/bin/skysentials
...where you can also opt for another name and /path/to/skysentials.py should be the full path pointing to the skysentials.py script that you just saved.
This will allow you to just type skysentials from any terminal or run dialogue, without having to specify the full path or browse to the folder. E.g.: if you're using KDE, hit Alt+F2 to bring up a run dialogue, type skysentials and hit enter.