Page 1 of 3 123 LastLast
Results 1 to 10 of 148

Thread: use Skype with Jaunty notifcations (notify-osd)

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Beans
    28

    use Skype with Jaunty notifications (notify-osd)

    I wrote a python script to use the new notification system introduced in Jaunty and now I have updated it use work with later releases of Ubuntu.

    * Notifies when a contact comes online, when they have a birthday soon or when a file transfer is completed.. And when they send you a message new text is appended in the notification bubble. Of course, message notifications are only shown if the conversation doesn't have focus.
    * We now support the Messaging Menu, simply run skype-dbus-service.py. Although for some reason (?) the envelope doesn't go green.

    Hope someone finds it useful and this is how to install the script:
    * Download the files by typing into a terminal
    Code:
    bzr branch lp:skype-notify
    * 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 ~/skype-notify/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'
    Last edited by Lightbreeze; November 29th, 2010 at 01:25 PM.

  2. #2
    Join Date
    Apr 2006
    Location
    Seattle
    Beans
    2,893
    Distro
    Ubuntu Development Release

    Re: use Skype with Jaunty notifcations (notify-osd)

    Approved; thank you for your tutorial contribution.

  3. #3
    Join Date
    Nov 2008
    Location
    Here, There, Everywhere
    Beans
    1,168
    Distro
    Xubuntu

    Re: use Skype with Jaunty notifcations (notify-osd)

    Thanks, I'll try it now.

  4. #4
    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?

  5. #5
    Join Date
    Oct 2008
    Beans
    28

    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

  6. #6
    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

  7. #7
    Join Date
    Nov 2006
    Location
    Austria
    Beans
    8
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: use Skype with Jaunty notifcations (notify-osd)

    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.

  8. #8
    Join Date
    Sep 2009
    Beans
    1

    Re: use Skype with Jaunty notifcations (notify-osd)

    Great Script! Thank you very much for the work!


    Quote Originally Posted by lukeen View Post
    oh, and i translated it into german
    May I have your translation? Would be more easy than translating it for myself
    Wirklich!

  9. #9
    Join Date
    May 2009
    Beans
    1

    Re: use Skype with Jaunty notifcations (notify-osd)

    Nice work, Lightbreeze, really appreciate it. Notifications are working very nice, only the new message notification, as described by mr_pitchfork, doesn't work as it should, but anyway, your script is just great.

    Thank you very much and keep on the good work.

    playmaker

  10. #10
    Join Date
    Aug 2008
    Location
    Germany, Frankfurt
    Beans
    51
    Distro
    Ubuntu 10.04 Lucid Lynx

    Talking Re: use Skype with Jaunty notifcations (notify-osd)

    hi all,
    seems like the script(s) have evolved since I installed the first version.

    Is the code on launchpad by now, any plans. would be much easier to follow up and colaborate/translate

    last but def not least: thank you lightbreeze for the script!

    btw: there are quite a few blogs out there selling the script without giving credit to lightbreeze
    Last edited by _sebastian_; September 21st, 2009 at 08:54 AM. Reason: add btw

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •