Rohith Madhavan and Martin Wimpress have made an Ubuntu MATE 15.04 image for the Raspberry Pi 2 which you can download or build yourself.
The image is functional and based on the regular Ubuntu
armhf base, and not the new Snappy Core, which means that the installation procedure for applications is the same as that for the regular desktop version, ie using
We have done what we can to optimise the build for the Raspberry Pi 2 and one can comfortably use applications such as LibreOffice, which in fact is a joy to use But the microSDHC I/O throughput is a bottleneck so we recommend that you use a Class 6 or Class 10 microSDHC card. If you build the image yourself we recommend you use the
You’ll need a microSD card which is 4GB or greater to fit the image. The file system can be resized to occupy the unallocated space of the microSD card, similar to Raspbian.
NOTE! There are no predefined user accounts. The first time you boot the Ubuntu MATE image it will run through a setup wizard where you can create your own user account and configure your regional settings. The first boot is quite slow, but once the first boot configuration is complete subsequent boots are much quicker.
A pre-built image is also available.
For the Raspberry Pi 2, but not the original Raspberry Pi models based on ARMv6.
Size : 903 MB
Ubuntu MATE for the Raspberry Pi 2 is available from Sourceforge mirror sites around the world.
Download the image and then:
- Extract the
.img.bz2archive to get the image file.bunzip2 ubuntu-mate-15.04-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.04-desktop-armhf-raspberry-pi-2.img /dev/sdX
The drive may be mounted on any
/dev/sdX so use the command
lsblk to check.
NOTE! Currently these scripts will only run on an
build-image.sh and change
BASEDIR. Then run the build.
This will take a long time, so I suggest you start this running before you go to bed.
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
Hardware accelerated video
To play videos using hardware accelerated decoding you will need MPEG-2 and/or VC-1 licenses from the Raspberry Pi Store. You can then use
omxplayer, which uses the Raspberry Pi VideoCore libraries, to provide hardware accelerated video playback.
Redirecting audio output
You can select which audio device
omxplayer should output audio to.
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
sudo amixer cset numid=3 2
For 3.5mm audio jack
sudo amixer cset numid=3 1