No PackageKit update notifications in XFCE
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 14 of 14
  1. #1
    Join Date
    Apr 2010
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    No PackageKit update notifications in XFCE

    In F14, an icon would appear in the notification area when there were updates to be installed, clicking it would bring up the update manager. In F15 there is no such thing. I'm guessing it has to do with some doubtlessly edgy way Gnome 3 is supposed to notify about updates (I don't know, never used it). Is there a way to get the old behavior back?

  2. #2
    Join Date
    May 2010
    Location
    Midwest USA
    Age
    55
    Posts
    534
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE

    I think Gnome changed how they did notifications, or something. I'm in the same boat. Sure I can yum update manually, but I miss the notifications.

    Ron Rogers Jr (CronoCloud)

  3. #3
    Join Date
    Sep 2009
    Location
    Moscow, Russia
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE

    Hello!
    I also have, not work update notifications in XFCE. How can I solve this problem? You do not succeed?

  4. #4
    Join Date
    Apr 2010
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE

    No, I never succeeded. In fact, I removed gnome-packagekit completely and now just manually run yum check-update from time to time. Unless xfce-packagekit frontend is made (there is one for KDE right now), I don't think this is solvable.

  5. #5
    Join Date
    Sep 2008
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE

    I just came across this post... while certainly not perfect, I'd created the following script to run in the XFCE4 genmon plugin every x seconds (set it in the genmon properties). I set it to 300 seconds, knowing there may be a lag before it shows OK after I complete running updates. Of course, it assumes the oxygen icons are installed.

    cat genmon-yum.sh
    #!/bin/bash

    updates=$( yum check-update )

    if [ $? = 100 ]
    then
    echo -e "<img>/usr/share/icons/oxygen/22x22/emblems/emblem-important.png</img>"
    echo -e "<tool>Updates Available</tool>"
    echo -e "<click>gpk-update-viewer</click>"
    else
    echo -e "<img>/usr/share/icons/oxygen/22x22/actions/dialog-ok.png</img>"
    echo -e "<tool>all updates applied</tool>"
    echo -e "<click>gpk-update-viewer</click>"
    fi

  6. #6
    Join Date
    Sep 2007
    Location
    Los Angeles, CA
    Posts
    128
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE

    I noticed this problem too on Fedora 15 w/ XFCE. I first assumed it was something wrong with my particular install, but I noticed on F16 it still doesn't show update notifications in XFCE.

    I wish Fedora would show more love to the other desktops instead of pouring all their work into Gnome 3 exclusively.

  7. #7
    cwickert is offline Fedora Contributor And Community Manager
    Join Date
    Nov 2009
    Location
    Münster, Germany
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE

    Quote Originally Posted by Cuvou
    I wish Fedora would show more love to the other desktops instead of pouring all their work into Gnome 3 exclusively.
    I fully agree, but there is not much we as the Xfce people in Fedora can do because the problem is upstream: Richard is not only the maintainer of gnome-packagekit in Fedora but also the upstream developer. His decision to only support GNOME is a decision of the author of the program, not in his role as the Fedora package maintainer.

    What you can do is:
    - File bug reports in GNOME's bugzilla
    - Write an update tool that is generic and works in all desktop environments.

    Regards,
    Christoph
    Christoph Wickert
    Xfce and LXDE Maintainer at the FedoraProject

  8. #8
    Join Date
    Apr 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE

    Quote Originally Posted by jwmueller
    I just came across this post... while certainly not perfect, I'd created the following script to run in the XFCE4 genmon plugin every x seconds (set it in the genmon properties). I set it to 300 seconds, knowing there may be a lag before it shows OK after I complete running updates. Of course, it assumes the oxygen icons are installed.
    Would you be willing to stick a free licence on your script, in case anyone wants to run with it?

  9. #9
    Join Date
    Sep 2008
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE

    I have no problems with anyone using any information I post here.

    JW

  10. #10
    Join Date
    Oct 2005
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile Re: No PackageKit update notifications in XFCE

    New xfce4 user here.. just updated from F14 to F16, tried to give gnome 3.2 a decent chance, but it was not what I wanted, so I did what the other 4 workmates in the room have done - swap to xfce4. Im pretty happy with it, its dead simple... everything I need (configurable toolbars, and a couple of applets) and nothing more. But I too missed the update notification tool.

    So I created /usr/local/bin/genmon-yum.sh then made it executable, then yum install xfce4-genmon, then right click the panel handle -> add new items -> generic monitor. Then rightclick (genmon)XXX on the panel, pick properties, set command to genmon-yum.sh, uncheck label, set period to 10800 (im fine with 3 hourly checks) and it works well! It detected updates, and ran the right tool when clicked. Only downside is that it doesnt refresh autmatically when gpk-update-viewer exists. Still, thats good enough for now.

    Thanks JW for the script. Nice and simple, and exactly to the point! IMHO if genmon could be made to autorefresh on application close, it could be packaged as a lightweight xfce4 update viewer, with dependancys on the oxygen icons and xfce4-genmon-plugin.

  11. #11
    Join Date
    Sep 2008
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE

    FWIW, you can force a refresh by right-clicking your genmon item, clicking "properties", then "close" (no updates necessary). Just another trick I've discovered.

    jw

  12. #12
    Join Date
    Oct 2011
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE

    Best plugin ever

  13. #13
    Join Date
    Jan 2008
    Location
    Croatia
    Age
    45
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE


  14. #14
    Join Date
    Apr 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No PackageKit update notifications in XFCE

    Quote Originally Posted by alan_ri
    What about it.
    if you supplied some info it would be helpful.

Similar Threads

  1. [SOLVED]
    No notifications after today's update.
    By dd_wizard in forum Using Fedora
    Replies: 3
    Last Post: 27th May 2011, 08:55 AM
  2. yum update notifications
    By MrC in forum Using Fedora
    Replies: 0
    Last Post: 25th February 2009, 09:27 PM
  3. No update notifications
    By d0gf in forum Using Fedora
    Replies: 2
    Last Post: 27th September 2007, 11:18 AM
  4. No longer receiving update notifications
    By such007 in forum Using Fedora
    Replies: 0
    Last Post: 17th April 2007, 10:51 PM

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
  •