Linux Kernel

Linus Torvalds finally announced the release of the Linux Kernel 4.7. He wrote on lkml.org:

So, after a slight delay due to my travels, I’m back, and 4.7 is out.

Despite it being two weeks since rc7, the final patch wasn’t all that big, and much of it is trivial one- and few-liners. There’s a couple of network drivers that got a bit more loving. Appended is the shortlog since rc7 for people who care: it’s fairly spread out, with networking and some intel Kabylake GPU fixes being the most noticeable ones. But there’s random small noise spread all over.

Kernel 4.7 release highlights:

  • open source support for Radeon RX 480 GPUs
  • async discard support by the core block code
  • support for upgrading firmware using the EFI Capsule
  • New Linux Security Module (LSM) “LoadPin”
  • support for generating virtual USB Device Controllers in USB/IP
  • numerous drivers updates and lots of bug-fixes.

How to Install / Upgrade Kernel 4.7 in Ubuntu:

Not recommended for common users, unless there’s must upgrade reasons and you know exactly what you’re doing and how to solve problems.

Ubuntu Kernel Team has made the binary packages for the new kernel release, available for download at the link below:

Download Kernel 4.7 Packages [.deb]

Depends on your OS type, grab and install the packages below one by one:

  1. linux-headers-4.7.0-xxxxxx_all.deb
  2. linux-headers-4.7.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-image-4.7.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system and i386 for 32bit system.

You may also download these .deb packages in terminal / command console by running following commands one by one:

For 64-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700_4.7.0-040700.201607241632_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-image-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb

sudo dpkg -i *.deb

For 32bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700_4.7.0-040700.201607241632_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700-generic_4.7.0-040700.201607241632_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-image-4.7.0-040700-generic_4.7.0-040700.201607241632_i386.deb

sudo dpkg -i *.deb

Finally restart your computer.

Uninstall Kernel 4.7:

For any reason you want to remove this Kernel, start/restart your machine and select boot with the previous kernel in Grub2 -> Advanced menu. Then remove the 4.7 kernel via Ubuntu Tweak, or just follow this tutorial.

Battery Monitor

Battery Monitor is a simple tool written in Python3 and PyGTK3. It notifies battery status of charging, discharging, fully charged through desktop notifications. When the battery is below 10%, it plays a sound and pops up a notification bubble.

No command typing on terminal, no extra indicator, the tool just pop notifications when the battery status changes.

Battery charging battery discharging
battery is fully charged battery low

How to Install Battery Monitor in Ubuntu:

1. Use PPA.

Open terminal (Ctrl+Alt+T) and run the commands below one by one to install it from the PPA:

sudo add-apt-repository ppa:maateen/battery-monitor

sudo apt update

sudo apt install battery-monitor

So far, Ubuntu 16.04 and Ubuntu 14.04 are supported.

2. For those who don’t want to add PPA, grab the .deb installer from the release page.

Once installed, launch the tool via command battery-monitor for the first time. Or just restart, it will start in background automatically at login.

NOTE: The software is in very earlier stage, it may have bugs. Report issues and ask requests at https://github.com/maateen/battery-monitor/issues

To uninstall it, just run command:

sudo apt remove battery-monitor

And remove the PPA if added via Software & Updates -> Other Software tab.

Ubuntu 16.04.1

The first point release of Ubuntu 16.04 LTS was released today with so many fixes, improvements, and Kernel and hardware support updates.

Updated CD images for Ubuntu 16.04.1 are available for download, including fixes for many hardware-specific bugs.

According to the change summary, Ubuntu 16.04.1 brings:

  • Some apt, systemd, dpkg and xinit bugs has been fixed in this release to fix upgrade issues.
  • some LibreOffice crash fixes.
  • Lots of fixes and improvements to Gnome Software (Ubuntu Software)
  • Enable the Snappy back-end for Gnome Software (Ubuntu Software)
  • Many many fixes to Unity, Unity Settings Daemon, compiz, lightdm display manager, oxide-qt browser engine, etc.
  • See the change summary for more details.

How to Upgrade to Ubuntu 16.04.1:

For Ubuntu 16.04, running a regular system update using Software Updater will bring you to Ubuntu 16.04.1.

update-ubuntu

Or run commands in terminal via:

sudo apt update && sudo apt upgrade

For Ubuntu 15.10 and Ubuntu 14.04, you may follow this guide to upgrade to 16.04.1.

You can upgrade directly from 14.04 to 16.04.1. Just make sure you have selected to notify LTS only in Software & Updates settings:

notify-lts

Cumulus Desktop Weather App

StormCloud, a stylish desktop weather app, now is resurrected! And it’s called Cumulus.

Cumulus is forked from Typhoon which is a community version forked from StormCloud 1.1. While Typhoon is not in active development, Daryl Bennett resurrect the weather app with the help of Typhoon developer in their spare time and its Cumulus.

Cumulus so far features:

  • temperature & wind speed support.
  • custom background color
  • adjust opacity
  • Unity Launch count that shows current temperature.

Cumulus weather app settings

cumulus

Known Bugs:

  • There are a few grey clouds spoiling an otherwise bright first run, including some opacity issues on first-run, dead links, broken support pages, and credits panel that credits the old developers.
  • Cumulus so far does not save location settings.

Download Cumulus:

The 64-bit .deb installer is available in the link below (PPA and snap package may be available in near future):

Download Cumulus Desktop Weather App

Click install the .deb package via Ubuntu Software and launch Cumulus from Unity Dash.

For those who have problem launching the app, try the command below to install gir1.2-webkit-3.0 in terminal (Ctrl+Alt+T):

sudo apt install gir1.2-webkit-3.0

via: OMG!Ubuntu!

MPV media player logo

MPV is a free and open-source media player forked from MPlayer2. It was started to modernize MPlayer by adding modern features, and removing unmaintainable code and dropping support for very old systems.

MPV uses FFmpeg or Libav for decoding, it can be used as a library in other applications (e.g., SMPlayer, and Gnome MPV).

Notable changes from MPlayer:

  • Through youtube-dl, MPV natively supports playback of HD content on YouTube and over 300 other supported sites.
  • include customizable video output driver based on OpenGL that supports for controlling playback quality
  • MPV can be used directly by other applications through a library interface called libmpv.
  • a new video encoding mode that can save playing files under different formats.

MPV

How to Install MPV in Ubuntu:

MPV is available in official Ubuntu repositories, but it’s old and Canonical does not provide updates for it. Besides building from the source code, you can install the latest version from this PPA.

1. To add PPA, open terminal (Ctrl+Alt+T) and run the command:

sudo add-apt-repository ppa:mc3man/mpv-tests

mpv-ppa

2. Then upgrade Mpv using Software Updater or just run the command in terminal to install/upgrade it:

sudo apt update && sudo apt install mpv

3. (Optional) To remove the PPA, go to Software & Updates -> Other Software tab. And remove mpv via command:

sudo apt remove mpv && sudo apt autoremove