Ubuntu MATE 15.04 for Raspberry Pi 2

Ubuntu MATE 15.04 for Raspberry Pi 2

Rohith Madhavan has 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 apt-get.

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 :slight_smile: 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 f2fs file system.

You'll need a microSD card which is 4GB or greater to fit the image. The file system can be re-sized 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 15.04 image it will run through a setup wizard where you can create your own user account and configure your regional settings.


Pre-built images is also available:

Download the image and then:

  1. Extract the .img.bz2 archive to get the image file.
`bunzip2 ubuntu-mate-15.04-desktop-armhf-raspberry-pi-2.img.bz2`
  1. 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


NOTE! Currently these scripts will only run on an armhf device.

Edit build-image.sh and change BASEDIR. Then run the build.

sudo ./build-image.sh

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 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 amixer.


sudo amixer cset numid=3 2

For 3.5mm audio jack

sudo amixer cset numid=3 1

Feedback and Improvements

Please post all feedback on the dedicated community topic. If you have any improvements then please submit a pull request to our BitBucket.


  • Rohith Madhavan - Made the Ubuntu MATE 15.04 image.
  • Martin Wimpress - Added first boot setup wizard and architecture optimisations.
  • Ryan Finnie - Raspberry Pi 2 Kernel, Firmware and video driver packages.
  • Sjoerd Simons - Made the initial Raspberry Pi 2 kernel patches for Debian Jessie.
  • Sergio Conde - Maintains omxplayer for the Raspberry Pi.



  • Enabled Ryan Finnie's PPA.
  • Changed from cfq to deadline I/O scheduler.
  • Added xserver-xorg-video-fbturbo (an accelerated x.org driver) 0~git.20150305.e094e3c-1.15.04.
    • Limited to hardware accelerated window moving and scrolling.
  • Added raspi-copies-and-fills (high performance memcpy and memset) 0.4-1.
  • Added oem-config so first boot provides a setup wizard.
  • Added rpi2-ubuntu-errata for facilitating post-release updates/migrations.
  • Added sym-links to VideoCore utilties in /opt/vc/ for 3rd party script compatibility.
  • Added f2fs support to the build script.
    • Pre-built images available for download use ext4 because f2fs file systems can not be resized
      at present.
  • Updated to Linux 3.18.0-20.21.
  • Updated to flash-kernel 3.0~rc.4ubuntu54+rpi2.4.
  • Updated to omxplayer 0.3.6~git20150402~74aac37.
  • Updated to raspberrypi-firmware-nokernel 1.20150402.3ea439c-1.
  • Updated to raspberrypi-vc (VideoCore GPU libraries) 1.20150323.7650bcb-1.
  • Fixed /etc/network/interfaces so that the Ethernet device is now configurable via Network Manager.
  • Removed openssh-server until host key regeneration can be integrated.


  • Enabled systemd as the init system.
  • Added raspberrypi-vc (VideoCore GPU libraries) 1.20150301.0de0b20-3.
  • Added omxplayer 0.3.6~git20150217~5337be8.
  • Added linux-firmware.
  • Added openssh-server.


  • Initial Release.


  • Add OpenSSH with host key regeneration on first boot.
  • Add raspi-config or equivilent.
  • Add automatic reszing of the root file system.



Now i might bought one ^^
Great job ^^

1 Like

@rohithmadhavan Excellent :sunglasses:

If you also highlight the issues we can see what we can do about fixing them. Looks like we might be able to offer community Raspberry Pi 2 images in 15.04 :slight_smile:

If we get that far, I can provide hosting.


Fabulous work @rohithmadhavan, looking forward to testing the image on my Pi2

1 Like

thank you!

can you build Ubuntu MATE for the Banana Pi too? that would be amazing! :smiley:

1 Like

Nice to hear that the img is available.
I don’t know for the sound but i guess i can be easily settled with all the community around the Pi.

For the choppy video, was software do you use ? For it might come from the proc as it is not enough powerful.
For example, on odroid C1, we can’t use VLC since it doesn’t support hardware acceleration yet (they are on it).
So we use kodi who fully use it (and it is an amazing software on that kind of computers).

1 Like

Thank you so much for the image. Trying… :wink: :wink:

1 Like

@Bakaniko Thanks for the suggestions :smiley:
I used VLC for the video playback. I ran Openelec (Kodi) previously on the Pi and it can handle 1080p playback without any issues. In fact, the Raspberry Pi 1 also is capable of the same since they have the same VideoCore IV GPU. You’re right, the GPU is not being used. I will try to look for a solution…

I just found this article:
How to get Ubuntu desktop on the Raspberry Pi 2

I might be an other way to start. I guess some people from here can make test.

This is great, especially as it runs Libre Office. I tried an Odroid last week but couldn’t get Libre office to work well on it, so Maybe I will buy a Pi 2 now.

I am hosting the file. You are welcome to link it if you want. I have a 100Mbps connection.


1 Like

I can host the image.


@kkasberg Thank you very much :smiley:
I’ll link it to the topic…

Maybe we should post it on a torrent tracker like this one:

What do you think ?

@Bakaniko There are already a lot of torrent websites where the image is available, but feel free to add it wherever you wish :smiley:

1 Like

I have hosted it here. I have unlimited bandwidth, so go for it

thanks for this , really cool alternative to raspbian. Is there any chance of getting the kernel source? I am particularly interested in getting the headers so that I can compile quake3.

Many thanks

@millerthegorilla This image uses a patched version of the Raspbian kernel. The kernel source is maintained by the Raspberry Pi Foundation and is available on Github. Pre-compiled binaries are available on this page.

Any one else experiencing lag when using this? Or can i do something about it?

Some lag is normal with a microcomputer.

Though I just set mine up and found the drop down menu to freeze up before I could find tilda. Still pretty wonderful though. I’m writing to you now from a raspberry pi 2 running the above image. Great work guys. I’m going to try to build this out as an edubuntu box for my nephew.

Is there something like raspi-config for this image? How should I get rid of the overscan?