I[Solved] Newly installed apps. stopped showing in OpenBox Debian menu.
I make do with editing ~/.config/openbox/menu.xml and including the apps i want in the root menu but it doesn't seem right. After all, i have "menu" installed and with "update-menus" the newly installed applications should appear in the Debian menu, right?
Openbox 3.6.1 I should mention, it has it's own mind when it comes to showing apps. For eg. My browser, leafpad, pluma, abiword, even the media player, are not showing, while the recently installed GNS3 and VirtualBox are showing under Education and Emulators respectively without any effort on my part. In fact, even the categories for them were created automatically..! |
Is noone using Openbox with Debian minimal anymore? Has it gone out of fashion or something?
|
I am using Bunsenlabs (the successor to CrunchBang) that is based on Debian Stable with Openbox. I always manually edit the menu or use gui editor (obmenu) however there is a thread on the Bunsenlabs forum may be helpful. http://forums.bunsenlabs.org/viewtopic.php?id=1753
|
Quote:
Assuming you have "menu" installed and made a proper entry for it, it should act dynamic (while all the ob stuff becomes static). If you did create a proper entry for the "menu" package, check for errors in .xsession-errors. PS: If you prefer a clean (and dynamic/pipe) menu showing only desktop apps, try the "lxmenu-data" package. (https://packages.debian.org/jessie/lxmenu-data) Add it as a pipe menu (use the ob gui tool if preferred and run it with: obm-xdg /etc/xdg/menus/lxde-applications.menu |
you need a dynamically updating menu.
one of those two should be enough: https://github.com/trizen/obmenu-generator http://menumaker.sourceforge.net/ although it should really all be there in the debian menu, no idea why you can't find it. |
Thanks Ondoho, that menumaker's pretty nifty. But i was hoping to correct whatever was keeping the Debian menu from updating itself (had read something about menu overflow..). Anyway, with a few tweaks to the menu generated by mmaker, i think i can customize it to my liking. What a sweet utility, the things they come up with..pretty soon the average linux user will be as complacent as any Windows user.;)
Edit: Naah..My own obmenu is highly personalized and was created one bit at a time after months of tinkering with the system and getting comfortable with it. I just cannot do without some of the items in it, and which i found i could not add to the mmaker menu without saturating it to the extent that it stopped working. Nosirree, i will stick with my original, whatever doesn't appear in the Debian menu, i can always add to the root menu as i've done here. http://i.imgur.com/7G4CcHF.png |
Quote:
if you have difficulty getting mmaker's menu to show up in your openbox root menu, maybe this can help: this is how i generate the mmaker menu: Code:
#!/bin/dash Code:
<menu> Code:
<separator/> hope this helps. |
I didn't have any trouble with mmaker, "mmaker -f OpenBox" did everything automatically and generated a very neat menu with categories covering every application i had installed, from editors, media players, shells, you name it. But it overrode my own personalized menu which if you looked at the screenshot has these items which are absolutely indispensable, reboot, shutdown, the Openbox Restart button, the eject button, the buttons to switch between my ISP's DNS and OpenDNS..and when i try to add these to the mmaker menu, it stops showing everything.
Now about that part where the mmaker menu shows up as part of my openbox root menu, that is a possibility i have yet to explore.Will get back to you about how far i get with it soon. Thanks. |
Quote:
|
@mzsade,
Are you using upstream openbox or the debian package? "Menu" and friends work just fine for me and ob's static behavior is as expected (unless you add a proper pipe menu entry for it *inside* your existing config). Could you post your configs (as ondoho already showed)? This still looks like a syntax error (something like /debian vs .debian). |
/usr/share/doc/menu/html is quite informative. Copied /usr/share/menu/* to /etc/menu. Managed to add to SMPlayer and Abiword to the Debian Menu. Will need some more digesting of the article on my part to add them in the proper categories but i think i've the gist of it now. And Ondoho, that howto you posted didn't work, i got a mmaker.xml file in my .config but that's it. I think i'll stick with the default menu and obmenu and try to work my way with that.
@lens By upstream, do you mean not from the repository? I am on Debian Sid and all my apps. have been installed from the repos. Hope these are the configs you meant. ~/.config/openbox/menu.xml Code:
<?xml version="1.0" encoding="UTF-8"?> Code:
# -*- mode: shell-script; -*- Code:
<?xml version="1.0" encoding="UTF-8"?> |
Quote:
if you showed me what you did, and what you got, i might be able to help. maybe you executed the first script with bash instead of dash? with bash, you would need to use "echo -e" instead of "echo". |
[Solved]
You're right, i did use Bash, sorry, force of habit, at that point i felt i was making some headway with the Debian menu and the temptation of staying with the defaults was too great so i kindof rushed through your instructions, and i'm sure they'd have worked just fine had i followed them precisely. However, as i said, i think i have a grip on the Debian menu, to the extent that if an installed package does not automatically create an entry for it, i can create one manually for it. The only area in which i am stumped is creating the label "Office". I have labels for every category in my Debian menu except for that. This should have been created when i installed Libre Office but wasn't. Adding the label manually to /var/lib/debian-menu.xml doesn't work, it gets automatically removed. Apart from that, it's all good. If you have any thoughts on this please do share, your input has always been educational for me and i greatly appreciate it.
Edit: It occurred to me to try installing some lightweight office application besides Abiword (i had already removed LibreOffice, had no use for such an elaborate office suite, just needed a writer), so i decided to install grisbi, some obscure personal accounting software and lo and behold, i got the label "Office" in my Debian Menu and Abiword was neatly placed in there alongwith this grisbi. I owe it to this "grisbi" to at least check it out. :party: |
All times are GMT -5. The time now is 10:45 PM. |