[Discussed] OB - Updating Menu - missing apps

If none of the more specific forums is the right place to ask

[Discussed] OB - Updating Menu - missing apps

Postby makh » 2018-05-19 12:55

Hi

I have gone through this:
http://openbox.org/wiki/Help:Menus/Debian-menu

And I think the menu is not updating as below is not getting the iceweasel/firefox entry:
Code: Select all
ls /usr/share/menu


It seems to be skipping some other programs, also.

Please inform, if theres something extra needed to be done.

Thankyou
Last edited by makh on 2018-08-15 16:32, edited 1 time in total.
HP Probook 440 G2: Arch, Debian Stable
Server: none
Past: Debian, Centos, Ubuntu, Opensuse
GUI: Openbox, Cinnamon
Chroot: Debian, Ubuntu, Fedora
VM: Devuan

Employing the best:
Arabic
Debian
Homeopathic

For new: Try Linux Mint
User avatar
makh
 
Posts: 618
Joined: 2011-10-09 09:16

Re: OB - Updating Menu - missing apps

Postby bw123 » 2018-05-19 13:26

Probably several ways to do it, but I've been making my own, and putting them in /etc/menu because debian decided to go with .desktop files instead. I don't use ff on my fluxbox, but it might look like this...

Code: Select all
?package(Firefox-esr): \
      needs="X11" \
      section="Applications/Network/Web Browsing" \
      title="Firefox-esr" \
      command="/usr/lib/firefox-esr/firefox-esr %u" \
      icon="/usr/share/pixmaps/firefox-esr"


check the paths are correct, run update-menus it should show up. Might have to restart the wm.

good luck.
User avatar
bw123
 
Posts: 3271
Joined: 2011-05-09 06:02
Location: TN_USA

Re: OB - Updating Menu - missing apps

Postby kevinthefixer » 2018-05-20 18:54

Or you could install MenuLibre.
kevinthefixer
 
Posts: 72
Joined: 2018-05-05 22:30

Re: OB - Updating Menu - missing apps

Postby makh » 2018-05-21 22:55

bw123 wrote:...

Hi

I have done the manual entries in .config/openbox/menu.xml

But, I suppose the error is here:
Code: Select all
# /bin/ls /usr/share/menu
aptitude    gdb           gpaint     procps    virtualbox-qt      xfce4-appfinder
bash       gimp        gparted     psmisc    volumeicon-alsa    xfdesktop4
bc       gksu        info     README    w3m             xournal
dash       gmrun        links2     synaptic  x11-apps          xscreensaver
dc       gnome-alsamixer  obmenu     tasksel   x11-utils          xtrlock
galculator  gnome-paint      pavucontrol  telnet    x11-xserver-utils

If the missing entries come here, then the problem is solved.

@kevinthefixer; MenuLibre is for desktops, and it is an editor, not a menu maker.

Thankyou
HP Probook 440 G2: Arch, Debian Stable
Server: none
Past: Debian, Centos, Ubuntu, Opensuse
GUI: Openbox, Cinnamon
Chroot: Debian, Ubuntu, Fedora
VM: Devuan

Employing the best:
Arabic
Debian
Homeopathic

For new: Try Linux Mint
User avatar
makh
 
Posts: 618
Joined: 2011-10-09 09:16

Re: OB - Updating Menu - missing apps

Postby bw123 » 2018-05-21 23:16

I told you before, debian uses .desktop files now. The maintainers do not want to make menu files for pkgs which ship .desktop files. It is now against debian policy to ship both in a debian pkg. I don;t have the documentation handy, but it should be easy to find.

If the menu files are missing in /usr/share/menu then you will have to make them or provide them some other way. You could also add the apps manually to your openbox menu some way, but I don't use that wm, and I don't know anything about editing .xml files. fluxbox uses plain text config files, which I prefer to .xml format.

p.s. Here's the bug https://bugs.debian.org/cgi-bin/bugrepo ... bug=741573
User avatar
bw123
 
Posts: 3271
Joined: 2011-05-09 06:02
Location: TN_USA

Re: OB - Updating Menu - missing apps

Postby Bulkley » 2018-05-21 23:41

makh, I built a menu with both Debian and LXDE sub menus. I'll try to find the instructions and post back.

Here. See this thread.
Bulkley
 
Posts: 5617
Joined: 2006-02-11 18:35

Re: OB - Updating Menu - missing apps

Postby MALsPa » 2018-05-22 00:33

makh wrote:And I think the menu is not updating as below is not getting the iceweasel/firefox entry:
Code: Select all
ls /usr/share/menu


It seems to be skipping some other programs, also.

I'd simply use obmenu to manually add the missing menu items and be done with it. Editing the menu.xml file directly isn't really that difficult once you take a look at it, but using obmenu is a lot faster and easier.
MALsPa
 
Posts: 639
Joined: 2007-12-07 19:20
Location: albuquerque

Re: OB - Updating Menu - missing apps

Postby Bulkley » 2018-05-22 01:46

Here's my menu.

Image

It needs lxmenu-data.

In the middle of menu.xml I have:
Code: Select all
 
     </menu>
      <menu id="/Debian"/>
      <menu execute="/usr/bin/openbox-menu lxde-applications.menu" id="desktop-app-menu" label="Lxde Menu"/>
      <!-- This requires the presence of the 'menu' package to work -->
      <menu id=""/>


In ~/.config/openbox I have debian-menu.xml , lxde-applications.menu and menu.xml .

Frankly, the Lxde pipe works better than the Debian pipe but I use both.
Bulkley
 
Posts: 5617
Joined: 2006-02-11 18:35

Re: OB - Updating Menu - missing apps

Postby makh » 2018-06-09 19:52

Bulkley wrote:...

Hi
I tried your method above, but I get:
https://ibb.co/kUnev8

I assume, may be I have not installed the lxde.

Thankyou
HP Probook 440 G2: Arch, Debian Stable
Server: none
Past: Debian, Centos, Ubuntu, Opensuse
GUI: Openbox, Cinnamon
Chroot: Debian, Ubuntu, Fedora
VM: Devuan

Employing the best:
Arabic
Debian
Homeopathic

For new: Try Linux Mint
User avatar
makh
 
Posts: 618
Joined: 2011-10-09 09:16


Re: OB - Updating Menu - missing apps

Postby makh » 2018-06-11 14:50

debiman wrote:...

Hi
This project seems to be outdated, ... but still I will try to run it. Then I will respond.
Thankyou
HP Probook 440 G2: Arch, Debian Stable
Server: none
Past: Debian, Centos, Ubuntu, Opensuse
GUI: Openbox, Cinnamon
Chroot: Debian, Ubuntu, Fedora
VM: Devuan

Employing the best:
Arabic
Debian
Homeopathic

For new: Try Linux Mint
User avatar
makh
 
Posts: 618
Joined: 2011-10-09 09:16

Re: OB - Updating Menu - missing apps

Postby debiman » 2018-06-12 05:33

makh wrote:This project seems to be outdated

wtf?
5 months too outdated for you? why are you using debian then?
User avatar
debiman
 
Posts: 2799
Joined: 2013-03-12 07:18

Re: OB - Updating Menu - missing apps

Postby Bulkley » 2018-06-12 15:18

OPENBOX ROOT MENU, SUB-MENUS, PIPE MENUS

This is site is stuffed with information.
Bulkley
 
Posts: 5617
Joined: 2006-02-11 18:35

Re: OB - Updating Menu - missing apps

Postby makh » 2018-06-14 17:50

debiman wrote:
makh wrote:This project seems to be outdated

wtf?
5 months too outdated for you? why are you using debian then?

Hi
1. B/c debian package is for Debian 8.0 not 9.0!!!
2. If he updated for some reason 5 months ago, it may be some bug, but not update the package. (Common sense).
Thankyou
HP Probook 440 G2: Arch, Debian Stable
Server: none
Past: Debian, Centos, Ubuntu, Opensuse
GUI: Openbox, Cinnamon
Chroot: Debian, Ubuntu, Fedora
VM: Devuan

Employing the best:
Arabic
Debian
Homeopathic

For new: Try Linux Mint
User avatar
makh
 
Posts: 618
Joined: 2011-10-09 09:16

Re: OB - Updating Menu - missing apps

Postby debiman » 2018-06-15 07:00

makh wrote:1. B/c debian package is for Debian 8.0 not 9.0!!!
2. If he updated for some reason 5 months ago, it may be some bug, but not update the package. (Common sense).

it's a PERL script, you don't need a debian package.
but i'll admit it was a little tricky to get the PERL dependencies just right on a debian machine...
maybe that has changed on stretch. who knows. you won't know until you try.
anyhow, this thread now contains enough information for you to "fix" your "issue".
any further comment from your side i will interpret as "i don't really want to fix my linux problems, i just want to complain & troll a little..."
User avatar
debiman
 
Posts: 2799
Joined: 2013-03-12 07:18


Return to General Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable