Setup:
Download Ubuntu MATE and follow instructions from:
https://ubuntu-mate.org/raspberry-pi/
Extract and write the image (see above for instructions for Linux).
On MS Windows, use 7zip and Win32DiskImager.
Resize file system from provided instructions:
Code: Select all
sudo fdisk /dev/mmcblk0
Code: Select all
sudo resize2fs /dev/mmcblk0p2
Code: Select all
sudo visudo
Code: Select all
user ALL=(ALL) NOPASSWD: ALL
Optional: Pi2 safe overclock (requires a 2A power supply):
Code: Select all
sudo nano /boot/config.txt
Code: Select all
arm_freq=1000
sdram_freq=500
core_freq=500
over_voltage=2
hdmi_drive=2
gpu_mem=128
# More 3D and video performance if enabled:
#h264_freq=750
#isp_freq=750
#v3d_freq=750
# Extra speed: will void warranty if enabled!
#force_turbo=1
Code: Select all
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade
Note that as above, sudo apt-get update is needed (run it once) before doing many of the installations below!
Install LXDE and Lubuntu theme (faster desktop than MATE):
Code: Select all
sudo apt-get -y install lubuntu-desktop lxde
Raspberry Pi UI mods (note: Not working 100% yet)
Code: Select all
sudo apt-get -y install fonts-roboto libxfce4ui-1-0 libxfconf-0-2 libxfce4util-common libxfce4ui-common xfconf libxfce4util7
wget http://archive.raspbian.org/raspbian/pool/main/libx/libxfce4util/libxfce4util4_4.8.2-1_armhf.deb
wget http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-ui-mods/raspberrypi-ui-mods_1.1-4_all.deb
wget http://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-artwork/raspberrypi-artwork_20141115_all.deb
wget http://archive.raspberrypi.org/debian/pool/main/p/pimixer/pimixer_0.20150519~144516-1_armhf.deb
wget http://archive.raspberrypi.org/debian/pool/main/p/pipanel/pipanel_0.1-1_armhf.deb
sudo dpkg -i raspberrypi-ui-mods_1.1-4_all.deb raspberrypi-artwork_20141115_all.deb pimixer_0.20150519~144516-1_armhf.deb pipanel_0.1-1_armhf.deb libxfce4util4_4.8.2-1_armhf.deb
Code: Select all
pipanel
ADDED: You can adjust the rest manually to make LXDE look better:
Right click on panel/taskbar, select "Panel Settings". Select Edge: "Top". Change Height and Icon size to 36. Under Appearance, set Background: System theme. Uncheck "Custom colour". Change font size to 12.
Open Menu->Preferences->Customise Look and Feel. Open Icon Theme tab. Select GNOME. Select Mouse Cursor tab. Select DMZ (Black). Click Apply.
Right click Menu (now top-left). Click Browse. Select /usr/share/raspberrypi-artwork/raspitr.png , click OK.
Right click "Application Launch Bar" (next to Menu). Select "Down" on "File Manager PCManFM". Select System Tools->LXTerminal, click Add. Click Close.
Right click top right of screen (a second "Application Launch Bar"). Select 'Remove "Application Launch Bar" From Panel'.
Note: The text "Menu" is not possible to add due to a missing LXDE extension. Larger menus are also not possible yet. Using "thin" style text in window titles is also not possible. Fixes would be greatly appreciated!
Educational and development software:
Code: Select all
sudo apt-get -y install scratch idle idle3 python-pygame geany codeblocks brandy
More web browsers and email:
Code: Select all
sudo apt-get -y install dillo netsurf midori chromium-browser firefox claws-mail
Chromium Smooth Scrolling
Launch Chromium. Enter: chrome://flags. Select Enable on Smooth Scrolling (Linux only).
(Also enable: Override software rendering list)
From my testing, I recommend running Chromium in Incognito mode for better performance - this largely avoids writing to the SD card during browsing.
Minecraft Pi
(Note: Replace <user> with username below):
Code: Select all
wget http://archive.raspberrypi.org/debian/pool/main/m/minecraft-pi/minecraft-pi_0.1.1-4_armhf.deb
wget http://archive.raspberrypi.org/debian/pool/main/m/minecraft-pi/python-minecraftpi_0.1.1-4_armhf.deb
wget http://archive.raspberrypi.org/debian/pool/main/m/minecraft-pi/python3-minecraftpi_0.1.1-4_armhf.deb
sudo dpkg -i minecraft-pi_0.1.1-4_armhf.deb python-minecraftpi_0.1.1-4_armhf.deb python3-minecraftpi_0.1.1-4_armhf.deb
sudo usermod -a -G video <user>
sudo chmod a+rw /dev/vchiq
sudo nano /etc/udev/rules.d/10-vchiq-permissions.rules
Code: Select all
SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"
Code: Select all
minecraft-pi
Sonic Pi
Code: Select all
sudo apt-get -y install supercollider ruby1.9.1
Code: Select all
wget http://archive.raspbian.org/raspbian/pool/main/q/qscintilla2/libqscintilla2-8_2.6.2-2_armhf.deb
wget http://archive.raspberrypi.org/debian/pool/main/s/sonic-pi/sonic-pi_2.5.0-3_armhf.deb
sudo dpkg -i sonic-pi_2.5.0-3_armhf.deb libqscintilla2-8_2.6.2-2_armhf.deb
sudo mv /opt/sonic-pi/app/server/rb-native/raspberry/1.9.3p194 /opt/sonic-pi/app/server/rb-native/raspberry/2.1.2p95
Code: Select all
sonic-pi
Pi Store (note: limited support now!)
Code: Select all
wget http://archive.raspberrypi.org/debian/pool/main/i/icelib/icelib_1.0.15636_armhf.deb
wget http://archive.raspberrypi.org/debian/pool/main/p/pistore/pistore_1.1.16693_armhf.deb
sudo dpkg -i pistore_1.1.16693_armhf.deb icelib_1.0.15636_armhf.deb
pistore
Kodi ***UPDATED TO KODI 14.2***
Code: Select all
sudo apt-get -y install fbset libmicrohttpd10 libmysqlclient18 libtinyxml2.6.2 mysql-common python-support ttf-liberation libpcrecpp0 ttf-dejavu-core
Code: Select all
wget http://archive.raspbian.org/raspbian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.4.0-7_armhf.deb
wget http://archive.mene.za.net/raspbian/pool/contrib/k/kodi/kodi-bin_14.2-1~jessie_armhf.deb
wget http://archive.mene.za.net/raspbian/pool/contrib/k/kodi/kodi_14.2-1~jessie_all.deb
wget http://archive.mene.za.net/raspbian/pool/contrib/k/kodi/xbmc_14.2-1~jessie_all.deb
sudo dpkg -i xbmc_14.2-1~jessie_all.deb kodi-bin_14.2-1~jessie_armhf.deb kodi_14.2-1~jessie_all.deb libjpeg62-turbo_1.4.0-7_armhf.deb
sudo nano /etc/udev/rules.d/99-input.rules
Code: Select all
SUBSYSTEM=="input", GROUP="input", MODE="0660"
KERNEL=="tty[0-9]*", GROUP="tty", MODE="0660"
Add sudo privileges to be able to reset Pi 2 from Kodi to work around "crash on exit" bug after launching from the desktop menu:
Code: Select all
sudo nano /usr/share/applications/kodi.desktop
Code: Select all
sudo kodi
Oracle Java:
Java 7:
Code: Select all
sudo apt-get -y install java-common
wget http://archive.raspberrypi.org/debian/pool/main/o/oracle-java7-jdk/oracle-java7-jdk_1.7.0+update40_armhf.deb
sudo dpkg -i oracle-java7-jdk_1.7.0+update40_armhf.deb
sudo update-java-alternatives -s jdk-7-oracle-armhf
Code: Select all
sudo apt-get -y install java-common
wget http://archive.raspberrypi.org/debian/pool/main/o/oracle-java8-jdk/oracle-java8-jdk_8_armhf.deb
sudo dpkg -i oracle-java8-jdk_8_armhf.deb
sudo update-java-alternatives -s jdk-8-oracle-arm-vfp-hflt
Chromium Pepper Flash
Code: Select all
sudo apt-get -y install chromium-browser
wget http://odroidxu.leeharris.me.uk/PepperFlash-12.0.0.77-armv7h.tar.gz
tar -xzf PepperFlash-12.0.0.77-armv7h.tar.gz
cd PepperFlash
chmod +x *
sudo cp * /usr/lib/chromium-browser/plugins
sudo nano /etc/chromium-browser/default
Code: Select all
CHROMIUM_FLAGS="--ppapi-flash-path=/usr/lib/chromium-browser/plugins/libpepflashplayer.so --ppapi-flash-version=12.0.0.77 -password-store=detect -user-data-dir"
The pepperflash-plugin should be visible. Enable it.
You can disable later if it slows down Chromium too much for certain pages. Re-enable it when you need it.
Wisdom of the Epicurean Philosophers (by Mequa)
Time to plug my own app

Code: Select all
cd ~/
wget https://dl.dropboxusercontent.com/u/51441369/epicurus-raspi.zip
unzip epicurus-raspi.zip
cd ~/epicurus
./wisdomexplorer
Pi3D: **FIXED***
Code: Select all
cd ~
sudo apt-get -y install python-dev python-setuptools git geany xterm python-pip python3-pip python-numpy python3-numpy
git clone git://github.com/pi3d/pi3d_demos
sudo pip install pi3d
sudo pip3 install pi3d
sudo chmod a+rw /dev/vchiq
Code: Select all
cd ~/pi3d_demos
sudo geany Raspberry_Rain.py
Press F5 to run.
Note that on Ubuntu it is necessary to use sudo to run the Pi3D demos for mouse support, including for Geany.
Another example:
Code: Select all
cd ~/pi3d_demos
sudo python FilterDemo.py
TODO: RetroPie. Some others.
Note: Not yet working on Ubuntu MATE from Raspbian:
- Mathematica and Wolfram Language (licensing and library issues, also broken on Raspbian Jessie)
- Web/Epiphany with hardware accelerated video (library issues, also broken on Raspbian Jessie)
- Some Raspbian UI enhancements (may be workable)
- RetroPie (may be workable)
I'd appreciate it if anyone can try these out and report any issues with these installations. All those above (with the exception of Pi3D) installed without issues in my tests.
Mequa