Fedora Linux Support Community & Resources Center
  #1  
Old 8th August 2016, 07:35 PM
kikom2369 Offline
Registered User
 
Join Date: Apr 2016
Location: Brasil
Posts: 16
linuxubuntuchrome
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?
__________________
Fedora Mate 25
HP Desktop > Intel DualCore E5300@2.6 GHz > 2 GB Ram

Last edited by kikom2369; 9th August 2016 at 02:46 PM.
Reply With Quote
  #2  
Old 8th August 2016, 09:08 PM
nonamedotc Offline
Mithrandir
 
Join Date: Mar 2011
Location: /
Posts: 4,986
linuxfedorafirefox
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 24 x86_64 XFCE - Sager | Intel Core i7 - 4810 MQ | NVIDIA GeForce GTX 860M | 16 GB RAM | 480 GB ADATA SSD |
CentOS 7.2.1511 x86_64 Server - Thinkpad T520 | Intel Core i7 - 2630 QM | NVIDIA NVS 4200M | 16 GB RAM | 500 GB 7200 RPM HDD |


The Linux Documentation Project | Fedora Documentation
Reply With Quote
  #3  
Old 8th August 2016, 11:57 PM
jwmueller Offline
Registered User
 
Join Date: Sep 2008
Posts: 176
linuxchrome
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.
Reply With Quote
  #4  
Old 9th August 2016, 12:25 AM
nonamedotc Offline
Mithrandir
 
Join Date: Mar 2011
Location: /
Posts: 4,986
linuxfedorafirefox
Re: Automatic updates in Fedora 24 Xfce

Quote:
Originally Posted by jwmueller View Post
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 24 x86_64 XFCE - Sager | Intel Core i7 - 4810 MQ | NVIDIA GeForce GTX 860M | 16 GB RAM | 480 GB ADATA SSD |
CentOS 7.2.1511 x86_64 Server - Thinkpad T520 | Intel Core i7 - 2630 QM | NVIDIA NVS 4200M | 16 GB RAM | 500 GB 7200 RPM HDD |


The Linux Documentation Project | Fedora Documentation
Reply With Quote
  #5  
Old 9th August 2016, 02:43 PM
kikom2369 Offline
Registered User
 
Join Date: Apr 2016
Location: Brasil
Posts: 16
windows_7firefox
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.
__________________
Fedora Mate 25
HP Desktop > Intel DualCore E5300@2.6 GHz > 2 GB Ram

Last edited by kikom2369; 9th August 2016 at 02:49 PM.
Reply With Quote
  #6  
Old 9th August 2016, 03:28 PM
jwmueller Offline
Registered User
 
Join Date: Sep 2008
Posts: 176
linuxchrome
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
Reply With Quote
  #7  
Old 9th August 2016, 03:35 PM
jwmueller Offline
Registered User
 
Join Date: Sep 2008
Posts: 176
linuxchrome
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.
Reply With Quote
  #8  
Old 9th August 2016, 04:06 PM
kikom2369 Offline
Registered User
 
Join Date: Apr 2016
Location: Brasil
Posts: 16
windows_7firefox
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 ?
__________________
Fedora Mate 25
HP Desktop > Intel DualCore E5300@2.6 GHz > 2 GB Ram

Last edited by kikom2369; 9th August 2016 at 04:17 PM.
Reply With Quote
  #9  
Old 9th August 2016, 05:42 PM
jwmueller Offline
Registered User
 
Join Date: Sep 2008
Posts: 176
linuxchrome
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.
Reply With Quote
  #10  
Old 9th August 2016, 06:00 PM
kikom2369 Offline
Registered User
 
Join Date: Apr 2016
Location: Brasil
Posts: 16
windows_7chrome
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
Reply With Quote
  #11  
Old 11th October 2016, 06:53 PM
User808 Offline
Registered User
 
Join Date: Aug 2016
Location: Iraq
Posts: 646
linuxfedorafirefox
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.
Reply With Quote
  #12  
Old 11th October 2016, 07:06 PM
kikom2369 Offline
Registered User
 
Join Date: Apr 2016
Location: Brasil
Posts: 16
linuxubuntufirefox
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
Reply With Quote
Reply

Tags
automatic, fedora, updates, xfce

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Fedora 16 do automatic system updates? foampile EOL (End Of Life) Versions 4 23rd March 2013 11:03 PM
[SOLVED] How to disable automatic updates in Fedora 18? duende Using Fedora 3 6th February 2013 02:16 PM
Fedora 16 Automatic Software Updates CaperUser Using Fedora 6 7th January 2012 04:51 AM
Getting Automatic Package Updates in XFCE Spin Unparallelogram Using Fedora 0 6th August 2011 05:02 AM
How can I disable automatic updates in Fedora 10? joe.pelayo Using Fedora 9 27th February 2010 12:32 AM


Current GMT-time: 08:46 (Thursday, 24-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat