View Single Post
Old 11-06-2015, 06:55 AM   #5
Szymon
DisplayLink Tech Support
 
Szymon's Avatar
 
Join Date: Feb 2010
Posts: 55
Default

Could guys try on Ubuntu 15.10 the following sequence:

Code:
sudo ./displaylink-driver-1.0.138.run uninstall
./displaylink-driver-1.0.138.run --keep --noexec
cd displaylink-driver-1.0.138/
### In current directory edit displaylink-installer.sh in your favourite editor ###
Find the following piece of script inside the installer file:

Code:
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
}
And change it to:

Code:
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:
Code:
sudo ./displaylink-installer.sh install

Last edited by Szymon; 11-06-2015 at 11:45 AM.
Szymon is offline   Reply With Quote