The script is awesome!
I can confirm that changing the "is" to "==" works.
However, do you know how I can add the skype icon in all notifications?
Thank you!
The script is awesome!
I can confirm that changing the "is" to "==" works.
However, do you know how I can add the skype icon in all notifications?
Thank you!
Almost all notifications have the skype icon, or another icon, except incoming chat messages if I am not mistaken.
To correct this (and answer my previous question) go on and replace ling 57 with
which adds a skype icon to the incoming-messages notifications.Code:n = pynotify.Notification(skypename, skypemessage, "skype")
Finally, logout and login (or restart service in general) for the changes to take effect.
great script guys! (not_insane++)
I've installed the script by not_insane and it works, but it only works for messages, not if somebody goes online or offline or anything other.
Hello everyone, I wanted to figure out if the script is working on oneiric, because when I install it, it says:
It misses 'python-skype'. Is it ok, or a showstopper?Code:montini@insecticide:~$ ./skype-notify-messaging 1) Install Skype Messaging Menu / Notifications support 2) Remove Skype Messaging Menu / Notifications support 3) Quit Please enter an option (1, 2 or 3): 1 [sudo] password for montini: --2011-09-18 10:39:39-- http://webupd8.googlecode.com/files/skype-notify-improved.tar.gz Resolving webupd8.googlecode.com... 74.125.39.82 Connecting to webupd8.googlecode.com|74.125.39.82|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 117583 (115K) [application/x-gzip] Saving to: `skype-notify-improved.tar.gz' 100%[======================================>] 117,583 156K/s in 0.7s 2011-09-18 10:39:40 (156 KB/s) - `skype-notify-improved.tar.gz' saved [117583/117583] skype-notify-improved/skype-notify.py skype-notify-improved/skype-dbus-service.py skype-notify-improved/skype.desktop skype-notify-improved/skype skype-notify-improved/message-new-instant.wav skype-notify-improved/INSTALL skype-notify-improved/ Reading package lists... Done Building dependency tree Reading state information... Done Package python-skype is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'python-skype' has no installation candidate Done. Remember to log out and log back in or else this wont work. montini@insecticide:~$ sudo apt-get install python-skype Reading package lists... Done Building dependency tree Reading state information... Done Package python-skype is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'python-skype' has no installation candidate montini@insecticide:~$
'python-skype' is necessary for the script to work. I downloaded the package from here (http://packages.ubuntu.com/natty/all...skype/download) and it seems to work.
By the way, although I have removed Skype from the whitelist of the Ubuntu panel, the icon still shows up every time I launch the programme.
In Ubuntu 11.10 sni-qt package is used for Qt applications indicators and they are not "systray indicators" anymore so if u "whitelist" Skype as "systray indicator" it does not affect Skype anymore! If u remove sni-qt package there will be no Skype indicator, but you will not be able to use other Qt indicators like the one for VLC, but i guess you could "whitelist" them and use them as "systray indicators" if u want, the same way u did it in Ubuntu 11.04.
I manually downloaded and installed package python-skype and used instructions and python script from not_insane and it does work! I just don't get "blue envelope" in Ubuntu 11.10 and i was wondering if this is normal behavior and if there is a "fix" available for this!
Last edited by EgoGratis; October 15th, 2011 at 05:09 PM.
Update:
Icon does change color! Basically everything i need is working OK! Thanks to all the people involved that made this work.
Last edited by EgoGratis; October 15th, 2011 at 08:23 PM.
The script by not_insane doesn't work anymore for me on Ubuntu 11.10.
Edit: It works, but still only for chat messages, as I wrote ~2 months ago.
Last edited by Harmageddon; November 26th, 2011 at 04:54 PM.
Bookmarks