• blog1

    “Look of disapproval” not correctly displayed in Ubuntu / Linux Mint

    by  • December 19, 2011 • blog1, Linux • 0 Comments

    If internet memes such as the following are displaying as squares rather than the faces they should be, it’s because Ubuntu/Linux Mint doesn’t come with the correct font packages. ಠ_ಠ To install these packages, simply install “unifont”: sudo apt-get install unifont If you’re having trouble in other distros, just search for the unifont package...

    Read more →

    OpenNI – error CS0006: cannot find metadata file `System.Windows.Forms.dll’

    by  • December 1, 2011 • blog1, Linux, Ubuntu • 1 Comment

    During installing the OpenNi kinect drivers, found here: https://github.com/OpenNI/OpenNI, I came across this error: make: Entering directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Samples/SimpleViewer.net’ gmcs -out:../../../Bin/Release/SimpleViewer.net.exe -target:winexe -unsafe -o+ -r:OpenNI.net.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -lib:../../../Bin/Release ../../../../../Samples/SimpleViewer.net/*.cs ../../Res/AssemblyInfo-OpenNI.cs error CS0006: cannot find metadata file `System.Windows.Forms.dll’ Compilation failed: 1 error(s), 0 warnings make: *** Error 1 make: Leaving directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Samples/SimpleViewer.net’ make: *** ...

    Read more →

    Java – .jar Error 127 /bin/sh: javac: not found.

    by  • December 1, 2011 • blog1, Linux, Ubuntu • 0 Comments

    If you’re getting a similar error to this while trying to compile java files (.jar) then you’re probably missing the jdk, in ubuntu it’s called “sun-java6-jdk” so just go ahead and install that and all should be good! make: Entering directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Wrappers/OpenNI.java’ javac -d Release ../../../../../Wrappers/OpenNI.java/src/org/OpenNI/*.java /bin/sh: javac: not found make: *** Error...

    Read more →

    ROS – rviz X Window System error.

    by  • November 29, 2011 • blog1, Programming, ROS • 0 Comments

    rosrun rviz rviz [ INFO] [1322561467.803234807]: rviz revision number 1.6.7 [ INFO] [1322561467.803351442]: ogre_tools revision number 1.6.2 [ INFO] [1322561467.803374070]: compiled against OGRE version 1.7.3 (Cthugha) [ INFO] [1322561467.946771146]: Loading general config from [/home/alex/.rviz/config] [ INFO] [1322561467.946953292]: Loading display config from [/home/alex/.rviz/display_config] [ INFO] [1322561467.972674791]: RTT Preferred Mode is PBuffer. The program ‘rviz’ received...

    Read more →

    Linux USB Errors with usb-creator-gtk “stdin: I/O error stdin: error 0 /init: line 1: can’t open /dev/sr0: No medium found”

    by  • November 26, 2011 • blog1, Command Line, Fedora, Linux, Ubuntu • 3 Comments

    After installing Ubuntu on a USB stick with the Ubuntu USB Startup Disk Creator (usb-creator-gtk) you might encounter an error such as the following: stdin: I/O error stdin: error 0 /init: line 1: can‘t open /dev/sr0: No medium found This is actually a bug with the software and isn’t anything you’ve done wrong. It...

    Read more →

    Python – Writing a ‘Fuzzy Clock’

    by  • November 13, 2011 • blog1, Programming, Python • 0 Comments

    If you want a clock that’s a little more human, there’s no better way than a ‘Fuzzy’ clock, essentially this converts the time in to a more brain friendly format such as “Twenty past Twelve” rather than 12:22. Writing a simple fuzzy clock Source Code: Output: $ python fuzzytime.py It’s 25 to 2 Writing...

    Read more →