Page 2 of 15 FirstFirst 123412 ... LastLast
Results 11 to 20 of 148

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

  1. #11
    Join Date
    Feb 2008
    Location
    Earth 1 (the original)
    Beans
    139
    Distro
    Ubuntu 9.04 Jaunty Jackalope

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

    Thanks, Pate I'll give it try.

  2. #12
    Join Date
    Oct 2008
    Beans
    28

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

    So now I have 2 files
    1) skype-dbus-service.py
    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.

    Major Changes
    * 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

    Instructions

    * 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
    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'

    Now
    * In the panel, open System > Preferences > Startup Applications
    * Click 'Add'.
    * For 'Command' enter:
    Code:
    python ~/skype-dbus-service.py
    * For 'Name' enter "Skype Nice Notifications"
    * 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!!!!
    Attached Files Attached Files
    Last edited by Lightbreeze; November 2nd, 2009 at 11:54 PM. Reason: Thanks for picking me up on that sensimilla!

  3. #13
    Join Date
    Apr 2007
    Beans
    20

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

    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.

  4. #14
    Join Date
    May 2009
    Beans
    3

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

    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]

    thanks

  5. #15
    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.

  6. #16
    Join Date
    Oct 2008
    Beans
    28

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

    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!

  7. #17
    Join Date
    Oct 2008
    Beans
    28

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

    Oh, thanks lukeen for the translation. I'll setup translations properly with variables in the near future.

    Thank you all!

  8. #18
    Join Date
    May 2008
    Location
    Italy
    Beans
    16
    Distro
    Ubuntu 10.10 Maverick Meerkat

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

    Quote Originally Posted by Lightbreeze View Post
    So now I have 2 files
    1) skype-dbus-service.py
    2) skype-notify.py modified

    [...]

    Now skype-dbus-service.py will run when your computer starts, adding 'Skype' to the indicator-applet and awaiting messages from your friends!!!!
    Thanks =D

    +1

  9. #19
    Join Date
    Jun 2009
    Beans
    6

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

    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.

  10. #20
    Join Date
    Oct 2008
    Beans
    28

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

    mr_pitchfork.

    Could you give me simple steps how to reproduce this issue? Thanks!

Page 2 of 15 FirstFirst 123412 ... 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
  •