rocksndiamonds does not create an application menu entry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rocksndiamonds (Debian) |
Fix Released
|
Unknown
|
|||
rocksndiamonds (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: rocksndiamonds
The package rocksndiamonds does not install any menu entry in the Applications menu. I already tried to purge and install it, it downloads game data, and dpkg says "Processing triggers for menu...", but I do not see any entry in the Applications -> Games menu, not even when editing the menu with alacarte. However, I noticed that the package contains /usr/share/
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
$ apt-cache policy rocksndiamonds
rocksndiamonds:
Installiert: 3.2.6.0+dfsg-6
Kandidat: 3.2.6.0+dfsg-6
Versions-Tabelle:
*** 3.2.6.0+dfsg-6 0
500 http://
100 /var/lib/
Changed in rocksndiamonds (Debian): | |
status: | Unknown → New |
tags: |
added: desktop-file precise quantal saucy trusty removed: entry games menu rocksndiamonds |
Changed in rocksndiamonds (Debian): | |
status: | New → Fix Released |
Changed in rocksndiamonds (Ubuntu): | |
status: | Triaged → Fix Released |
/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/rocksndia monds/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 panel2. d/default/ launchers/ gnome-terminal. desktop) applications. Then it'll show up
your own directory
(something similar to ~/.gnome2/
into the system-wide location /usr/share/
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.