Really we have four distros (base, justx, gtkonly, core flavors) and we want to pay attention to each of them.
Just yesterday I've told that I'll not use anything but "Core", but today I've seen that "Gtkonly" is not too bad. But it have some obstacles. Again, in the Applications menu.
When I clicked some menu items, they not worked. And I know how — they need web browser to work. All these files you can find in the /usr/share/applications:
- cookutils-doc.desktop
- gpl-license.desktop
- httpd.desktop
- httpd-cgi.desktop
- system-doc.desktop
- tazinst.desktop
- tazlito-doc.desktop
- tazpkg-doc.desktop
Web browsers (tazweb and midori) you can find in the bigger, "Core" flavor.
Smaller "Gtkonly" flavor have no web browser, and we don't need to see this menu items. Am I right?
We need a pretty solution, but I can't find it. I can offer the following:
FreeDesktop Menu implementation have mechanism to automatic hidding of some items (see "TryExec").
[Desktop Entry]
Type=Application
Name=System Doc
Name[fr]=Doc du système
Name[pt]=Documentação do Sistema
Name[pt_BR]=Documentação do Sistema
Name[ru]=Системная документация
TryExec=tazweb
Exec=tazweb file:///usr/share/doc/slitaz/index.html
Icon=slitaz-doc
Categories=System;Documentation;
You'll see this menu item only if Menu implementation will find "tazweb" in the $PATH, and only if "tazweb" is executable. If we have no "tazweb", or if {we have "tazweb", but it not executable}, then "System Doc" will be hidden in the Application menu.
Obstacle only that this desktop really use "browser", not "tazweb". We should have "browser" executable script. We should not delete it. Maybe we can find a way to put /usr/share/browser only to "Core" flavor?