HP Linux Imaging and Printing

I’ve bought a cheap laptop HP 246 G6 recently. As expect, Fn + function keys are not working after installing Ubuntu 16.04 on it.

So below is the quick fix how to enable the Fn keys on this laptop which may work also on other HP essential laptops.

1. First open terminal either via Ctrl+Alt+T or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo -H gedit /etc/default/grub

Input your password (no visual feedback) when it prompts and hit Enter.

2. The command opens the grub configuration file with gedit text editor.

There find out the line says:


and change it into:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="

3. After saving the changes. Update grub bootloader via command and reboot:

sudo update-grub

4. If F1 to F12 function keys are working even without pressing Fn:

Restart and press F10 to go to BIOS, disable “Action Keys Mode” in System Configuration tab.

Yarock 1.3.1, a Qt audio player designed to provide an easy and pretty music collection browser based on cover art, was released a few hours ago with some bug-fixes.

The new release fixed Qt4 compile issue. The unofficial PPA now is maintaining the latest Yarock packages again for Ubuntu 16.04 LTS.

Bugs that are fixed in Yarock 1.3.1:

  • Fix Qt4 compile issue.
  • Fix that writing rating to file causes file corruption
  • Fix player tool bar save/restore
  • Fix playqueue track rating minor issue

Yarock Track View

How to Install Yarock 1.3.1 in Ubuntu:

The new release is available in PPA for Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04, and derivatives. Due to requirement of Qt5 >=5.6, Ubuntu 16.04 build is now compiled against Qt4.

1. Open terminal either via Ctrl+Alt+T or by searching for “terminal” from app launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

Input your password (no visual feedback while typing) when it prompts and hit Enter.

2. After adding the PPA, upgrade the player from an existing release with Software Updater.

Or run commands one by one in terminal to install it:

sudo apt-get update

sudo apt-get install yarock


To remove the PPA, launch “Software & Updates” utility and navigate to “Other Software” tab.

To remove Yarock music player, either use synaptic package manager or run command:

sudo apt-get remove --autoremove yarock

VLC media player reached new major 3.0 release a day ago. Now you can directly install the latest VLC in Ubuntu Software utility.

VLC 3.0 “Vetinari” features:

  • VLC 3.0 activates hardware decoding by default, to get 4K and 8K playback!
  • It supports 10bits and HDR
  • VLC supports 360 video and 3D audio, up to Ambisoncics 3rd order
  • Allows audio passthrough for HD audio codecs
  • Can stream to Chromecast devices, even in formats not supported natively
  • Can play Blu-Ray Java menus: BD-J
  • VLC supports browsing of local network drives and NAS

How to Install VLC 3.0 in Ubuntu:

VLC 3.0 is available as snap, the universal Linux app packaging format, for Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04.

Never installed a snap package? Ubuntu 16.04 (and Ubuntu 14.04, not sure if VLC snap works in 14.04. I don’t have trusty desktop running on may machine.) user need to install snapd daemon first.

Open terminal (Ctrl+Alt+T) and run command:

sudo apt-get install snapd snapd-xdg-open

Open Ubuntu Software utility, search for and install VLC, though there are two versions available.

As an alternative, you can run command in terminal to install the snap:

snap install vlc

The snap is kinda large in file size since it contains all required run-time libraries.

Uninstall traditional VLC package:

If you’ve a previous version of VLC media player installed, you’ll have two launcher icons and two VLC options in video files’ open with menu.

So you may want to remove the old traditional VLC package via Synaptic Package Manager, Ubuntu Software, or by running command:

sudo apt-get remove --autoremove vlc

LibreOffice 5.3.4

LibreOffice office suite reached the 6.0 release more than a week ago. Now it’s finally made into LibreOffice Fresh PPA for Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04.

Though LibreOffice offers .deb binaries for downloading in its website, it’s recommended to install the PPA packages which are well integrated with Ubuntu desktop.

LibreOffice 6.0 release highlights:

  • Better compatibility with Microsoft Office documents
  • Support for standards-compliant PDF forms within Writer
  • Experimental Notebookbar and other user-interface improvements
  • OpenPGP can now be used to sign ODF documents
  • OOXML interoperability improvements
  • Ability to save documents as ePub ebook files
  • And many more other changes, see the announcement for details.

How to Install LibreOffice 6.0 via PPA in Ubuntu:

Open terminal either via Ctrl+Alt+T keyboard shortcuts, or by searching for “terminal” from application launcher. When it opens, do:

1. Run command to add the LibreOffice Fresh PPA:

sudo add-apt-repository ppa:libreoffice/ppa

Input your password (no visual feedback while typing) when it prompts, and read terminal output for PPA description and hit Enter to continue.

LibreOffice PPA

2. Then you’ll see the upgrade available in Software Updater after checking for updates.

The LibreOffice upgrading process may be kept back. If so, run following commands instead in terminal after added the PPA:

sudo apt-get update

sudo apt-get dist-upgrade


You can restore to stock version of LibreOffice in Ubuntu main archive by running command in terminal:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:libreoffice/ppa

Visual Studio Code IDE

Visual Studio Code reached the 1.20 release a few days ago. Here’s how to install it in Ubuntu.

Visual Studio Code 1.20 release highlights:

  • Explorer multi-selection – Perform actions on multiple files at once.
  • Improved Settings search – Easily find the right setting with natural language search.
  • Errors & warnings in Explorer – Quickly navigate to errors in your code base.
  • Save large and protected files – Save Admin protected and >256M files within VS Code.
  • Git submodule support – Perform Git operations on nested Git repositories.
  • Global snippets – Create snippets you can use across all file types.
  • Image preview zoom – Zoom in and out of images with your mouse, scroll wheel or track pad.
  • Terminal screen reader support – Integrated Terminal now has “Screen Reader Optimized” mode
  • Debugging support for multi-root workspaces – Manage configurations across multiple projects.
  • Quick Fix all for JavaScript/TypeScript – Apply the same Quick Fix to all occurrences in a file.
  • New Node.js deployment tutorials – Deploy your Node.js app with Docker or Azure App Service.

How to Install VS Code 1.20 in Ubuntu:

The official .deb package for Debian/Ubuntu is available for download at the link below:

Download VS Code (.deb)

Grab the deb and install it via either Gdebi package manager or command (Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install
Visual Studio also available as snap package, you can easily install it via this tutorial.

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2. Download and install the repository key via commands:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.