Package Details: openbox-menu 0.8.0-1

Git Clone URL: https://aur.archlinux.org/openbox-menu.git (read-only, click to copy)
Package Base: openbox-menu
Description: Dynamic XDG menu for openbox
Upstream URL: http://fabrice.thiroux.free.fr/openbox-menu_en.html
Licenses: GPL3
Submitter: kyak
Maintainer: kyak
Last Packager: kyak
Votes: 9
Popularity: 0.036969
First Submitted: 2015-08-11 14:40
Last Updated: 2017-11-25 05:07

Latest Comments

RedSky commented on 2020-05-16 15:29

@kyak Thank you for your advice.

Since the whole project is 3 years after last update, I just tried to fix it by myself. Now I've commented the issue and show my workaround. I'll mail the author later if no reply in bitbucket.

kyak commented on 2020-05-16 09:21

@RedSky Thanks for your effort in patching this problem you are facing.

You should send the patch (or pull request) to upstream authors. This way, everyone will benefit from this change, and not just Arch Linux AUR users. Also, it will enable feedback and review from original author and more eyes. Moreover, Arch approach is to provide as much vanilla packages as possible and only patch when it is absolutely necessary.

Thus said, the patch should be forced upstream and not applied ad-hoc to this package.

RedSky commented on 2020-05-15 20:27

Here is the issue: https://bitbucket.org/fabriceT/openbox-menu/issues/14/user-icons-not-shown-in-menu

I just happened to occur the same issue, and the patch is made by myself since the case concerned by the original code almost disappeared right now and icon name without file extension is by default.

kyak commented on 2020-05-15 05:46

Please provide a reference to upstream bug report and patch.

RedSky commented on 2020-05-14 19:05

please add this patch to fix icon search for applications with dot in their names (such as org.gnome.Calculator.desktop org.fontforge.FontForge.desktop in /usr/share/applications)


--- utils.c.orig    2020-05-15 02:42:28.352995616 +0800
+++ utils.c 2020-05-15 02:58:39.400583825 +0800
@@ -175,7 +175,8 @@
        /*  We remove the file extension as gtk_icon_theme_lookup_icon can't
         *  lookup a theme icon for, ie, 'geany.png'. It has to be 'geany'.
         */
-       tmp_name = strndup (name, strrchr (name, '.') - name);
+       /*tmp_name = strndup (name, strrchr (name, '.') - name);*/
+        tmp_name = strndup (name, strlen(name));
    #ifdef WITH_SVG
        icon_info = gtk_icon_theme_lookup_icon (icon_theme, tmp_name, 16, GTK_ICON_LOOKUP_GENERIC_FALLBACK);
    #else

kyak commented on 2015-11-07 07:44

you have to install one of the *-menu packages

darkcity commented on 2015-11-06 17:16

seems to either return error 'Can't get menu root directory' with

openbox-menu


or error 'File /etc/xdg/menus/applications.menu doesn't exist. Can't create menu.'

openbox-menu /etc/xdg/menus/applications.menu

-----

Looks like upstream is no longer

http://mimasgpc.free.fr/openbox-menu.html

but

http://fabrice.thiroux.free.fr/openbox-menu.html