Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old May 2nd, 2009   #1
Lightbreeze
5 Cups of Ubuntu
 
Join Date: Oct 2008
Beans: 26
use Skype with Jaunty notifcations (notify-osd)

I wrote a python script to use the new Jaunty notifications with Skype

* Notifies when a contact comes online, goes offline, sends you a message, when they have a birthday soon or when a file transfer is completed..
* Does not update successive chats into a single bubble
* Does not use the Indicator-applet
* Does not yet handle sounds

Hope someone finds it useful and this is how to install the script:
* Download the attachment and save it into a your Home directory
* 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
Code:
python /home/your-ubuntu-login-name/skype-notify.py -e"%type" -n"%sname" -f"%fname" -p"%fpath" -m"%smessage" -s%fsize -u%sskype
* you can enable and disable individual notifications: just uncheck "Display pop-up notification"
* Press 'Apply'
* Use ekiga instead
Attached Files
File Type: py skype-notify.py (5.1 KB, 816 views)
Lightbreeze is offline   Reply With Quote
Old May 11th, 2009   #2
jpeddicord
Ⓞ ⒽⒶⒾ
 
jpeddicord's Avatar
 
Join Date: Apr 2006
Location: Ohio, USA
Beans: 2,484
Ubuntu Development Release
Re: use Skype with Jaunty notifcations (notify-osd)

Approved; thank you for your tutorial contribution.
__________________
Site ║ ⬢ Launchpadµ Identi.caµ Twitter
jpeddicord is offline   Reply With Quote
Old May 12th, 2009   #3
danielrmt
Dark Roasted Ubuntu
 
Join Date: Nov 2008
Location: Here, There, Everywhere
Beans: 1,105
Re: use Skype with Jaunty notifcations (notify-osd)

Thanks, I'll try it now.
__________________
One must still have chaos in oneself to be able to give birth to a dancing star. -- Nietzsche
danielrmt is offline   Reply With Quote
Old June 11th, 2009   #4
valerie-23
First Cup of Ubuntu
 
Join Date: Jun 2009
Beans: 2
Re: use Skype with Jaunty notifcations (notify-osd)

Nice work!

I'm not a Python developer, but I'm wondering if there's scope for detecting if a particular Skype chat has focus, and suppressing the notifications if so? It's kind of distracting seeing the notification pop up when you're already in the chat window. I'd personally only like to see a chat notification if I was in another application.

Is this info sent in the variables sent in the events?
valerie-23 is offline   Reply With Quote
Old June 11th, 2009   #5
Lightbreeze
5 Cups of Ubuntu
 
Join Date: Oct 2008
Beans: 26
Re: use Skype with Jaunty notifcations (notify-osd)

valerie-23: I have a rough script working to do what you ask. If the window is unfocused it will notify and add an indicator - which will disappear if the chat gains focus before the indicator is clicked. I'll re-look over the code and clean it up a bit then post it here in a few days.

Glad that someone else finds it useful
Lightbreeze is offline   Reply With Quote
Old June 11th, 2009   #6
valerie-23
First Cup of Ubuntu
 
Join Date: Jun 2009
Beans: 2
Re: use Skype with Jaunty notifcations (notify-osd)

Awesome! I tend to miss the default Skype notifications that pop up (they're too small!), so using the new notifier is really useful.

I'll look forward to your updated script
valerie-23 is offline   Reply With Quote
Old June 11th, 2009   #7
RD1
A Carafe of Ubuntu
 
RD1's Avatar
 
Join Date: Feb 2008
Location: Earth 1 (the original)
Beans: 139
Ubuntu 9.04 Jaunty Jackalope
Re: use Skype with Jaunty notifcations (notify-osd)

Could someone please do this for Thunderbird? Please!?
RD1 is offline   Reply With Quote
Old June 15th, 2009   #8
asilvan
First Cup of Ubuntu
 
Join Date: Jun 2009
Beans: 4
Re: use Skype with Jaunty notifcations (notify-osd)

it works perfect for me

thank you!!!

asilvan is offline   Reply With Quote
Old June 27th, 2009   #9
Pate_Toni
First Cup of Ubuntu
 
Join Date: May 2009
Beans: 2
Re: use Skype with Jaunty notifcations (notify-osd)

Quote:
Originally Posted by RD1 View Post
Could someone please do this for Thunderbird? Please!?
hi,

here you can find an experimental version of a notify for thunderbird. check it out:

https://launchpad.net/libnotify-mozilla

it works very well and i don't have any trouble with that add-on.

cu
Pate

Last edited by Pate_Toni; June 27th, 2009 at 09:07 AM..
Pate_Toni is offline   Reply With Quote
Old June 27th, 2009   #10
mirhciulica
5 Cups of Ubuntu
 
mirhciulica's Avatar
 
Join Date: Sep 2008
Location: Romania
Beans: 34
Ubuntu 9.04 Jaunty Jackalope
Send a message via Yahoo to mirhciulica
Re: use Skype with Jaunty notifcations (notify-osd)

thank you!
__________________
Laptop: Acer Aspire 6930G Core2Duo T5800 2.0GHz, 4GB DDR2, 250GB HDD, 9300M GS 512MB, Audio 5.1 DHT. ArchLinux
Desktop: Intel Pentium D 2.8GHz, 2GB DDR2, 460GB HDD, 7300GT 256MB, Creative Audigy SE. Ubuntu 9.04
mirhciulica is offline   Reply With Quote

Bookmarks

Tags
jaunty 9.04, notification, notify-osd, skype

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:35 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry