FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1
    Join Date
    Jun 2008
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ubuntu's NotifyOSD in Fedora

    Sure you can build it from source and make all the changes yourself but I prefer to do it using RPMs so that I can easily remove all the junk i installed.



    Installation

    Create a file called fuzzie.repo in /etc/yum.repos.d/ and add:
    Code:
    [fuzzie]
    name=Fuzzie Repository for Fedora $releasever
    baseurl=http://xrylite.uni.cc/fedora/releases/$releasever/$basearch/
    enabled=1
    gpgcheck=1
    gpgkey=http://xrylite.uni.cc/fedora/RPM-GPG-KEY-fuzzie.gpg
    Install:
    Code:
    yum install notify-osd
    ...or rebuild if not x86_64 or i586

    Install build requisites:
    Code:
    yum install rpm-build dbus-glib-devel gtk2-devel GConf2-devel libnotify-devel libwnck-devel intltool
    Download SRPM and rebuild:
    Code:
    wget --no-cache http://xrylite.uni.cc/fedora/notify-osd-0.9.14.1-1.src.rpm
    rpmbuild --rebuild notify-osd-0.9.14.1-1.src.rpm
    EDIT: Added --no-cache flag as it downloads the older version for some reason

    Install:
    Code:
    rpm -ivh ~/rpmbuild/RPMS/$(uname -m)/notify-osd-0.9.14.1-1.$(uname -m).rpm
    Finishing up

    Now all you need to do is activate it.

    Setting up:
    Code:
    Edit /usr/share/dbus-1/services/org.freedesktop.Notifications.service
    and change the third line to: Exec=/usr/libexec/notify-osd
    
    Note:It is wise to do a backup first
    Now all you need to do is restart X and you will have NotifyOSD on your system.

    Testing:
    Code:
    notify-send "Hello World"
    Caveats: NotifyOSD cannot handle notifications requiring user response. However there is windowed fall-back available although it is visually less appealing. Hopefully the guys at Ubuntu will add user response support.
    EDIT: Ubuntu guys will never add support as it is "by design". Hopefully, the "check user response support" patches will go upstream. Figures that Ubuntu is not playing nicely....


    PS. I've taken Mandriva's spec file for NotifyOSD and adjusted some parameters so that it will build in Fedora. So credit for the spec file goes to the Mandriva guys!
    Last edited by Fuzzie; 1st July 2009 at 08:07 AM.

  2. #2
    Join Date
    Jun 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Fuzzie, thanks for posting this, unfortunately this isn't working for me.

    When I double-click the RPM to install it, I get the message:

    Two packages provide the same file.
    This is usually due to mixing packages from different software sources.

    More details;
    Test Transaction Errors: file /usr/share/dbus-1/services/org.freedesktop.Notifications.service from install of notify-osd-0.9.14.1-1.x86_64 conflicts with file from package notification-daemon-0.4.0-3.fc11.x86_64

    This on a clean Fedora install with RPM Fusion repos enabled on x86_64.

    Thanks.

    Paul
    Last edited by pcutler; 28th June 2009 at 09:07 PM.

  3. #3
    Join Date
    Jun 2008
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by pcutler
    Hi Fuzzie, thanks for posting this, unfortunately this isn't working for me.

    When I double-click the RPM to install it, I get the message:

    Two packages provide the same file.
    This is usually due to mixing packages from different software sources.

    More details;
    Test Transaction Errors: file /usr/share/dbus-1/services/org.freedesktop.Notifications.service from install of notify-osd-0.9.14.1-1.x86_64 conflicts with file from package notification-daemon-0.4.0-3.fc11.x86_64

    This on a clean Fedora install with RPM Fusion repos enabled on x86_64.

    Thanks.

    Paul
    Sorry about that! I uploaded the wrong SRPM Please re-download it again.

    ...or you can also force rpm install but i would not recommend that as that would cause problems

  4. #4
    Join Date
    Jun 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you! It worked, I love notify-osd

  5. #5
    Join Date
    Jul 2008
    Location
    Mir space station
    Age
    48
    Posts
    737
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    neither way works.mirror problems

    UPDATE

    Manual download works, but osd did not change.
    Last edited by wvn; 11th July 2009 at 07:59 AM.

  6. #6
    Join Date
    Jun 2008
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by wvn
    neither way works.mirror problems

    UPDATE

    Manual download works, but osd did not change.
    I don't mean to be rude but this isn't helpful at all.

    What errors are you getting from yum? What do you mean osd did not change? Do you mean the dbus notifications did not change? (There's nothing called "osd" in default fedora)

    Have you read how to set the thing up like in the post and then restart your gnome session?

  7. #7
    Join Date
    Jul 2008
    Location
    Mir space station
    Age
    48
    Posts
    737
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  8. #8
    Join Date
    Jun 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I get the following error when I tried installing using yum.
    Code:
    Downloading Packages:
    http://xrylite.uni.cc/fedora/releases/11/i386/notify-osd-0.9.14.1-1.i586.rpm: [Errno 9] Requested Range Not Satisfiable
    Trying other mirror.
    
    Error Downloading Packages:
      notify-osd-0.9.14.1-1.i586: failure: notify-osd-0.9.14.1-1.i586.rpm from fuzzie: (256, 'No more mirrors to try.')

  9. #9
    Join Date
    Jul 2008
    Location
    Mir space station
    Age
    48
    Posts
    737
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thats the error i got the first time. Keep trying, it will be available sooner or later

  10. #10
    Join Date
    Aug 2006
    Location
    /dev/realm/{Abba,Carpenters,...stage}
    Posts
    3,285
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesn't work here. Instead of "the sexy" I got messages in the middle of the screen, piling up and offering three options:Show,Cancel,... Might have anything to do with CairoDock I'm using ?
    For safer browsing, use OpenDNS nameservers 208.67.222.222 and 208.67.220.220

    SELinux User Guide

    AutoPager

  11. #11
    Join Date
    Jun 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Now I get a different error (2 hours later).

    Code:
    Downloading Packages:
    notify-osd-0.9.14.1-1.i586.rpm                                          | 145 kB     00:48     
    http://xrylite.uni.cc/fedora/releases/11/i386/notify-osd-0.9.14.1-1.i586.rpm: (-1, u'Package does not match intended download')
    Trying other mirror.
    
    
    Error Downloading Packages:
      notify-osd-0.9.14.1-1.i586: failure: notify-osd-0.9.14.1-1.i586.rpm from fuzzie: (256, 'No more mirrors to try.')
    I give up.

  12. #12
    Join Date
    Jun 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It seems Fuzzie's hosting provider has suspended his page/ account.

    Does anyone have the source rpm they can email me? I'm wanting to rebuild it, and am more than willing to host it for people as well.

    Thanks.

    Paul

  13. #13
    Join Date
    Jun 2008
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by pcutler
    It seems Fuzzie's hosting provider has suspended his page/ account.

    Does anyone have the source rpm they can email me? I'm wanting to rebuild it, and am more than willing to host it for people as well.

    Thanks.

    Paul
    Hi, I haven't been very active since my laptop died. The source rpm and the built ones are up again. Sorry

  14. #14
    Join Date
    Jun 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks again!

  15. #15
    Join Date
    Jun 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks again!

    One question though - I've re-installed Fedora a couple of times over the last couple months, and the first time I was using notify-osd it was working correctly with Banshee / notify-sharp. The last two installs I've done over the last month, when Banshee changes song, I get a dialog box instead - and if I don't close it, by the time an album finishes I'll have a lot of dialog boxes.

    Is anyone else seeing this in F11 (x86_64)

    Screenshot here: http://www.silwenae.org/etc/notify-sharp.png

    Thanks.

    Paul

Page 1 of 2 12 LastLast

Similar Threads

  1. Ubuntu's smooth LCD fonts in Fedora 11 for Dummies
    By sideways in forum Guides & Solutions (Not For Questions)
    Replies: 28
    Last Post: 29th June 2011, 05:16 PM
  2. Need Help adding Fedora to Ubuntu's GRUB
    By Letmekilluplz in forum Installation, Upgrades and Live Media
    Replies: 27
    Last Post: 20th January 2010, 08:45 AM
  3. Replies: 7
    Last Post: 3rd April 2009, 02:26 AM
  4. CheckInstall + Ubuntu's Upstart for RPM on Fedora 8?
    By vprasad1 in forum Using Fedora
    Replies: 0
    Last Post: 2nd December 2007, 05:59 AM

Tags for this Thread

Posting Permissions

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