Openbox: Custom menu-entry ignored
I'm trying to add eclipse as a shortcut to the openbox menu. I have added the file ~/.menu/eclipse with the following content:
?package(local.eclipse):needs="X11" section="Applications/Programming"\
title="Eclipse" command="/home/user/eclipse/eclipse"
If I update the menu system with the command
$ update-menus -v
it gives me the output
update-menus[1609]: Update-menus is run by user.
update-menus[1609]: Dpkg is not locking dpkg status area, good.
update-menus[1609]: Reading installed packages list...
update-menus[1609]: Reading translation rules in /etc/menu-methods/translate_menus.
update-menus[1609]: Reading menu-entry files in /home/user/.menu.
update-menus[1609]: 1 menu entries found (1 total).
update-menus[1609]: Reading menu-entry files in /etc/menu.
update-menus[1609]: 0 menu entries found (1 total).
update-menus[1609]: Reading menu-entry files in /usr/lib/menu.
update-menus[1609]: 0 menu entries found (1 total).
update-menus[1609]: Reading menu-entry files in /usr/share/menu.
update-menus[1609]: 64 menu entries found (65 total).
update-menus[1609]: Reading menu-entry files in /usr/share/menu/default.
update-menus[1609]: 0 menu entries found (65 total).
update-menus[1609]: Running menu-methods in /home/user/.menu-methods.
update-menus[1609]: Running menu-methods in /etc/menu-methods.
update-menus[1609]: Running method: /etc/menu-methods/openbox
We can see from the output that the added file is found in /home/user/.menu. However, if I restart the computer the menu entry is not displayed in the openbox menu (opened by right-clicking the desktop). There isn't any file in in /usr/share/menu with the same name, so I don't understand why it is not working. Maybe someone else can spot what I'm doing wrong?
Thanks in advance!
Last edited by l0p3n; 06-11-2015 at 10:07 PM.
|