Miriam Ruiz
random thoughts on technology and life











{August 15, 2008}   MIME and file type support for desktops

Some time ago, when I packaged treeline, I wanted to make the package configure the environment so that .trl files would be automatically open with the program. That meant that the package had to configure the MIME types in the desktop to handle that, and assign the new MIME type the selected program. I tried a dozen of things at the time, based on a lot of howto’s that I found, without any success, so I decided to forget about it.

This week I started packaging a new program: Löve, a 2D game development framework based in Lua and OpenGL. Many of the games developed for this platform are distributed as a zip file with the extension .love, so I decided I wanted to try again the MIME stuff. After many unsuccessful tries, I found a package that gave me some hints on how to do it: chemical-mime-data. After having a look at it, I was able to prepare a proof of concept that did what I wanted. It is supposed to work, at least, in GNOME, KDE and ROX. In case someone else is interested, here is the code:



{August 05, 2008}   Variables de entorno para definir la localización

Wouter Verhelst escribe en su bitácora un artículo, respondiendo a otro de Sami Haahtinen, en el que describe muy claramente cuales son las variables de entorno que se pueden usar para definir la localización del sistema, y que me ha parecido oportuno traducir. Existen 4 tipos de variables:




about

This is a personal webpage that belongs to Miriam Ruiz.
If you want to contact her, you can do at:
webmistress(at)miriamruiz(dot)es.

pages
categories
archive
twitter
calendar
August 2008
M T W T F S S
« Jul   Sep »
 123
45678910
11121314151617
18192021222324
25262728293031
credits
WikiLeaks

La Lista de Sinde