FedoraForum.org - Fedora Support Forums and Community
Results 1 to 12 of 12
  1. #1
    Join Date
    Apr 2016
    Location
    Brasil
    Posts
    16

    Automatic updates in Fedora 24 Xfce

    Hello everyone.
    I wonder if in Fedora 24 Xfce is made Updates Automatically with notifications, so I know the Fedora Gnome when there are updates, notification appears on the desktop showing that it has new updates.
    But Fedora Xfce happens that too?
    Last edited by kikom2369; 9th August 2016 at 02:46 PM.
    Fedora Mate 25
    HP Desktop > Intel DualCore E5300@2.6 GHz > 2 GB Ram

  2. #2
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,113

    Re: Automatic updates in Fedora 24 Xfce

    No. In Xfce, you would have to update manually. You can use yumex as a GUI for updates but as far as I know it does not have update notification.

    But, there is a way to make updates automatic using dnf-automatic. I am not sure if you are interested in that though.
    Fedora 27 x86_64 XFCE - Sager | Intel Core i7 - 4810 MQ | NVIDIA GeForce GTX 860M | 16 GB RAM | 480 GB ADATA SSD |
    Fedora 27 x86_64 XFCE - Dell Precision M4800 | Intel Core i7 - 4900 MQ | NVIDIA Quadro K1100M | 16 GB RAM | 750 GB 7200 RPM HDD |


    The Linux Documentation Project | Fedora Documentation

  3. #3
    Join Date
    Sep 2008
    Posts
    176

    Re: Automatic updates in Fedora 24 Xfce

    If you're looking for notification in Xfce that updates are available, check my posting history (is that possible?). Some time back I provided a genmon script that will check for them and put up an alert icon. Might need to be updated for dnf.

  4. #4
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,113

    Re: Automatic updates in Fedora 24 Xfce

    Quote Originally Posted by jwmueller
    If you're looking for notification in Xfce that updates are available, check my posting history (is that possible?). Some time back I provided a genmon script that will check for them and put up an alert icon. Might need to be updated for dnf.

    Are you talking about this? link to genmon script
    Fedora 27 x86_64 XFCE - Sager | Intel Core i7 - 4810 MQ | NVIDIA GeForce GTX 860M | 16 GB RAM | 480 GB ADATA SSD |
    Fedora 27 x86_64 XFCE - Dell Precision M4800 | Intel Core i7 - 4900 MQ | NVIDIA Quadro K1100M | 16 GB RAM | 750 GB 7200 RPM HDD |


    The Linux Documentation Project | Fedora Documentation

  5. #5
    Join Date
    Apr 2016
    Location
    Brasil
    Posts
    16

    Re: Automatic updates in Fedora 24 Xfce

    @nonamedotc, thank all the answers.
    We update Fedora with yumex and with the command:
    dnf update

    @jwmueller, thank you for the script, but as I am starting in Fedora have trouble doing this, but thank you.
    Last edited by kikom2369; 9th August 2016 at 02:49 PM.
    Fedora Mate 25
    HP Desktop > Intel DualCore E5300@2.6 GHz > 2 GB Ram

  6. #6
    Join Date
    Sep 2008
    Posts
    176

    Re: Automatic updates in Fedora 24 Xfce

    That's the script. A missing piece for you might be that a genmon (generic monitor) plugin (package xfce4-genmon-plugin, not installed by default) is a panel plugin that lets you create your own scripts to provide information and interaction via items on the xfce panel (toolbar? along the top, bottom, or side of your screen). Install the plugin, add a "generic monitor" item on the xfce panel, select properties, point it to your script, set a repeat interval, update/remove the label text as desired.

    Since I originally posted that script it should be updated with these changes: 1) since dnf seems to take longer then yum did, set the interval to 30 or 60 minutes (1800 or 3600 seconds in the genmon properties), 2) use this updated script... which reflects the "dnf" command and new locations for the oxygen icons ("base" has been added to the middle of the directory path during some update). If needed, the oxygen icons are provided with package oxygen-icon-theme.

    #!/bin/bash

    updates=$( dnf check-update )

    if [ $? = 100 ]
    then
    echo -e "<img>/usr/share/icons/oxygen/base/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/base/22x22/actions/dialog-ok.png</img>"
    echo -e "<tool>all updates applied</tool>"
    echo -e "<click>gpk-update-viewer</click>"


    It displays a blue checkmark if there are no updates. It will alert you with a (!) icon when there are updates available. You can then use yumex as normal to actually install the updates.

    jw

  7. #7
    Join Date
    Sep 2008
    Posts
    176

    Re: Automatic updates in Fedora 24 Xfce

    and... you could change the 2 references of "gpk-update-viewer" to "yumex". Then, clicking the icon will launch yumex for you, if that's your preference.

  8. #8
    Join Date
    Apr 2016
    Location
    Brasil
    Posts
    16

    Re: Automatic updates in Fedora 24 Xfce

    The script is very interesting.
    But I have to open that file to make these changes ?
    How I Do ?
    Which file I change ?
    Last edited by kikom2369; 9th August 2016 at 04:17 PM.
    Fedora Mate 25
    HP Desktop > Intel DualCore E5300@2.6 GHz > 2 GB Ram

  9. #9
    Join Date
    Sep 2008
    Posts
    176

    Re: Automatic updates in Fedora 24 Xfce

    It's not a file to update... it's creating an applet that runs on your Xfce panel/toolbar.

    It does sound like this is a little beyond your abilities at this time so I would recommend you just check via yumex for available maintenance every few days or every week. After you spend more time with Xfce features you might want to revisit this.

  10. #10
    Join Date
    Apr 2016
    Location
    Brasil
    Posts
    16

    Re: Automatic updates in Fedora 24 Xfce

    Ok, I will continue updating with Yumex every week.
    I am user Linux / Ubuntu 5 years ago, but with Fedora have little time.
    Anyway these tips have been very useful.
    Thank you.
    Fedora Mate 25
    HP Desktop > Intel DualCore E5300@2.6 GHz > 2 GB Ram

  11. #11
    Join Date
    Aug 2016
    Location
    Iraq
    Posts
    785

    Re: Automatic updates in Fedora 24 Xfce

    Yum extender (DNF) has option for automatic checking for availability of updates at interval you decide.

    Open Yum extender (DNF), go for setting, select preferences, from that select "Update checker" tab, & here activate option & determine time interval as you wish.

    Best.

  12. #12
    Join Date
    Apr 2016
    Location
    Brasil
    Posts
    16

    Re: Automatic updates in Fedora 24 Xfce

    Thank you for the tips.
    Hugs.
    Fedora Mate 25
    HP Desktop > Intel DualCore E5300@2.6 GHz > 2 GB Ram

Similar Threads

  1. Does Fedora 16 do automatic system updates?
    By foampile in forum EOL (End Of Life) Versions
    Replies: 4
    Last Post: 23rd March 2013, 11:03 PM
  2. [SOLVED]
    How to disable automatic updates in Fedora 18?
    By duende in forum Using Fedora
    Replies: 3
    Last Post: 6th February 2013, 02:16 PM
  3. Fedora 16 Automatic Software Updates
    By CaperUser in forum Using Fedora
    Replies: 6
    Last Post: 7th January 2012, 04:51 AM
  4. Getting Automatic Package Updates in XFCE Spin
    By Unparallelogram in forum Using Fedora
    Replies: 0
    Last Post: 6th August 2011, 05:02 AM
  5. How can I disable automatic updates in Fedora 10?
    By joe.pelayo in forum Using Fedora
    Replies: 9
    Last Post: 27th February 2010, 12:32 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
  •