Ubuntu How To...
This is a short quick reference card of actions we've found useful installing Ubuntu based set-ups.
Install Ubuntu
- Download .iso from https://releases.ubuntu.com/20.04/
- Burn into a USB pen drive using BalenaEtcher or some other Boot disk burner
- BalenaEtcher: https://www.balena.io/etcher/
- Boot PC from the USB and follow instructions.
Install Anydesk
Run the following commands as root user:
- add repository key to Trusted software providers list
wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY \| apt-key add -
- add the repository:
echo "deb http://deb.anydesk.com/ all main" > /etc/apt/sources.list.d/anydesk-stable.list
- update apt cache:
apt update
- install anydesk:
apt install anydesk
Set the desktop for a Kiosk
-
Disable notifications, autohide, etc:
-
Start->search for Notifications->control panel: DISABLE ALL
-
Settings->Dock: Auto hide to ON
-
Settings->Power: OFF Dim screen, blank screen NEVER, automatic > suspend OFF
-
Settings->Privacy->Problem Reporting to NEVER.
- Screen lock to OFF
-
-
In terminal:
sudo apt install gnome-tweaks gnome-shell-extensions
-
In Software manager (orange shopping bag):
- Install gnome-tweaks for extensions.
-
In Firefox:
-
Open https://extensions.gnome.org
- Install the FF plugin
-
Install "block-caribou" to disable touch screen keyboard.
-
Install "disable gestures"
-
Install "hide top bar"
-
Stop and Restart
-
Stop:
sudo shutdown -h now -
Restart:
sudo shutdown -r now
Manage Services
-
Services are Unit files with the
.service
extension. -
They reside (or are linked into)
/etc/systemd/system
-
For Broox Services, they all use the naming
broox-xxxxx.service
.
sudo systemctl [start|stop|restart|status|enable|disable] broox-servicename.service
-
Start: sudo systemctl start broox-controller.service
-
Stop: sudo systemctl stop broox-deepengine.service
-
Restart: sudo systemctl restart broox-3mtotuio.service
-
Status: sudo systemctl status broox-3mtotuio.service
-
Enable on startup: sudo systemctl enable broox-3mtotuio.service
-
Disable on startup: sudo systemctl disable broox-3mtotuio.service
Add auto-starting desktop apps
-
Click Activities
-
Start app "Startup Applications"
- Add the app, for example Broox MediaPlayer.
- Command has to point to the executable.
Use Video4Linux devices
-
Video4Linux devices automatically mount on
/dev/videoN
-
To list, from terminal, use
ls -l /dev/video*
-
You can use
lsusb
to see connected devices.
View connected Video4Linux devices (webcams et.al.)
-
Open Terminal.
-
If `qv4l2` is not installed:
sudo apt install qv4l2
-
Start:
qv4l2
Set up a Headless X11
- Install the X Dummy server
sudo apt-get install xserver-xorg-video-dummy
- Then write this in the
/usr/share/X11/xorg.conf.d/xorg.conf
(or possibly/etc/X11/xorg.conf
) file (create it, if it does not exist):
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x800"
EndSubSection
EndSection