...because open source matters

  • Schrift vergrößern
  • Standard Schriftgröße
  • Schriftgröße verkleinern

New GMU Icon


As promised, here is a quick new icon for GMU, Nanonotes default audio player. The abstract "G" stayed the same, but due to the light background it's way more readable now.

The old icon:


The new one:


The new one selected:


You can grab the icon here and the Inkscape source here.

Dirty* installation instructions:

  1. save gmu.png to /tmp
  2. scp /tmp/gmu.png root@<nanonote>:/usr/share/gmenu2x/skins/Default/icons/
*) I still could not figure out why Gmenu2x crashes every time I try to use a custom theme folder, so until that's sorted out  I'll keep overwriting "Default".

Q and P for section switching


The current Nanonote firmware uses the Q and P keys for section switching in Gmenu2x. If you stay with that keymap instead of changing it, then you can download these two images and replace the original ones labeled "L" and "R" with them.

A mockup of the result:



  1. save the images to /tmp
  2. scp /tmp/l_disabled.png root@<nanonote_ip_address>:/usr/share/gmenu2x/skins/Default/imgs/l_disabled.png
  3. scp /tmp/r_disabled.png root@<nanonote_ip_address>:/usr/share/gmenu2x/skins/Default/imgs/r_disabled.png
That's it. Beware though that I haven't tested the images on a real device, so better save the original ones before replacing them.

Tuning Ben's default Gmenu2x theme


While technically working quite nice, the current Gmenu2x theme still needs a bit more love. It has been created for the 840x480px screen of the Pandora handheld. One of the results: The original wallpaper looks like this:


But only the upper left corner gets displayed on the QVGA screen of the Nanonote:


I liked the look of the original wallpaper, so I tried to create a NanoNote-branded rip-off that would fit in 320x240px. A few minutes of Inkscape-dabbling later:


I could not find the font type "NanoNote" was written in, so I just redrew it based on this image from Same thing with the Ben logo.

The second obvious thing was removing the "L" and "R" images in the upper corners of the tab bar because they made no sense after changing the keys for section switching. I replaced them with this fully transparent file of the same size.

The result looks a bit nicer:


To replicate:

  1. save wallpaper and transparent png to /tmp
  2. scp /tmp/wallpaper.png root@<nanonote_ip_address>:/usr/share/gmenu2x/skins/Default/wallpapers/wallpaper.png
  3. scp /tmp/l_disabled.png root@<nanonote_ip_address>:/usr/share/gmenu2x/skins/Default/imgs/l_disabled.png
  4. scp /tmp/l_disabled.png root@<nanonote_ip_address>:/usr/share/gmenu2x/skins/Default/imgs/r_disabled.png
  5. scp /tmp/l_disabled.png root@<nanonote_ip_address>:/usr/share/gmenu2x/skins/Default/imgs/l_enabled.png
  6. scp /tmp/l_disabled.png root@<nanonote_ip_address>:/usr/share/gmenu2x/skins/Default/imgs/r_enabled.png
  7. change the active wallpaper under settings -> Wallpaper in Gmenu2x directly.
That's it. Next on the list is a more visible GMU icon Smile

A new keymap for gmenu2x


Gmenu2x, the current "window manager" of the Ben Nanonote, has its roots in gamepad-like devices. As the last time I used one of these was on an NES about 15 or 20 years ago, the controls were a bit confusing for me.

After searching around I found the relevant config file, it's /usr/share/gmenu2x/input.conf. The keycodes used in that file can be found in the qi-hardware wiki.

This is my new keymap:

# a = [h]elp screen
# keycode 104 = h

# b = start application
# keycode 13 = enter

# x = cancel
# keycode 27 = escape

# y = show gmenu2x [r]eadme
# keycode 114 = r

# l = select section to the left
# keycode 92 = \

# r = select section to the right
# keycode 9 = tab

# select = context menu, [e]dit entry
# keycode 101 = c

# start = gmenu2x [s]ettings
# keycode 115 = s


The changes in human-readable form:

  • Enter starts the application
  • Tab switches between sections
  • e allows to edit the selected entry
  • h opens the help screen
  • esc cancels

Automatically restoring alsa settings


When the sound modules are loaded, sound ouput is muted by default. While the current image (from June 2010) supports issuing the commands alsactl store (for saving the current settings) and alsactl restore (for loading them again), alsactl restore isn't called automatically after loading the modules.

The file /etc/rc.local comes to the rescue: Putting alsactl restore in there automatically restores the last saved sound settings on every boot. As that script is usually the last one called by init, the sound modules are already louded at that time.