Package: openbox
Version: 3.6.1-5
Severity: normal

When I try to open the Applications menu in openbox, I get an error:

Invalid output from pipe-menu "openbox-menu -i lxde-applications.menu"

This is because I have gnome-menus installed instead of lxmenu-data,
but the openbox menu.xml uses lxde-applications.menu from lxmenu-data
and openbox does not depend on lxmenu-data.

There are some possible solutions here:

Add a dependency from openbox to lxmenu-data. This would be simple and
straight-forward but hard-coding LXDE menus doesn't seem correct.

Drop the lxde-applications.menu argument from the openbox-menu call.
openbox is not LXDE so this makes some sense.

Enhance openbox-menu so that it can take multiple arguments and choose
the first one that exists on the system. This would then require
openbox to depend on each of the menu packages it uses.

$ dpkg -S /etc/xdg/openbox/menu.xml
openbox: /etc/xdg/openbox/menu.xml
$ grep Applications /etc/xdg/openbox/menu.xml
  <menu id="applications-menu" label="Applications" execute="openbox-menu -i 
lxde-applications.menu"/>
$ apt-file search lxde-applications.menu
lxmenu-data: /etc/xdg/menus/lxde-applications.menu
$ apt-cache show openbox | grep lxmenu-data

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), 
LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openbox depends on:
ii  libc6                     2.25-3
ii  libglib2.0-0              2.54.1-1
ii  libice6                   2:1.0.9-2
ii  libobrender32v5           3.6.1-5
ii  libobt2v5                 3.6.1-5
ii  libsm6                    2:1.2.2-1+b3
ii  libstartup-notification0  0.12-4+b2
ii  libx11-6                  2:1.6.4-3
ii  libxau6                   1:1.0.8-1+b2
ii  libxcursor1               1:1.1.14-3.1
ii  libxext6                  2:1.3.3-1+b2
ii  libxi6                    2:1.7.9-1
ii  libxinerama1              2:1.1.3-1+b3
ii  libxrandr2                2:1.5.1-1
ii  openbox-menu              0.8.0+hg20161009-1

Versions of packages openbox recommends:
ii  obconf      1:2.0.4+git20150213-2
ii  obsession   20140608-2+b1
ii  python-xdg  0.25-4
pn  scrot       <none>

Versions of packages openbox suggests:
ii  fonts-dejavu           2.37-1
ii  libxml2-dev            2.9.4+dfsg1-5.2
pn  openbox-gnome-session  <none>
pn  openbox-kde-session    <none>
ii  python                 2.7.14-3
pn  tint2                  <none>

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to