Thanks, Pate I'll give it try.
Thanks, Pate I'll give it try.
So now I have 2 files
2) skype-notify.py modified
#1 (skype-dbus-service.py) runs in the background and waits for #2 to send it notifications. This means we can use the indicator-applet and append messages to an existing notification bubble.
* Notifications are now not shown if the chat window has focus
* New messages are added to the indicator-applet until clicked or the chat window is clicked
* Download the attachments and save to your Home Folder
* open Skype -> menu (the skype icon in the lower left) -> Options
* Press 'Notifications' then 'Advanced View'
* [x] Mark 'Execute the following script on _any_ notification'
Paste* you can enable and disable individual notifications: just uncheck "Display pop-up notification"Code:python /home/your-ubuntu-login-name/skype-notify.py -e"%type" -n"%sname" -f"%fname" -p"%fpath" -m"%smessage" -s%fsize -u%sskype
* Press 'Apply'
* In the panel, open System > Preferences > Startup Applications
* Click 'Add'.
* For 'Command' enter:* For 'Name' enter "Skype Nice Notifications"Code:python ~/skype-dbus-service.py
* Press 'Save'
Make sure to install the package python-indicate
Now skype-dbus-service.py will run when your computer starts, adding 'Skype' to the indicator-applet and awaiting messages from your friends!!!!
Last edited by Lightbreeze; November 2nd, 2009 at 11:54 PM. Reason: Thanks for picking me up on that sensimilla!
Thanks for the script, it seems to be working well for me.
It took me a while to work out that I had to install the package python-indicate before it would work. Probably a good idea to mention it in the tutorial.
Last edited by sensimilla; June 29th, 2009 at 01:43 PM.
well. i have a problem with that script, it don't work. how can i find out, if the "skype-dbus-service.py" is running? maybe it isn't running and this is the solution for my problem.
[UPDATE] and i installed the package "python-indicate" [/UPDATE]
hey thank you so much for this script!
a little suggestion:
wouldn't it be better to start the dbus-service file on login and stop it on logout of skype? and not on login to the system.
you could add that where you check the event type. or it could be checked with every event if the service is running and if not start it...
oh, and i translated it into german and figured out the umlauts have to be escaped with there unicode hex and putting the u before the string like u"Gespr\xE4ch beendet". this should work in a better way. maybe you could then also make all strings variables so they are easy to translate...
Last edited by lukeen; July 2nd, 2009 at 09:29 AM.
Sorry, I know this isn't prefect. I haven't put a lot of time into testing this or making it easy to use; it was just a personal annoyance I was trying to fix. I will put a lot more effort into making this seamless, especially focusing on what lukeen has suggested, but that might not be for a few weeks.
Now, Pate_Toni, if you run skype-dbus-service.py in the terminal - rather than at system startup - you might see what is wrong, possibly a package missing. If 'Skype' appears in the indicator-applet the script should be working.
Report any bugs you find and hopefully I'll get into fixing them soon, thanks!
Oh, thanks lukeen for the translation. I'll setup translations properly with variables in the near future.
Thank you all!
Well, shucks! It works fine, but it won't stop saying there are unread messages, even when there are none. How do I fix this?
Last edited by mr_pitchfork; July 13th, 2009 at 04:48 AM.
Could you give me simple steps how to reproduce this issue? Thanks!