/usr/share/menu/* are used by the Debian menu system, which is subscribed to by almost all window managers available on Debian (and Ubuntu) _except_ Gnome. And maybe KDE, I haven't looked at it.
Gnome actually does. If you go into the menu editor GUI (I forget what it's called), you will find a not-checked "Debian" submenu off the main menu. Turn that on and you'll find Menu -> Debian -> Games -> rocksndiamonds (might be on submenu "Action" depending on how many games you have installed). BEWARE: Gnome uses the XDG menu specification. One of its quirks is that it instructs the window manager to rearrange and coalesce menus with similar names. Turning on the Debian menus can cause the rest of your Gnome menu to be jumbled in surprising ways. Gnome/XDG menus use "*.desktop" files; you can find a zillion examples on your system. To make one, use "Add to toolbar", "Add a custom app" (whatever it's called). An icon for r'n'd exists in: /usr/share/games/rocksndiamonds/graphics/gfx_classic/rocks_icon_32x32.pcx However this has an ugly black background. To fix it, run: sudo convert /usr/share/games/rocksndiamonds/graphics/gfx_classic/rocks_icon_32x32.pcx -transparent black /usr/local/share/icons/hicolor/32x32/apps/rocksndiamonds.png (that's all one long line no matter what the bug database and/or browser do to it) Then when creating the .desktop file, browse to that directory and slurp up the fixed icon. THEN, once you have a filled-in .desktop file, you can copy it from your own directory (something similar to ~/.gnome2/panel2.d/default/launchers/gnome-terminal.desktop) into the system-wide location /usr/share/applications. Then it'll show up in the Gnome native menu. ---------- meanwhile, Ubuntu maintainer of r'n'd should add a .desktop file to the package; still retain the Debian menu file, both menu systems are still in wide use. -- rocksndiamonds does not create an application menu entry https://bugs.launchpad.net/bugs/495752 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
