Archives For Howtos

This quick tutorial shows how to easily install DBGL, graphical user interface to DOSBox (configuration), in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10, and their derivatives.

DBGL is a free, open-source, multi-platform Java frontend for DOSBox. It features:

  • Multiple DOSBox versions support.
  • Templates support.
  • Basic support for ‘Windows system integration’
  • Import / Export Game.
  • Support for so-called Booter games.
  • Export game-list to a file
  • Automated build system, and more.

How to Install DBGL in Ubuntu:

Thanks to Rob Savoury who maintains a PPA repository that contains DBGL as well as DOSBox packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.

1. Open terminal either from application menu or by pressing Ctrl+Alt+T on keyboard. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:savoury1/dbgl

Type user password (no asterisk feedback) when it prompts and hit Enter to continue.

2. Then refresh system package cache (for Ubuntu 18.04 and higher, it’s done automatically after adding PPA.), and install the game launcher:

sudo apt update

sudo apt install dbgl dosbox

3. (Optional) DBGL requires Java. If you don’t have Java runtime in your system, either install Oracle Java or run command to install OpenJDK:

sudo apt install openjdk-8-jre

For Ubuntu 18.04 and higher, you may replce openjdk-8-jre with openjdk-11-jre.

Once installed, open DOSBox game launcher from system application launcher and enjoy.

Uninstall:

To remove the PPA repository, run command in terminal:

sudo add-apt-repository --remove ppa:savoury1/dbgl

To remove DBGL as well as DOSBox, run command:

sudo apt remove --auto-remove dbgl dosbox

HP Linux Imaging and Printing

HPLIP 3.19.12, open source Linux driver for HP printers and scanners, was released today with many new devices support.

HPLIP 3.19.12 added following new devices support:

  • HP Color LaserJet Pro M256dn, M256nw, M256dw.
  • HP Color LaserJet Pro M255dn, M255nw, M255dw.
  • HP Color LaserJet Pro M155a, M155nw, M156a, M156nw.
  • HP Color LaserJet Pro MFP M282nw, M284nw
  • HP Color LaserJet Pro MFP M283fdn, M285fdn
  • HP Color LaserJet Pro MFP M283fdw, M285fdw
  • HP Color LaserJet Pro MFP M283cdw, M285cdw
  • HP Color LaserJet Pro MFP M182n, M184n
  • HP Color LaserJet Pro MFP M182nw, M184nw
  • HP Color LaserJet Pro MFP M183fw, M185fw

This release also added support for Debian 10.1, Debian 10.2, and Manjaro 18.1.2.

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

HPLIP Download Page

2. Then open terminal either via Ctrl+Alt+T or by searching for “terminal” from app launcher. When it opens, run command to give executable permission:

chmod +x ~/Downloads/hplip-3.19.12.run

3. Finally run command to start installing the driver:

./Downloads/hplip-3.19.12.run

Follow the terminal output and answer some questions. If everything goes OK, plug or re-plug your HP devices and enjoy!

Virtualbox

Oracle announced the new major Virtualbox 6.1.0 a few days ago with many great new features.

Virtualbox 6.1.0 includes following changes:

  • Implemented support for importing VM from Oracle Cloud Infrastructure.
  • Extended support for exporting VM to Oracle Cloud Infrastructure
  • Support for nested hardware-virtualization on Intel CPUs
  • Completely removed old style 3D support (with VBoxVGA).
  • Implemented experimental support for file transfers
  • Support for horizontal scrolling in the PS/2 mouse device.
  • vboximg-mount available on Linux host.
  • accelerate video playback on Linux, macOS.
  • Experimental support for VirtIO SCSI, to increase performance and improve scalability
  • Suport for Linux 5.4
  • GUI and many other improvements.

For more details, see the changelog.

How to Install Virtualbox 6.1 in Ubuntu:

For Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, Ubuntu 19.10, and their derivatives, you can either download the official .deb binary from the link below:

Download Virtualbox for Linux

or install VBox from its official apt repository by running following steps:

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

sudo sh -c 'echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Linux Mint, you HAVE to replace $(lsb_release -sc) in the command with bionic for Mint 19.x, or xenial for Mint 18.x.

2. Then download and install the repository key via command:

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

3. Refresh system package cache via command:

sudo apt update

4. Finally install Virtualbox 6.1:

sudo apt install virtualbox-6.1

Uninstall:

To remove it, simply run command in terminal:

sudo apt remove --autoremove virtualbox-6.1

And go to Software & Updates -> Other Software to remove apt repositories.

gnome shell

This is another tutorial about how to arrange workspaces in a two dimensional grid (2×2, 2×3, 3×3, etc.) in Ubuntu 18.04 and higher.

The Workspace Grid gnome shell extension does the job, it is however seems to be not maintained anymore.

The Workspace Matrix extension takes up the job and so far supports for Gnome Shell up to version 3.34.

With the extension, you can bring up the workspace grid via Super+W (press again to hide) key, and use arrow keys to navigate between workspaces.

1. First open Gnome Tweaks (install it via Ubuntu Software), and enable “Static Workspaces” under Workspaces tab.

2. Then install the Workspace Matrix extension in Ubuntu Software.

3. Launch the extension settings page either in Ubuntu Software (package installing page) or via Gnome Tweaks -> Extensions.

Finally set the number of rows, columns, and scale of workspace thumbnails.

That’s it. Enjoy!

Ubuntu 18.04

While shutting down, Ubuntu sometimes gets stuck at purple screen with Ubuntu logo and the scrolling 5 dots. And it says ‘Unattended-upgrade in progress during shutdown, please don’t turn off the computer‘.

This happens not very often, and it’s OK to press and hold the power button to force shutdown Ubuntu, which will not break you machine.

You can also prevent Ubuntu from installing updates while shutting down simply by doing following steps one by one.

1.) Open applications menu, search for and launch Software & Updates utility.

2.) When it opens, navigate to Updates tab. Then disable ‘Automatically check for updates‘ by setting its value to Never.

That’s it.

NOTE: Disabling automatic updates comes with a security risk. You may launch Software Updater or run sudo apt update && sudo apt upgrade command to keep your system updated manually.