Re: .desktop files and vfolders

Rene Wagner <[email protected]> Sun, 08 Aug 2004 17:39:58 +0200
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <[email protected]>
Hi Matthew,

On Sun, 2004-08-08 at 17:25, Matthew Allum wrote:
> > First of all matchbox appears to ignore "Terminal=1" in
> > .desktop files. I don't get any error message (not in
> > .xsession-errors either).
> > 
> > Is that supposed to work?
> 
> No, I've never added any support for it. You can of course work round
> this by adding soming like 'xterm -e my_prog' to your 'Exec' entry.

As a workaround I'm using
Exec=x-terminal-emulator -e my_prog
already.

Maybe this should be noted in the documentation.
http://matchbox.handhelds.org/documentation/manual/x381.html
lists 'Terminal' as an apparently valid option.

> > Also, I'd like to add a 'Scientific' vfolder. Of course that
> > works fine but in a rather permanent manner. For inclusion in
> > GPE we (talked to Phil Blundell) would like to have matchbox
> > skip empty folders so that there will be no empty folders on
> > a standard install.
> >
> 
> Hmm, I thought empty folders were skipped ?

The following setup results in an empty 'Scientific' folder
on the desktop:

$ cat /usr/share/matchbox/vfolders/Scientific.directory
[Desktop Entry]
Name=Scientific
Comment=Scientific applications
Icon=mbfolder.png
Type=Directory
Match=Scientific

$ cat /usr/share/matchbox/vfolders/Root.order
Utilities
Games
Scientific
Settings
Other

mb-applet-menu-launcher shows the desired behaviour of skipping
empty folders.

Rene