Archives For Howtos

Virtualbox

Oracle announced a new maintenance release for VirtualBox 5.2 series a day ago with various bug-fixes.

Changes in VirtualBox 5.2.10 include:

  • VMM: Fixed missing NULL pointer check in MMIO code
  • Storage: fixed having multiple NVMe controllers with ICH9 enabled
  • Network: fixed wireless detection regression when bridging to adapters with unbound IP protocols
  • Network: fixed VERR_INTNET_FLT_IF_NOT_FOUND when bridging to some adapters on Windows hosts
  • Audio: Fixed interrupt storm in FreeBSD guests with HDA
  • Keyboard: Introduced a small delay to fix old software which expects to be able to read an incoming scan code more than once
  • Windows installer: Removed the “Ignore” action in the case the current VBox installation is still running, as the (successful) update will not work until a host reboot is performed
  • NAT: Handle nameserver 0.0.0.0 which is a valid setting
  • BIOS: INT 15h/87h service must disable A20 gate when done
  • Linux Guest Additions: fix a hang starting KDE Plasma

How to Install Virtualbox 5.2.8 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 http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

for Linux Mint 18.x, replace $(lsb_release -sc) with xenial in the code.

Virtualbox Official Linux repository

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

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -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.

gnome shell

This quick tutorial shows you how to easily resize or rotate a mass of image files in Ubuntu 18.04.

Nautilus, Gnome default file browser, has an extension called nautilus-image-converter. It adds “Resize images” and “Rotate images” options into context menu of image files, that allows to easily resize / rotate a mass of images.

With the two new options, you can resize images to a selected size, custom size, or scale images with given percent.

You can also rotate a mass of images with a selected angle or custom angle.

To install the Nautilus extension, open terminal either via Ctrl+Alt+To or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo apt-get update && sudo apt-get install nautilus-image-converter

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

Once installed, close all current file browser windows, and open it again. Or run command nautilus -q if you still don’t see the resize and rotate options.

Change Folder Color

This quick tip shows you how to set custom color or emblem of a folder in Ubuntu 18.04 Nautilus file browser.

For those who want to have a different look and feel on folder icons, folder-color extension allows to change the color or emblem of selected folder in the default Nautilus file browser.

1. Open terminal (Ctrl+Alt+T) and run command to install the folder-color extension.

sudo apt-get update && sudo apt-get install folder-color

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

2. Then re-open Nautilus (Files) file browser, and right-click on a folder. You’ll be able to choose a color or emblem, or set a custom color of the folder.

Note that if you don’t see the context menu “Folder’s color”, quit Nautilus via command nautilus -q and open the Files again.

gnome shell

The trash can icon is moved from left launcher to desktop icon since Ubuntu switched back to Gnome Desktop.

For those using files context menu or keyboard shortcut to delete file folders, and getting access to trash can via Files (nautilus file browser), the desktop icon is kinda useless and you may want to remove it.

You can easily remove (hide) the trash can desktop icon by doing following steps:

1. Open Ubuntu Software, search for and install Gnome Tweaks, a Gnome 3 desktop configuration tool.

2. Once installed, launch Gnome Tweaks and navigate to Desktop pane. There you can see the toggles to show or hide some desktop icons.

Simply turn off the toggle for Trash and enjoy!

shutter screenshot

After installed my favorite screenshot tool Shutter in Ubuntu 18.04, I found that the Edit button is greyed out. And this quick tip is going to show you how to re-enable the editing feature in Shutter.

To re-enable the “Edit” option, Shutter requires libgoo-canvas-perl library which is not available in Ubuntu 18.04 main archive. As a workaround, you can grab the package, as well as dependencies, from Ubuntu 17.10’s repository.

And here are the links to the packages you need to install (64-bit only since Ubuntu 18.04 dropped 32-bit):

1. Download and double-click to install the libgoocanvas-common package:

libgoocanvas-common

2. Download and install libgoocanvas3 package:

libgoocanvas3

Either use Gdebi package installer (available in Ubuntu Software) or run command in terminal (press Ctrl+Alt+T) to install the package:

sudo dpkg -i ~/Downloads/libgoocanvas3_1.0.0-1_amd64.deb; sudo apt-get -f install

3. Finally download & install libgoo-canvas-perl package:

libgoo-canvas-perl

Also install the package via Gdebi or terminal command, since Ubuntu Software doesn’t solve dependencies automatically:

sudo dpkg -i ~/Downloads/libgoo-canvas-perl_0.06-2ubuntu3_amd64.deb; sudo apt-get -f install

To apply changes, kill Shutter process or restart your computer!