Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Discussed] OB - Updating Menu - missing apps

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
makh
Posts: 651
Joined: 2011-10-09 09:16

[Discussed] OB - Updating Menu - missing apps

#1 Post by makh »

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.
ThinkPad E14: Arch, Debian Stable
GUI: Xfce

For new: Try MX Linux, Linux Mint; later join Debian Stable

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: OB - Updating Menu - missing apps

#2 Post by bw123 »

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.
resigned by AI ChatGPT

kevinthefixer
Posts: 190
Joined: 2018-05-05 22:30

Re: OB - Updating Menu - missing apps

#3 Post by kevinthefixer »

Or you could install MenuLibre.

User avatar
makh
Posts: 651
Joined: 2011-10-09 09:16

Re: OB - Updating Menu - missing apps

#4 Post by makh »

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
ThinkPad E14: Arch, Debian Stable
GUI: Xfce

For new: Try MX Linux, Linux Mint; later join Debian Stable

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: OB - Updating Menu - missing apps

#5 Post by bw123 »

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
resigned by AI ChatGPT

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: OB - Updating Menu - missing apps

#6 Post by Bulkley »

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.

MALsPa
Posts: 678
Joined: 2007-12-07 19:20
Location: albuquerque
Been thanked: 2 times

Re: OB - Updating Menu - missing apps

#7 Post by MALsPa »

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.

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: OB - Updating Menu - missing apps

#8 Post by Bulkley »

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.

User avatar
makh
Posts: 651
Joined: 2011-10-09 09:16

Re: OB - Updating Menu - missing apps

#9 Post by makh »

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
ThinkPad E14: Arch, Debian Stable
GUI: Xfce

For new: Try MX Linux, Linux Mint; later join Debian Stable


User avatar
makh
Posts: 651
Joined: 2011-10-09 09:16

Re: OB - Updating Menu - missing apps

#11 Post by makh »

debiman wrote:...
Hi
This project seems to be outdated, ... but still I will try to run it. Then I will respond.
Thankyou
ThinkPad E14: Arch, Debian Stable
GUI: Xfce

For new: Try MX Linux, Linux Mint; later join Debian Stable

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: OB - Updating Menu - missing apps

#12 Post by debiman »

makh wrote:This project seems to be outdated
wtf?
5 months too outdated for you? why are you using debian then?

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: OB - Updating Menu - missing apps

#13 Post by Bulkley »

OPENBOX ROOT MENU, SUB-MENUS, PIPE MENUS

This is site is stuffed with information.

User avatar
makh
Posts: 651
Joined: 2011-10-09 09:16

Re: OB - Updating Menu - missing apps

#14 Post by makh »

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
ThinkPad E14: Arch, Debian Stable
GUI: Xfce

For new: Try MX Linux, Linux Mint; later join Debian Stable

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: OB - Updating Menu - missing apps

#15 Post by debiman »

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..."

Post Reply