Here are the instructions to installing Docker CE on Linux Mint 18.1 Serena.
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
The following line in the SOURCE automatically determines the distribution, which is Serena, but there are no Linux Mint packages for Docker. You have to change it to the matching Ubuntu distribution. FYI Linux Mint Serena is based on Ubuntu 16.04 Xenial.
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
sudo apt-get update
sudo apt-get install docker-ce
Test the Docker install with this command. It will automatically download the hello-world image and run it.
sudo docker run hello-world
I have a simple request, put the minimize, maximize and close buttons on the right hand of the window. Guess what? Canonical have completely disabled the ability to do that. Argghh! For that reason I refuse to use Ubuntu. Linux is meant to be open and customizable! I’m looking for something else…I’m going to try Linux Mint 🙂
Here are the instructions to (re)installing SDL2 on Raspbian by compiling from source.
sudo apt-get remove --purge libsdl2-dev
sudo apt-get autoremove
sudo apt-get install build-essential libfreeimage-dev libopenal-dev libpango1.0-dev libsndfile1-dev libudev-dev libasound2-dev libjpeg-dev libtiff5-dev libwebp-dev automake
sudo apt-get install libraspberrypi-dev raspberrypi-kernel-headers
mkdir build && cd build
./configure --disable-pulseaudio --disable-esd --disable-video-mir --disable-video-wayland --disable-video-x11 --disable-video-opengl
sudo make install
Hooray! SDL performance is much much faster! 🙂
SOURCE 1: https://solarianprogrammer.com/2015/01/22/raspberry-pi-raspbian-getting-started-sdl-2/
SOURCE 2: http://choccyhobnob.com/tutorials/sdl2-2-0-5-on-raspberry-pi/
UPDATE: SDL performance is very slow. I don’t think it has anything to do with the Raspberry Pi 1 that I’m using. It just can’t be that slow. I believe it has more to do with the fact the libsdl-dev package is not using OpenGL. It’s not compiled for that use. I might have to try build it from source….
Here are the ins
- Get Raspbian running
- Enable VNC and SSH
- sudo apt-get update
- sudo apt-get install libsdl2-dev
- Run your app
To run without desktop manager:
- Edit /home/pi/.config/lxsession/LXDE-pi/autostart
- Comment out all lines that start with @ with #
- Add your app and precede with @
To turn off the cursor:
- Edit /etc/lightdm/lightdm.conf
- Find the line ‘xserver_command’ under [SeatDefaults]
- Change it to ‘xserver_command = X -nocursor’