site  contact  subhomenews


January 11, 2011 — BarryK
I have created a PET package for Skype. This is the static package, meaning that Qt is compiled statically into it, meaning that you do not need to install the Qt4 PET package. This Skype PET has no unmet dependencies, just install it and it will work.

Download Skype (26.7MB): should work in all puppies.

Skype home:

PET package creators, there is one thing in the Skype PET that might interest you: if you want to know how to create a desktop icon automatically when a PET is installed, take a look at the '' script in the Skype PET. Also '' to remove the icon.

I reckon that someone who uses Skype would very much want a desktop icon to launch it quickly.


how to create icon

create icon
Username: BarryK
"Here is [code]#!/bin/sh if [ "`pwd`" = "/" ];then echo "<?xml version=\"1.0\"?> <env:Envelope xmlns:env=\"\"> <env:Body xmlns=\"\"> <PinboardAdd> <Path>/usr/bin/skype</Path> <X>224</X> <Y>224</Y> <Label>skype</Label> </PinboardAdd> </env:Body> </env:Envelope>" | rox -R echo "<?xml version=\"1.0\"?> <env:Envelope xmlns:env=\"\"> <env:Body xmlns=\"\"> <SetIcon> <Path>/usr/bin/skype</Path> <Icon>/usr/share/pixmaps/skype.png</Icon> </SetIcon> </env:Body> </env:Envelope>" | rox -R xmessage -bg yellow -center "NOTICE: Skype has been installed. A desktop icon should have appeared alongside the 'chat' icon, for convenient starting of Skype. When started, an icon will appear in the tray for easy restarting of Skype." [ -f /root/.config/ ] && cp -f /root/.config/ /root/Choices/ROX-Filer/ [/code] continued...

rest of script
Username: BarryK
"It was too long for one comment... [code]else #building in Woof... sed -i -e '%^<\/pinboard>/d' ./root/Choices/ROX-Filer/PuppyPin echo '<icon x="224" y="224" label="help">/usr/bin/skype</icon>' >> ./root/Choices/ROX-Filer/PuppyPin echo '</pinboard>' >> ./root/Choices/ROX-Filer/PuppyPin sed -i -e '/^<\/special-files>/d' ./root/Choices/ROX-Filer/globicons echo '<rule match="/usr/bin/skype"> <icon>/usr/share/pixmaps/skype.png</icon> </rule>' >> ./root/Choices/ROX-Filer/globicons echo '</special-files>' >> ./root/Choices/ROX-Filer/globicons fi [/code]

Delete icon
Username: BarryK
"Content of [code]#!/bin/sh #remove skype icon from desktop... echo "<?xml version=\"1.0\"?> <env:Envelope xmlns:env=\"\"> <env:Body xmlns=\"\"> <UnsetIcon> <Path>/usr/bin/skype</Path> </UnsetIcon> </env:Body> </env:Envelope>" | rox -R [/code]

Tags: wary