Ubuntu 18 04 modifications

From RobotinoWiki
Revision as of 11:54, 1 April 2019 by Verbeek (talk | contribs)

Graphics drivers

add-apt-repository ppa:oibaf/graphics-drivers
apt-get update
apt-get upgrade

Mirror display

Use arandr to create screenlayout script and add it to Startup Applications Alt+F2 and run the gnome-session-properties

VNC

apt-get install x11vnc 

/etc/systemd/system/x11vnc.service

[Unit]
Description="x11vnc"

[Service]
ExecStart=/usr/bin/x11vnc -auth /run/user/1000/gdm/Xauthority -forever -loop -noxdamage -repeat -rfbport 5900 -shared
Restart=on-failure

[Install]
WantedBy=display-manager.service

systemctl enable x11vnc.service

Realsense

sudo apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u

sudo apt-get install librealsense2-utils
sudo apt-get install librealsense2-dev

optinal

sudo apt-get install librealsense2-dbg