Archives For Howtos

The latest Mesa 3D graphics library 18.1.1 now can be easily installed in Ubuntu 18.04 LTS via PPA.

For those sticking to the open-source drivers and need graphics performance improvements (e.g. for playing games), Canonical’s Timo Aaltonen has pushed Mesa 18.1.1 in the x-updates PPA.

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

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Type your password (no asterisks while typing due to security reason) when it prompts and hit Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system repositories.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates

gnome shell

Ubuntu used to show media playback controls in the Sound menu of system tray. The functionality has been removed since Ubuntu switched to Gnome Desktop.

In Ubuntu 18.04, you can easily re-enable the feature via a Gnome Shell extension called Media Player Indicator.

1. To install the extension, open Ubuntu Software, search for and install Media Player Indicator:

Once installed, all MPRIS Version 2 capable media players, including VLC, SMPlayer, Audacious, Clementine, Rhythmbox, and more, will be listed in the system tray menu after you launched the media players.

2. To configure the Gnome extension, launch the settings via either Ubuntu Software or Gnome Tweak Tool:

MKVToolNix 24.0.0, free and open-source Matroska software, was released 2 days ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 16.04, Ubuntu 17.10.

MKVToolNix 24.0.0 “Beyond The Pale” release highlights:

  • mkvmerge: MP4 reader: improved the detection of edit lists consisting of two identical entries, each spanning the file’s duration as given in the movie header atom.
  • mkvmerge: JSON identification: the “display unit” video track property is now reported as ‘display_unit’.
  • mkvmerge, mkvextract: AVC/h.264: empty NALUs will now be removed.
  • mkvextract: VobSub extraction: empty SPU packets will now be dropped during extraction
  • mkvmerge: E-AC-3 parser: fixed determining the number of channels for streams that contain an AC-3 core with dependent E-AC-3 frames.
  • Updated Niels Lohmann’s JSON library to v3.1.1.
  • Updated pugixml library to v1.9.
  • Various bug-fixes.

How to Install MKVToolNix 24.0.0 in Ubuntu:

The official apt repository offers the latest packages for Ubuntu 16.04, Ubuntu 17.10, and Ubuntu 18.04 so far.

Open terminal via Ctrl+Alt+T or by searching it from app launcher. When it opens, do following steps:

1. Run command to add the repository:

sudo sh -c 'echo "deb http://mkvtoolnix.download/ubuntu/ $(lsb_release -sc) main" >> /etc/apt/sources.list.d/bunkus.org.list'

Replace $(lsb_release -sc) with xenial for Linux Mint 18.x. And input your password (no visual feedback while typing) when it prompts and hit Enter.

2. Then install the key:

wget -q -O - https://mkvtoolnix.download/gpg-pub-moritzbunkus.txt | sudo apt-key add -

3. Finally either upgrade the software via Software Updater (Update Manager):

or run command to install the software packages:

sudo apt-get update

sudo apt-get install mkvtoolnix mkvtoolnix-gui

Uninstall:

To remove the repository, launch Software & Updates utility and navigate to Other Software tab.

To remove MKVToolNix, use Synaptic Package Manager or run following command:

sudo apt-get remove --autoremove mkvtoolnix mkvtoolnix-gui

HP Linux Imaging and Printing

A new monthly release of HPLIP, HP developed Linux drivers for HP inkjet and laser based printers, was announced earlier today.

HPLIP 3.18.6 is a small release that only adds 3 new printers support:

  • HP DesignJet Z6810 42in PostScript
  • HP DesignJet Z6810 60in PostScript
  • HP DesignJet Z6610 60in PostScript

Download / Install HPLIP 3.18.6 in Ubuntu:

To install the software, download the package “hplip-3.18.6.run” from the link below:

HPLIP Download Page

Then open terminal via Ctrl+Alt+T or search for “terminal” from app launcher. When it opens, run command:

cd ~/Downloads/ && chmod +x hplip-3.18.6.run && ./hplip-3.18.6.run

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

Then follow the terminal outputs, answer some questions to build and install HPLIP on your system. When everything is done, plug/re-plug your printers and enjoy!

For those who are still sticking to the Scribus 1.4 stable series, here’s how to install the latest stable Scribus 1.4.7 in Ubuntu 18.04, Ubuntu 17.10, Ubuntu 16.04, and/or Ubuntu 14.04.

Scribus 1.4.7 was announced a few weeks ago along with the 1.5.4 preview release:

“Scribus 1.4.7 is almost exclusively a bugfixing and update release and will be the last iteration of the Scribus 1.4.x line. All future development efforts will go into the upcoming new stable version 1.6.x.”

How to install Scribus 1.4.7 in Ubuntu

The official PPA repository has built the packages for all current Ubuntu releases.

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:scribus/ppa

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

2. Then upgrade Scribus using Software Updater:

or run commands in terminal to install or upgrade the desktop publishing software:

sudo apt-get update

sudo apt-get install scribus

Uninstall:

You can remove the PPA repository via Software & Updates utility -> Other Software tab.

To remove Scribus, run command in terminal:

sudo apt-get remove --autoremove scribus