Leer Valores De Archivos "application.desktop"
Hola, quiero hacer un programa que lea, modifique y añada entradas a los ficheros del tipo application.desktop.
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=firefox
Comment=navegador web
Exec=/usr/bin/firefox
Icon=/usr/share/pixmaps/firefox.png
Terminal=false
Type=Application
StartupNotify=true
Categories=internet;
he empezado por leer valores con Settings
DIM FicheroDesktop AS Settings
FicheroDesktop = NEW Settings("/usr/share/applications/firefox.desktop")
print FicheroDesktop["Desktop Entry/Name", "Error Lectura"]
print FicheroDesktop["Desktop Entry/Icon", "Error Lectura"]
Pero siempre me da este error "Syntax error in setting file at line #3: Type mismatch: wanted integer, got string instead"
No se si es que no se puede o algo estoy haciendo mal. ¿hay alguna otra forma para leerlo?