Martin Wimpress et Rohith Madhavan viennent d’annoncer la disponibilité de la distribution Ubuntu Mate à destination de l’ordinateur Rasberry Pi 2 (version SBC).
Elle se base sur la toute dernière déclinaison d’Ubuntu, Ubuntu 15.10 (Wily Werewolf) avec à la clé un environnement de bureau MATE entièrement fonctionnel. L’architecture s’appuie sur l’OS Snappy Ubuntu Core (Ubuntu ARMhf) soit la présence de paquets Debian et du système de gestions des paquets apt-get.
L’installation repose sur une procédure classique du système Linux. Les utilisateurs peuvent également construire leur propre image Ubuntu MATE 15.10. Il est recommandé d’utiliser le système de fichier f2fs et une unité de stockage microSD de 4 Go ou plus .
Martin Wimpress souligne
“Nous avons fait ce que nous pouvons pour optimiser cette construction pour le Raspberry Pi 2 et on peut utiliser confortablement des applications telles que LibreOffice […] Mais les débits E/S d’une carte microSDHC class I est un goulot d’étranglement. Nous vous recommandons d’utiliser une carte microSDHC de classe 6 ou 10”
Pour le téléchargement et toutes les informations c’est ici : Ubuntu MATE for the Raspberry Pi 2
- Added OMXPlayer GUI.
- Added YouTube Downloader.
- Added
fake-hwclock
. - Added
python-spidev
andpython3-spidev
. - Added
python-codebug-tether
andpython3-codebug-tether
. - Added
python-codebug-i2c-tether
andpython3-codebug-i2c-tether
. - Added file system integrity checking on first boot.
- Optimised first run of MATE Menu.
- Optimised LibreOffice icons.
- Reinstated
oem-config
, which has been patched for the Raspberry Pi 2.- Now includes the Ubuntu MATE slideshow.
- Fixed udev rules and groups for accessing
spi
. - Fixed Scratch, it now runs via a
sudo
wrapper.- Simliar to how Raspbian does it except only Scratch can be executed with elevated privileges, not everything.
- Removed Compiz.
Putting the image on microSDHC
Download the image and then:
- Extract the
.img.bz2
archive to get the image file.bunzip2 ubuntu-mate-15.10-desktop-armhf-raspberry-pi-2.img.bz2 - Write the image file to the microSD card as root.sudo ddrescue -d -D –force ubuntu-mate-15.10-desktop-armhf-raspberry-pi-2.img /dev/sdX
The drive may be mounted on any /dev/sdX
so use the command lsblk
to check.
Re-size file system
There are no utilities included for automatic file system re-sizing. However, it’s not hard to do manually. Once booted:
sudo fdisk /dev/mmcblk0
Delete the second partition (d, 2), then re-create it using the defaults (n, p, 2, enter, enter), then write and exit (w). Reboot the system, then:
sudo resize2fs /dev/mmcblk0p2
Enable and Disable X11
We created a simple utility called graphical
to disable/enable the MATE desktop environment for easily creating a headless “server”. Executing graphical disable
will present a console login on the next boot, with now X11 or associated services running. If you want to get the full Ubuntu MATE desktop back, run graphical enable
and reboot.
Hardware accelerated video
Most videos will play with hardware acceleration using omxplayer
which is pre-installed in Ubuntu MATE. However if you have MPEG-2 or VC-1 video video files then you will need MPEG-2 and/or VC-1 licenses from the Raspberry Pi Store.
Redirecting audio output
You can select which audio device omxplayer
should output audio to.
For HDMI
omxplayer -o hdmi video.mp4
For 3.5mm audio jack
omxplayer -o local video.mp4
The sound will output to HDMI by default if both HDMI and the 3.5mm audio jack are connected. You can, however, force the system to output to a particular device using amixer
.
For HDMI
sudo amixer cset numid=3 2
For 3.5mm audio jack
sudo amixer cset numid=3 1