Steps toward running a Mono app on the OLPC XO
December 11th, 2007 by Eric AlbrightI created a sd card image to boot the XO separately for our Mono environment.
- Image the sd card using a developer image as documented here
- Change all instances of ‘disk:\’ to ’sd:\’ in /boot/olpc.fth
- add mono.repo to /etc/yum.repos.d
as documented here and here yum install mono-winforms
To launch a mono application, run: DISPLAY=:0.0 mono AppName.exe at the developer console. (Alt+= will bring up the developer console.)
We did find that the 200 dpi was not getting picked up by mono. In order to get that working, run echo 'Xft.dpi:200' | xrdb -merge at the developer console.