Using the Asus MB168B+ with Ubuntu 15.10


The Asus MB168B+ is a very nice portable monitor, and it would be a shame if it weren’t possible to use it with Ubuntu ;)

Download the Ubuntu driver and extract it somewhere.

Open up a terminal, and navigate to that folder. Then launch these commands:

./displaylink-driver-1.0.138.run --keep --noexec
cd displaylink-driver-1.0.138/

Then type nano displaylink-installer.sh to edit the installer file (if you don’t like nano, use your favourite text editor!).

Change this:

#!/bin/bash

detect_distro()
{
  if which lsb_release >/dev/null; then
      local R=$(lsb_release -d -s)
      echo \"Distribution discovered: $R\"
      if [ -z \"${R##Ubuntu 14.*}\" ]; then
        SYSTEMINITDAEMON=upstart
      elif [ -z \"${R##Ubuntu 15.04*}\" ]; then
        SYSTEMINITDAEMON=systemd
        fi
  else
      echo \"WARNING: Unknown distribution, assuming defaults - this may fail.\" >&2
  fi
}

To this:

#!/bin/bash

detect_distro()
{
  if which lsb_release >/dev/null; then
    local R=$(lsb_release -d -s)
    echo \"Distribution discovered: $R\"
    SYSTEMINITDAEMON=systemd
    fi
}

And then run:

sudo ./displaylink-installer.sh install

Your monitor should be working now!

p.s. this procedure should work to install the driver in distros other than Ubuntu!

Related Posts

Resizing and moving windows in Doom Emacs

Setting up TabNine on Doom Emacs

The correct docker-compose setup for Wordpress and Nginx

Adding a newline after a comment block in Doom Emacs

PureScript Date and Time guide

Adding live css and js reload to Yesod

A quick overview of Purescript package managers as of October 2018

Optional elements and properties in Halogen

Simple AJAX in Purescript

Automatically adding (or removing) a prefix to a record labels in Purescript