Just curious, why is this so hard that it hasn't been done for ages? This might be "cheating", but it most certainly works (and don't laugh at the translations, they're babelfished for demonstration purposes):
in ~/Examples.desktop (or something):
[Desktop Entry]
Version=1.0
Type=Application
Name[en]=Examples
Name[fr]=Exemples
Name[es]=Ejemplos
Icon=folder
Comment[en]=Example content for Ubuntu
Comment[fr]=Contenu d'exemple pour Ubuntu
Comment[es]=Contenido del ejemplo para Ubuntu
Exec=xdg-open file:///usr/share/example-content/
The "cheating" part being that we're claiming it to be an application, though it's actually just a link to a folder that opens with whatever the desktop's default file browser is (of course, assuming it follows both the Desktop Entry specification and the File URI specification, which I believe to be rather universal today [please correct me if I'm wrong]). For CLI users this may look a tad bit odd ("huh, that thing's a .desktop file?"), but when they open it up in their editor they'll instantly realize what's going on.
Just curious, why is this so hard that it hasn't been done for ages? This might be "cheating", but it most certainly works (and don't laugh at the translations, they're babelfished for demonstration purposes):
in ~/Examples.desktop (or something): es]=Contenido del ejemplo para Ubuntu /usr/share/ example- content/
[Desktop Entry]
Version=1.0
Type=Application
Name[en]=Examples
Name[fr]=Exemples
Name[es]=Ejemplos
Icon=folder
Comment[en]=Example content for Ubuntu
Comment[fr]=Contenu d'exemple pour Ubuntu
Comment[
Exec=xdg-open file://
The "cheating" part being that we're claiming it to be an application, though it's actually just a link to a folder that opens with whatever the desktop's default file browser is (of course, assuming it follows both the Desktop Entry specification and the File URI specification, which I believe to be rather universal today [please correct me if I'm wrong]). For CLI users this may look a tad bit odd ("huh, that thing's a .desktop file?"), but when they open it up in their editor they'll instantly realize what's going on.
Am I missing something here?