On dim 15/09/13 01:02 , michel dominique dominique.mic...@vtxnet.ch wrote:
On sam 14/09/13 19:56 , michel dominique wrote:
On sam. 14/09/13 16:41 , Thomas Funk wrote:
Thomas Funk wrote:
Dan Espen wrote:
Hmm, now everyone's top-posting.
Sorry for that. I was too fast and have forgotten it.
I feel myself weakening.
I've been occupied, but I'll get to this.
It doesn't greatly matter. Most systems has more than one Xdg menu.
Until a certain extend. I think many experimented fvwm users will
install
a minimum system, and will not get more than 1 or 2 xdg menus.
Also, many distributions don't have their own menu system like debian,
so the chances are big they will get only 1 xdg menu with a minimum
install.
It is even worst, on a fresh gentoo install, with only fvwm, fvwm-crystal,
xorg-server, stalonetray, mc and rxvt-unicode, I get no xdg menu file at
all.
It is also another issue. No xdg.menu file implementation I know are
supporting well the additional freedesktop categories. As example, In the
Multimedia categories, you get 3 main categories and no additional
categories
in most distributions, which is a shame.
On Debian, I experimented a little bit with xfce by modifying its menu
file
in /etc/xdg/menus
With the following, I get the Multimedia menu with 3 sub-menus, Audio,
Video and AudioVideo. Video and AudioVideo are not changed at that time,
but in Audio, I get automatically sub-menus for all the supported
additional categories, and the programs without additional categories
are in the Audio main submenu. So for me, that's perfect. It is a
maintenance free menu out of the box for most users.
Multimedia
Audio
Audio
HamRadio
Midi
Mixer
Sequencer
AudioVideoEditing
Player
Recorder
HamRadio
HamRadio
Midi
Midi
Mixer
Mixer
Sequencer
Sequencer
AudioVideoEditing
AudioVideoEditing
Player
Player
Recorder
Recorder
Video
Video
AudioVideo
AudioVideo
For now, this is just a prove of concept. This have to be extended to all
the other main categories. Eventually, files can be provided into
/usr/share/desktop-directories for automatic translation. I commented
it because otherwise all the sub-menus are named Multimedia, so
files must be provided if we want to support the Directory tag.
Can someone test it and report how it work with fvwm. If it work fine,
it will be something to add to fvwm, because it will make its application
menu to work out of the box with support for the additional categories
and in any distributions. If it work as I expect, it will be worth to add
a
--desktop fvwm option to fvwm-menu-desktop.
I get it to work with fvwm. It work as well than in xfce.
Thomas
I found another problem with unicode errors in menu names under
XUbuntu.
I will check this in the next time. So, forget the last patch. I will
send a new one with the unicode error fix included.