Archives For Howtos

Virtualbox

Oracle VirtualBox 5.2.16, the eighth maintenance release for the 5.2 stable series, was released yesterday with various fixes.

Virtualbox 5.2.16 release highlights:

  • OVF: case insensitive comparison of manifest attribute values, to improve compatibility
  • Prebuilt RPM fails to install on openSUSE Leap 15.0 and Tumbleweed
  • Linux: various build fixes for distribution builds, thank you Gianfranco Costamagna

How to Install Virtualbox 5.2.16 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 --autoremove virtualbox virtualbox-5.1

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

Download VirtualBox for Linux

Finally install the downloaded package via Gdebi (install it via Ubuntu Software) package manager.

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 19, replace $(lsb_release -sc) with bionic 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.

wireshark

Wireshark network packet analyzer 2.6 stable series now is available to install in all current Ubuntu releases via the stable PPA.

Wireshark 2.6 was released 3 months ago in Apirl. It mainly features:

  • Support for HTTP Request sequences
  • Support for MaxMind DB files. Support for GeoIP and GeoLite Legacy databases has been removed.
  • The Windows packages are now built using Microsoft Visual Studio 2017.
  • The IP map feature (the “Map” button in the “Endpoints” dialog) has been removed.

Install Wireshark 2.6 via PPA in Ubuntu:

So far the PPA contains Wireshark 2.6.1 for Ubuntu 18.04, Ubuntu 17.10, Ubuntu 16.04, Ubuntu 14.04.

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

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

Type your user password (no asterisks feedback due to security reason) when it prompts and hit Enter.

2. If you’ve the previous Wireshark 2.4.x installed on your system, remove it first via command:

sudo apt-get remove --autoremove wireshark

3. Finally run following commands one by one in terminal to install Wireshark 2.6:

sudo apt-get update

sudo apt-get install wireshark

Uninstall:

To remove the software, open terminal and run command:

sudo apt-get remove --autoremove wireshark wireshark-*

And remove the PPA by launching Software & Updates -> Other Software tab.

Nvidia Linux driver

For Ubuntu 18.04 users plagued by screen tearing issue while using NVIDIA proprietary drivers, this quick tutorial may help you via enable PRIME Synchronization on Optimus.

Screen tearing usually happens on Ubuntu Linux laptop that uses Prime to switch between NVIDIA and Intel drivers.

1. Open terminal (either via Ctrl+Alt+T or by searching for ‘terminal’ from software launcher) and run command to create a new config file:

sudo gedit /etc/modprobe.d/nvidia-drm-nomodeset.conf

Type your password (no asterisks feedback) when it prompts and hit Enter.

2. When the file opens after running the previous command, add following line and save the file.

options nvidia-drm modeset=1

3. Finally update intramfs and reboot your machine.

sudo update-initramfs -u

To check if previous changes work after reboot, run command:

sudo cat /sys/module/nvidia_drm/parameters/modeset

It should output ‘Y’.

In addition, to get much SMOOTHER Nvidia window dragging experience, you can also do:

1. Set maximum performance in Nvidia X Server Settings -> PowerMizer.

2. If you have MORE than enough RAM, set swap tendency to a MUCH lower value by running command to edit sysctl.conf:

sudo gedit /etc/sysctl.conf

and add following 2 lines when the file opens:

via: ubuntuforums

gnome shell

After doing a fresh install of Ubuntu 18.04 on my old ASUS laptop, I found that the touchpad right-click does not work. This is because Ubuntu 18.04 by default acts right-click when you perform two-finger click on touchpad.

While my laptop touchpad does not have physical buttons, I have to do two-finger click to perform right-click.

So following steps will show you how to make right-click (clicking on the bottom right area of the touchpad) working again in touchpad without a physical button in Ubuntu 18.04.

1. Open Ubuntu Software, search for and install Gnome Tweaks.

2. Launch Gnome Tweaks and navigate to Keyboard & Mouse settings page.

Under Mouse Click Emulation, simply click enable the second option: “Area – Click the bottom right of the touchpad for right-click and the bottom middle for middle click.”

That’s it. Enjoy!

gnome shell

This quick tutorial is going to show you how to change the transparency level of the Gnome 3 desktop top panel in Ubuntu 18.04 LTS, though

It’s easy to configure top panel transparency via a Gnome Shell extension called Dynamic Top Bar. With the extension, you can easily configure top panel transparency if app is not full screen:

  • top panel transparency style: transparency or gradient.
  • transparency level.
  • Show or hide button shadow, Activities button text.

1. Open Ubuntu Software, search for and install Dynamic Top Bar

2. Once installed, go to extension settings via the install page (Ubuntu Software) or Gnome tweak tool (install it via Ubuntu Software).

That’s it. Enjoy!