Pages

Wednesday, March 8, 2017

Fedora 25: Enable gnome notifications Fedmsg and Openweather.

This tutorial is about gnome environment and notifications.
If you want to see notifications about your work and account under Fedora distro or just to see the weather then you need to deal with this tools.
Take a look to your gnome version and shell version:
[mythcat@localhost ~]$ gnome-about --gnome-version 
Version: 2.32.0
Distributor: Red Hat, Inc
Build Date: 02/04/2016
[mythcat@localhost ~]$ gnome-shell --version 
GNOME Shell 3.22.3
Use the dnf install tool and get this packages:
gnome-weather.noarch : A weather application for GNOME
gnome-weather-tests.noarch : Tests for the gnome-weather package
gnome-shell-extension-openweather.noarch : Display weather information from many
gnome-shell-extension-apps-menu.noarch : Application menu for GNOME Shell
gnome-shell.x86_64 : Window management and application launching for GNOME
gnome-shell-extension-common.noarch : Files common to GNOME Shell Extensions
gnome-tweak-tool.noarch : A tool to customize advanced GNOME 3 options
Use this command to make settings:
[mythcat@localhost ~]$ gnome-tweak-tool
You will see a window with options for enable Fedmsg and Openweather notifications.
After select on option then just use right click to make settings for each extension.

Fedora 25: Install the ffmpeg tools .

Install from web the repos rpmfusion using root account:
# dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
[root@localhost]# dnf install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Now with enable the repo all rpmfusion list ffmpeg:
# yum --enablerepo=rpmfusion-* list ffmpeg
Redirecting to '/usr/bin/dnf --enablerepo=rpmfusion-* list ffmpeg' (see 'man yum2dnf')

RPM Fusion for Fedora 25 - Free - Test Updates 1.3 kB/s | 1.9 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Updates S 4.8 kB/s | 7.0 kB     00:01    
RPM Fusion for Fedora 25 - Free - Updates Debu 185 kB/s | 331 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Test Upda 1.7 kB/s | 2.7 kB     00:01    
RPM Fusion for Fedora Rawhide - Nonfree         91 kB/s | 157 kB     00:01    
RPM Fusion for Fedora Rawhide - Free - Debug   280 kB/s | 521 kB     00:01    
RPM Fusion for Fedora 25 - Free - Source        58 kB/s |  95 kB     00:01    
RPM Fusion for Fedora 25 - Free - Test Updates 9.7 kB/s |  16 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Updates D 3.8 kB/s | 5.6 kB     00:01    
RPM Fusion for Fedora Rawhide - Nonfree - Sour  24 kB/s |  37 kB     00:01    
RPM Fusion for Fedora 25 - Free - Updates Sour 143 kB/s |  30 kB     00:00    
RPM Fusion for Fedora 25 - Nonfree             525 kB/s | 144 kB     00:00    
RPM Fusion for Fedora Rawhide - Free           1.1 MB/s | 531 kB     00:00    
RPM Fusion for Fedora 25 - Free - Test Updates  23 kB/s | 3.6 kB     00:00    
RPM Fusion for Fedora 25 - Nonfree - Updates    13 kB/s |  19 kB     00:01    
RPM Fusion for Fedora Rawhide - Free - Source   58 kB/s |  97 kB     00:01    
RPM Fusion for Fedora 25 - Free - Debug        879 kB/s | 380 kB     00:00    
RPM Fusion for Fedora 25 - Nonfree - Debug      41 kB/s |  69 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Test Upda 1.7 kB/s | 2.6 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Source     22 kB/s |  34 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Test Upda 5.4 kB/s | 8.5 kB     00:01    
RPM Fusion for Fedora Rawhide - Nonfree - Debu 241 kB/s |  70 kB     00:00    
RPM Fusion for Fedora 25 - Free - Updates      154 kB/s | 254 kB     00:01    
RPM Fusion for Fedora 25 - Free                288 kB/s | 515 kB     00:01    
Available Packages
ffmpeg.src               3.2.4-1.fc26             rpmfusion-free-rawhide-source
ffmpeg.x86_64            3.2.4-1.fc26             rpmfusion-free-rawhide
Then install ffmpeg:
[root@localhost]# yum --enablerepo=rpmfusion-* install ffmpeg.x86_64
Redirecting to '/usr/bin/dnf --enablerepo=rpmfusion-* install ffmpeg.x86_64' (see 'man yum2dnf')

Last metadata expiration check: 0:00:26 ago on Tue Mar  7 23:40:51 2017.
Dependencies resolved.
===============================================================================
 Package      Arch   Version                      Repository              Size
===============================================================================
Installing:
 ffmpeg       x86_64 3.2.4-1.fc26                 rpmfusion-free-rawhide 1.5 M
 ffmpeg-libs  x86_64 3.2.4-1.fc26                 rpmfusion-free-rawhide 6.2 M
 fribidi      x86_64 0.19.7-2.fc24                fedora                  70 k
 lame-libs    x86_64 3.99.5-6.fc26                rpmfusion-free-rawhide 344 k
 libass       x86_64 0.13.4-1.fc25                fedora                  95 k
 libavdevice  x86_64 3.2.4-1.fc26                 rpmfusion-free-rawhide  83 k
 libmfx       x86_64 1.19-1.20170114gita5ba231.fc25
                                                  updates                 33 k
 libva        x86_64 1.7.3-3.fc25                 updates                 89 k
 ocl-icd      x86_64 2.2.11-1.fc25                updates                 46 k
 opencore-amr x86_64 0.1.3-4.fc24                 rpmfusion-free-rawhide 176 k
 schroedinger x86_64 1.0.11-10.fc24               fedora                 325 k
 vo-amrwbenc  x86_64 0.1.3-1.fc24                 rpmfusion-free-rawhide  76 k
 x264-libs    x86_64 0.148-15.20170121git97eaef2.fc26
                                                  rpmfusion-free-rawhide 574 k
 x265-libs    x86_64 2.2-1.fc26                   rpmfusion-free-rawhide 586 k
 xvidcore     x86_64 1.3.4-2.fc24                 rpmfusion-free-rawhide 262 k

Transaction Summary
===============================================================================
Install  15 Packages

Total download size: 10 M
Installed size: 28 M
Is this ok [y/N]: y
Downloading Packages:
(1/15): x265-libs-2.2-1.fc26.x86_64.rpm        780 kB/s | 586 kB     00:00    
(2/15): ffmpeg-3.2.4-1.fc26.x86_64.rpm         1.6 MB/s | 1.5 MB     00:00    
(3/15): libass-0.13.4-1.fc25.x86_64.rpm        294 kB/s |  95 kB     00:00    
(4/15): fribidi-0.19.7-2.fc24.x86_64.rpm       137 kB/s |  70 kB     00:00    
(5/15): libmfx-1.19-1.20170114gita5ba231.fc25. 418 kB/s |  33 kB     00:00    
(6/15): libva-1.7.3-3.fc25.x86_64.rpm          915 kB/s |  89 kB     00:00    
(7/15): schroedinger-1.0.11-10.fc24.x86_64.rpm 1.3 MB/s | 325 kB     00:00    
(8/15): ocl-icd-2.2.11-1.fc25.x86_64.rpm       401 kB/s |  46 kB     00:00    
(9/15): ffmpeg-libs-3.2.4-1.fc26.x86_64.rpm    3.8 MB/s | 6.2 MB     00:01    
(10/15): lame-libs-3.99.5-6.fc26.x86_64.rpm    2.1 MB/s | 344 kB     00:00    
(11/15): opencore-amr-0.1.3-4.fc24.x86_64.rpm  1.1 MB/s | 176 kB     00:00    
(12/15): vo-amrwbenc-0.1.3-1.fc24.x86_64.rpm   656 kB/s |  76 kB     00:00    
(13/15): xvidcore-1.3.4-2.fc24.x86_64.rpm      1.9 MB/s | 262 kB     00:00    
(14/15): x264-libs-0.148-15.20170121git97eaef2 2.7 MB/s | 574 kB     00:00    
(15/15): libavdevice-3.2.4-1.fc26.x86_64.rpm   694 kB/s |  83 kB     00:00    
-------------------------------------------------------------------------------
Total                                          2.2 MB/s |  10 MB     00:04     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : libva-1.7.3-3.fc25.x86_64                                 1/15 
  Installing  : libmfx-1.19-1.20170114gita5ba231.fc25.x86_64              2/15 
  Installing  : ocl-icd-2.2.11-1.fc25.x86_64                              3/15 
  Installing  : fribidi-0.19.7-2.fc24.x86_64                              4/15 
  Installing  : libass-0.13.4-1.fc25.x86_64                               5/15 
  Installing  : xvidcore-1.3.4-2.fc24.x86_64                              6/15 
  Installing  : x264-libs-0.148-15.20170121git97eaef2.fc26.x86_64         7/15 
  Installing  : vo-amrwbenc-0.1.3-1.fc24.x86_64                           8/15 
  Installing  : opencore-amr-0.1.3-4.fc24.x86_64                          9/15 
  Installing  : lame-libs-3.99.5-6.fc26.x86_64                           10/15 
  Installing  : schroedinger-1.0.11-10.fc24.x86_64                       11/15 
  Installing  : x265-libs-2.2-1.fc26.x86_64                              12/15 
  Installing  : ffmpeg-libs-3.2.4-1.fc26.x86_64                          13/15 
  Installing  : libavdevice-3.2.4-1.fc26.x86_64                          14/15 
  Installing  : ffmpeg-3.2.4-1.fc26.x86_64                               15/15 
  Verifying   : ffmpeg-3.2.4-1.fc26.x86_64                                1/15 
  Verifying   : ffmpeg-libs-3.2.4-1.fc26.x86_64                           2/15 
  Verifying   : x265-libs-2.2-1.fc26.x86_64                               3/15 
  Verifying   : fribidi-0.19.7-2.fc24.x86_64                              4/15 
  Verifying   : libass-0.13.4-1.fc25.x86_64                               5/15 
  Verifying   : schroedinger-1.0.11-10.fc24.x86_64                        6/15 
  Verifying   : libmfx-1.19-1.20170114gita5ba231.fc25.x86_64              7/15 
  Verifying   : libva-1.7.3-3.fc25.x86_64                                 8/15 
  Verifying   : ocl-icd-2.2.11-1.fc25.x86_64                              9/15 
  Verifying   : lame-libs-3.99.5-6.fc26.x86_64                           10/15 
  Verifying   : opencore-amr-0.1.3-4.fc24.x86_64                         11/15 
  Verifying   : vo-amrwbenc-0.1.3-1.fc24.x86_64                          12/15 
  Verifying   : x264-libs-0.148-15.20170121git97eaef2.fc26.x86_64        13/15 
  Verifying   : xvidcore-1.3.4-2.fc24.x86_64                             14/15 
  Verifying   : libavdevice-3.2.4-1.fc26.x86_64                          15/15 

Installed:
  ffmpeg.x86_64 3.2.4-1.fc26                                                   
  ffmpeg-libs.x86_64 3.2.4-1.fc26                                              
  fribidi.x86_64 0.19.7-2.fc24                                                 
  lame-libs.x86_64 3.99.5-6.fc26                                               
  libass.x86_64 0.13.4-1.fc25                                                  
  libavdevice.x86_64 3.2.4-1.fc26                                              
  libmfx.x86_64 1.19-1.20170114gita5ba231.fc25                                 
  libva.x86_64 1.7.3-3.fc25                                                    
  ocl-icd.x86_64 2.2.11-1.fc25                                                 
  opencore-amr.x86_64 0.1.3-4.fc24                                             
  schroedinger.x86_64 1.0.11-10.fc24                                           
  vo-amrwbenc.x86_64 0.1.3-1.fc24                                              
  x264-libs.x86_64 0.148-15.20170121git97eaef2.fc26                            
  x265-libs.x86_64 2.2-1.fc26                                                  
  xvidcore.x86_64 1.3.4-2.fc24                                                 

Complete!
[root@localhost]#
Just test te ffmpeg tools.