Archives For Howtos

Darktable 2.2.5

Darktable, open-source photography workflow software and raw developer, reached the 2.4.1 release a day ago with enhancements, various bug-fixes, and also updated list of cameras support.

New features in Darktable 2.4.1 include:

  • Allow to select the GUI language in the preferences
  • Add a filter rule to the collect module to find locally copied images
  • Add favorite toggle to darkroom modules’ right click popup
  • Allow blending/masking in the hot pixels module
  • Add keyboard shortcuts to zoom and pan an image in darkroom.
  • Some minor speedups in the grain module
  • Handling stdout on Windows: do not redirect stdout for simple command line arguments (--help and --version)
  • On Windows, show the location of the log file in the help message
  • Enable searching in the more modules list – click into the list to give focus to it, then start typing.
  • Add a debug print when compiling OpenCL kernels

For the bug-fixes and new supported cameras, read the release note.

How to Install Darktable 2.4.1 in Ubuntu:

The software has a stable PPA which so far builds Darktable packages for Ubuntu 16.04, Ubuntu 17.10, and Ubuntu 18.04.

The new release packages are in the process of being built, check HERE before installing it via following steps:

1. Open terminal by either pressing Ctrl+Alt+T on keyboard or searching for “Terminal” from app menu, when it opens, run command:

sudo add-apt-repository ppa:pmjdebruijn/darktable-release

Type in your password (no visual feedback while typing due to security reason) when prompts and hit Enter.

Darktable PPA for Xenial

2. Then you can upgrade Darktable from an existing release using Software Updater:

upgrade darktable

Or run the commands below one by one to install or upgrade the software:

sudo apt-get update

sudo apt-get install darktable

How to Restore

For any reason, you can easily remove the PPA repository and restore Darktable to the stock version in your Ubuntu main repositories via command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:pmjdebruijn/darktable-release

My laptop display was broken last night by accident. Now I connect my Ubuntu laptop to home TV using a HDMI cable for temporary use.

However, there’s no sound output from HDMI device (TV in my case) by default. So here’s the quick tutorial show you how.

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


Then you’ll see something similar in following picture:

Here you need to make sure S/PDIF, S/PDIF 1, S/PDIF 2 are no muted.

  • use Left/Right keys to choose item.
  • press M to mute/unmute (00 means unmuted)

2. If sound is not muted via sound card mixer, launch “System Settings” and go to “Sound”:

Select HDMI device as sound output and unmute output volume.


Wireshark network analyzer 2.4.4 was released a week ago. Now it’s finally available in PPA repository for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.10.

Wireshark 2.4.4 is a small release with mainly bug-fixes and updated protocol support. Bug-fixes in the release include:

  • Multiple dissectors could crash.
  • The IxVeriWave file parser could crash.
  • The WCP dissector could crash.
  • Disabled the Linux kernel’s BPF JIT compiler due to security vulnerable.
  • Some keyboard shortcut mix-up has been resolved
  • Remote interfaces are not saved.
  • Wireshark & Tshark 2.4.2 core dumps with segmentation fault.
  • SSH remote capture promiscuous mode.
  • For more, see the release note.

How to Install Wireshark 2.4.3 in Ubuntu:

Wireshark has a stable PPA with the latest packages for Ubuntu 14.04, Ubuntu 16.04, and Ubuntu 17.10.

1. To add the PPA, open terminal from Unity Dash / App Launcher, or via Ctrl+Alt+T shortcut keys, and then run command:

sudo add-apt-repository ppa:wireshark-dev/stable

Type in your password (no visual feedback due to security reason) when it asks and hit Enter.


2. For those who have a previous release installed, launch Software Updater (or Update Manager) to upgrade it to the latest:

upgrade wireshark

Or run the commands below in terminal to install / upgrade wireshark:

sudo apt-get update

sudo apt-get install wireshark

How to restore:

To restore to the stock version of Wireshark in Ubuntu main repositories, purge the PPA via ppa-purge tool:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:wireshark-dev/stable

Wine Stable

The Wine team announced the new stable release Wine 3.0 a day ago a large number of improvements and following great changes:

  • Direct3D 10 and 11 support.
  • The Direct3D command stream.
  • The Android graphics driver.
  • Improved DirectWrite and Direct2D support.

“because of the annual release schedule, a number of features that are being worked on have been deferred to the next development cycle. This includes in particular Direct3D 12 and Vulkan support, as well as OpenGL ES support to enable Direct3D on Android.”, the Wine team announced.

For detailed changes, read the announcement.

Wine running windows app in Linux

How to Install Wine 3.0 in Ubuntu:

Wine has an official apt repository contains packages for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.10.

Wine 3.0 binary packages are in the process of being built. Once it’s published in apt repository, do following steps to install it:

1. Open terminal via Ctrl+Alt+T or by searching it from app launcher. When it opens, run command to add the repository key:

wget -nc && sudo apt-key add Release.key

Type your password (no visual feedback while typing due to security reason) when it asks and hit Enter.

2. Add wine repository via command:

sudo apt-add-repository

For Linux Mint 18.x, use following command instead (replace xenial with trusty for 17.x):

sudo apt-add-repository 'deb xenial main'

3. Finally check updates and install wine stable packages:

sudo apt-get update

sudo apt-get install --install-recommends winehq-stable

NOTE: If you get the unmet dependencies issue while installing Wine 3.0, try aptitude instead via command:

sudo aptitude install winehq-stable

The command tells you which packages broke the installation. This usually caused by wrong dependency versions. You can then manually fix the dependencies via Synaptic package manager.

For more details, see the official documentation.


To remove wine-stable package, run command in terminal:

sudo apt-get remove --autoremove wine-stable wine-stable-amd64

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


Oracle Virtualbox reached version 5.2.6, third maintenance release for 5.2 series, with some bug-fixes and various improvements.

Changes in Virtualbox 5.2.6 include:

  • GUI: fixed occasional screen corruption when host screen resolutio n is changed
  • User interface: increase proposed disk size when creating new VMs for Windows 7 and newer
  • User interface: various improvements for high resolution screens
  • VMM: Fixed problems using 256MB VRAM in raw-mode VMs
  • Audio: implemented support for audio playback and recording for macOS guests
  • Audio: further timing improvements for Windows 10 guests
  • Linux hosts: fixed problem accessing mini-toolbar under XFCE

How to Install Virtualbox 5.2.6 in Ubuntu:

1. If you’re still running with VirtualBox 5.1.x, open terminal via Ctrl+Alt+T or from application launcher. Remove old Virtualbox via command:

sudo apt-get remove virtualbox virtualbox-5.1

2. Download & install the latest Virtualbox package from the link below:

Download VirtualBox for Linux

3. If you’ve added the Oracle VBox repository, you can directly install the 5.2 release from Synaptic Package Manager or via apt command, after removing the old version.

To add the repository, do:

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

sudo sh -c 'echo "deb xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'

Depends your Ubuntu edition, replace xenial (for Ubuntu 16.04) with trusty (for 14.04, Mint 17.x, eOS 0.3), or artful (for Ubuntu 17.10).

Virtualbox Official Linux repository

Setup the keyring so to trust the updates from the repository:

wget -q -O- | sudo apt-key add -

wget -q -O- | sudo apt-key add -

Finally install virtualbox 5.2 via commands:

sudo apt-get update

sudo apt-get install virtualbox-5.2

With the repository added, you can simply install the future 5.2 series updates via Software Updater.