[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: desktop/GNOME menu for ham radio applications



Joop Stakenborg wrote:
Op zo, 18-09-2005 te 18:12 +1000, schreef Hamish Moffatt:

There's a desktop file category defined for ham radio apps, called
"HamRadio". (The full list of agreed categories is towards the end of
http://standards.freedesktop.org/menu-spec/menu-spec-0.9.html ).



Yes, this is a category, but not an actual menu entry. It is up to the
gnome people where this category ends up, e.g. AudioVideo ends up under
Multimedia. So the actual menu structure is hardcoded.


However, the gnome-menus package doesn't specifically define a menu for
this category so they end up under "Other".

Do other ham applications export desktop files? My packages gpredict and gMFSK do. "Other" is an ugly place for them.



Several of my applications export desktop files. Other is ugly, I agree.
We could of course patch the gnome-menus package which would be okay for
Debian, since it is so hamradio oriented. I guess it would also be okay
for gnome in general, since the menu simply does not appear when there
are no HamRadio entries.

Here is what is needed:
- modify layout/applications.menu and add the following:

  <!-- HamRadio -->
  <Menu>
    <Name>HamRadio</Name>
    <Directory>Hamradio.directory</Directory>
    <Include>
      <And>
        <Category>HamRadio</Category>
      </And>
    </Include>
  </Menu> <!-- End  HamRadio -->

- Add a file called Hamradio.directory to desktop-directories/ which
looks like this:

[Desktop Entry]
Name=HamRadio
Comment=HamRadio menu
Icon=
Type=Directory
Encoding=UTF-8

We also would need a neat icon, whatsay?


These seem to be replacing the Debian menu system, for better or worse.
They are used by KDE also I believe.

73
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Regards,
Joop PG4I


Joop, Hamish,

If I may let me add some thoughts from an everday user. I curently am
using Libranet 3, but have also tried Sarge and Ubuntu. I use Xdx,Xlog,
gMfsk and TLF. In all 3 distros I tried, Xdx is in "Other", Xlog is in
"Accessories" amd gMfsk and of course TLF are no where in the Gnome
menu. If I go to the Debian menu only Xdx and gMfsk show in the
"hamradio" menu. However after my weekly update/upgrade gMfsk
disappeared from the Debian menu.

I simply open Nautilus and used "applications:///" to add a Ham Radio
folder, with an ugly icon. Then populate the folder with the launchers I
want/need. I do not think this will work with Gnome 2.10. I gathered
this information from simply reading the Gnome help files.

It wouuld be a lot easier if you implement the changes you propose,
possibly with the exception of TLF. But I think that TLF is also a doable.

Just some thoughts from an everday Linux user, and by no means a "geek"

73

Ed W3NR

There are 2 ways to argue with a woman...and neither one works




Reply to: