Package Details: menulibre 2.2.3-1

Git Clone URL: (read-only, click to copy)
Package Base: menulibre
Description: An advanced menu editor that provides modern features in a clean, easy-to-use interface
Upstream URL:
Keywords: editor gnome menu
Licenses: GPL3
Submitter: Ner0
Maintainer: jonian
Last Packager: jonian
Votes: 202
Popularity: 1.52
First Submitted: 2012-07-10 05:32 (UTC)
Last Updated: 2021-09-26 19:30 (UTC)

Pinned Comments

evana commented on 2017-05-14 22:11 (UTC)

Please do not flag out of date unless the package is behind the upstream version. If you're having trouble launching menulibre due the following error, reinstalling the package should fix it. Traceback (most recent call last): File "/usr/bin/menulibre", line 40, in <module> import menulibre ModuleNotFoundError: No module named 'menulibre'

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

Tamara commented on 2022-02-20 14:22 (UTC)

This works for me!

Menulibre ZIP Download (/home/tamara/Downloads/):

unpack /home/tamara/Downloads/menulibre-master/

Install: sudo python3 install

yochananmarqos commented on 2022-02-08 00:54 (UTC)

@lesebas: After studying what you shared along with Why you shouldn't invoke directly, I see your PKGBUILD is indeed a viable alternative to using distutils-extra for this package. However, you seem to be the only one having an issue with the current PKGBUILD which will still work until Python 3.12 is out, probably.

In the future, I imagine the Arch Python package guidelines would end up looking something like this using Build and Pip:

build() {
  cd "$_name-$pkgver"
  python -m build

package() {
  cd "$_name-$pkgver"
  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl

lesebas commented on 2022-02-03 07:30 (UTC) (edited on 2022-02-03 08:06 (UTC) by lesebas)


The recommendation in python package guidelines about pip are pretty old (they are speaking about the bug related .pyo that has been solved since 2017). It's clearly recommended into official python documentation to use pip :

See the discussion on python packaging guidelines about pip (section 6 :Future of Python packaging in Arch Linux?) :

However is there any clue why menulibre library does not install with the current PKGBUILD (I've tried several uninstall/reinstall but that definitely doesn't work for me)?

yochananmarqos commented on 2022-02-02 23:20 (UTC)

@lesebas: Using Pip should be avoided and that is not the way to do it. See Python package guidelines/.

lesebas commented on 2022-02-02 21:07 (UTC) (edited on 2022-02-02 21:11 (UTC) by lesebas)


This PKGBUILD works fine for me:

The current one permanently crash as it does not install menulibre library into python3.10 lib folder.

yochananmarqos commented on 2022-02-02 00:53 (UTC) (edited on 2022-02-02 00:53 (UTC) by yochananmarqos)

@lesebas: I just built it just fine without those warnings. DistUtils is what's deprecated and will no longer be supported in Python 3.12.

lesebas commented on 2022-02-01 21:28 (UTC)

I've got the error import menulibre ModuleNotFoundError: No module named 'menulibre'

even if I try to reinstall it does not work. It seems that python install is deprecated and you should use pip. Here is the warning message when I use :

/usr/lib/python3.10/site-packages/setuptools/command/ SetuptoolsDeprecationWarning: install is deprecated. Use build and pip and other standards-based tools. warnings.warn(

When I use the following command it works :

sudo python -m pip install ./menulibre-2.2.3.tar.gz

However I'm not sure how to create a pkgbuild with this command.

Diaoul commented on 2021-07-25 13:25 (UTC) (edited on 2021-07-25 13:26 (UTC) by Diaoul)

Anyone hitting this error: To build menulibre you need, make sure you have python-distutils-extra installed and are NOT in a virtualenv.

kd353 commented on 2021-07-11 22:38 (UTC)

Hello, I am having an issue launching menulibre 2.2.1-3 on Manjaro XFCE (everything up-to-date).

I have tried reinstalling. Clicking the icon does not so anything and if I run from the terminal I get the following output;

$ menulibre

(menulibre:2927): Gtk-WARNING **: 23:36:02.164: Locale not supported by C library. Using the fallback 'C' locale. Gtk-Message: 23:36:02.273: Failed to load module "colorreload-gtk-module"

(menulibre:2927): Gtk-WARNING **: 23:36:02.391: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton

(menulibre:2927): Gtk-WARNING **: 23:36:02.533: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/menulibre/", line 2217, in do_activate = MenulibreWindow(self, headerbar) File "/usr/lib/python3.9/site-packages/menulibre/", line 236, in init self.configure_application_actions(builder) File "/usr/lib/python3.9/site-packages/menulibre/", line 390, in configure_application_actions label=_('Add _Launcher…'), UnicodeDecodeError: 'locale' codec can't decode byte 0xe2 in position 13: decoding error

Any thoughts on what else I could try? Thank you.

jonian commented on 2021-04-25 13:21 (UTC)

Hi @dieghor, I'm able to build the package without problems. Try to uninstall the package, clear your AUR helper cache and try to reinstall.