Package Details: menulibre 2.2.3-1

Git Clone URL: https://aur.archlinux.org/menulibre.git (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: https://github.com/bluesabre/menulibre
Keywords: editor gnome menu
Licenses: GPL3
Submitter: Ner0
Maintainer: jonian
Last Packager: jonian
Votes: 199
Popularity: 1.06
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

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

This works for me!

Menulibre ZIP Download (/home/tamara/Downloads/): https://github.com/bluesabre/menulibre

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

Install: sudo python3 setup.py install

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

@lesebas: After studying what you shared along with Why you shouldn't invoke setup.py 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)

@yochananmarqos

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 :

https://packaging.python.org/en/latest/tutorials/installing-packages/#use-pip-for-installing

https://packaging.python.org/en/latest/discussions/pip-vs-easy-install/

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

https://wiki.archlinux.org/title/Talk:Python_package_guidelines#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)

@yochananmarqos

This PKGBUILD works fine for me:

https://pastebin.com/W3VG4vQq

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 setup.py install is deprecated and you should use pip. Here is the warning message when I use setup.py :

/usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py 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 https://launchpad.net/python-distutils-extra, 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/MenulibreApplication.py", line 2217, in do_activate self.win = MenulibreWindow(self, headerbar) File "/usr/lib/python3.9/site-packages/menulibre/MenulibreApplication.py", line 236, in init self.configure_application_actions(builder) File "/usr/lib/python3.9/site-packages/menulibre/MenulibreApplication.py", 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.

dieghor commented on 2021-04-25 11:47 (UTC)

Hi, this may be a really noob question, but i've been searching for days about this issue and tried a couple thing but nothing worked. I'm getting this output when trying to update the package:

To build menulibre you need https://launchpad.net/python-distutils-extra :: Unable to build menulibre - makepkg exited with code: 4

I've the package installed from community, which is this one: community/python-distutils-extra 2.39-8 [installed]

I've changed the PKGBUILD to python3, but nothing happened.

jonian commented on 2021-04-12 22:07 (UTC)

@dvcky I have released a fix. Please try again with the installation.

earlybird commented on 2021-01-28 07:36 (UTC)

Can you up the number on AUR so that people will rebuild the package? then it will work fine again

zangoku commented on 2020-12-04 05:05 (UTC)

@jonian Thank you for the reply, I uninstalled menulibre, updated python and then reinstalled it.

jonian commented on 2020-12-02 19:14 (UTC)

@zangoku this package does not require a specific python version. I have both python 3.9.0-1 and menulibre installed without issues.

zangoku commented on 2020-12-02 15:29 (UTC)

":: installing python (3.9.0-1) breaks dependency 'python<3.9' required by menulibre"

NoobAlice commented on 2020-10-25 06:17 (UTC)

No new release yet, but as of June 2020, this project has moved to Github: https://launchpad.net/menulibre/+announcement/23266

dunestorm commented on 2020-06-07 21:41 (UTC)

A well made and essential application, it should really be part of core GNOME! It seems to be far less buggy than the now ancient Alacarte Editor.

clidx commented on 2019-09-08 20:01 (UTC) (edited on 2019-09-08 20:01 (UTC) by clidx)

Changing the PKGBUILD didn't work for me.

transformer% which python3
/usr/bin/python3
transformer% which python
/usr/bin/python
transformer% pacman -Q python3
python 3.7.4-1

Pant commented on 2019-08-12 00:09 (UTC)

In PKGBUILD file it needs to be changed "python setup.py install --root="$pkgdir/" --optimize=1" to "python3 setup.py install --root="$pkgdir/" --optimize=1"

serdarsaglam commented on 2019-06-09 09:41 (UTC)

Hi, Latest version is 2.2.1

The current version has python errors, application does not open

Zeioth commented on 2019-05-21 22:11 (UTC)

I got the error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 60: unexpected end of data

This patch is needed to make it work. https://launchpadlibrarian.net/413008793/cut.patch

sleeping commented on 2019-05-09 09:04 (UTC)

New error:

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 2217, in do_activate
    self.win = MenulibreWindow(self, headerbar)
  File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 250, in __init__
    self.configure_application_treeview(builder)
  File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 589, in configure_application_treeview
    self.treeview = MenulibreTreeview.Treeview(self, builder)
  File "/usr/lib/python3.7/site-packages/menulibre/MenulibreTreeview.py", line 48, in __init__
    self._configure_treeview(builder)
  File "/usr/lib/python3.7/site-packages/menulibre/MenulibreTreeview.py", line 59, in _configure_treeview
    treestore = MenuEditor.get_treestore()
  File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 122, in get_treestore
    menu = get_menus()[0]
  File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 191, in get_menus
    menu = MenuEditor()
  File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 246, in __init__
    self.load()
  File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 264, in load
    if not self.tree.load_sync():
gi.repository.GLib.Error: g-io-error-quark: Failed to look up menu_file for "kf5-applications.menu"

axalox commented on 2019-05-02 14:53 (UTC) (edited on 2019-05-02 14:53 (UTC) by axalox)

It doesn't seems to work

DEBUG:menulibre: set_up_logging() 'logging enabled'

(menulibre:14054): Gtk-WARNING **: 16:52:53.515: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton

(menulibre:14054): Gtk-WARNING **: 16:52:53.576: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton DEBUG:menulibre: init() 'Using menu: /home/test/.config/menus/gnome-applications.menu' Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 2217, in do_activate self.win = MenulibreWindow(self, headerbar) File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 250, in init self.configure_application_treeview(builder) File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 589, in configure_application_treeview self.treeview = MenulibreTreeview.Treeview(self, builder) File "/usr/lib/python3.7/site-packages/menulibre/MenulibreTreeview.py", line 48, in init self._configure_treeview(builder) File "/usr/lib/python3.7/site-packages/menulibre/MenulibreTreeview.py", line 59, in _configure_treeview treestore = MenuEditor.get_treestore() File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 123, in get_treestore return menu_to_treestore(treestore, None, menu) File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 111, in menu_to_treestore treestore = menu_to_treestore(treestore, treeiter, item[3]) File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 100, in menu_to_treestore tooltip = escapeText(item[2]['comment']) File "/usr/lib/python3.7/site-packages/menulibre/util.py", line 99, in escapeText return GLib.markup_escape_text(text, len(text)) File "/usr/lib/python3.7/site-packages/gi/overrides/GLib.py", line 415, in markup_escape_text return GLib.markup_escape_text(text, length) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 45: unexpected end of data

jose1711 commented on 2019-03-29 20:52 (UTC)

the following patch fixed it for me:

--- /usr/lib/python3.7/site-packages/menulibre/util.py.orig 2019-03-29 21:48:23.082059504 +0100
+++ /usr/lib/python3.7/site-packages/menulibre/util.py  2019-03-29 21:48:29.895392887 +0100
@@ -96,7 +96,7 @@
 def escapeText(text):
     if text is None:
         return ""
-    return GLib.markup_escape_text(text, len(text))
+    return GLib.markup_escape_text(text)


 def getProcessUsername(process):

credits: https://bugs.launchpad.net/menulibre/+bug/1817885

henriquemaia commented on 2019-03-24 22:44 (UTC)

Running menulibre on my end also returns the same error as j1simon (https://aur.archlinux.org/account/j1simon).

clodio commented on 2019-03-24 02:59 (UTC)

Same problem for me, can't launch menulibre

j1simon commented on 2019-03-21 16:09 (UTC) (edited on 2019-03-21 16:09 (UTC) by j1simon)

I can't execute it:

$ menulibre

(menulibre:5308): Gtk-WARNING **: 17:08:21.639: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton

(menulibre:5308): Gtk-WARNING **: 17:08:21.671: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 2217, in do_activate
    self.win = MenulibreWindow(self, headerbar)
  File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 250, in __init__
    self.configure_application_treeview(builder)
  File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 589, in configure_application_treeview
    self.treeview = MenulibreTreeview.Treeview(self, builder)
  File "/usr/lib/python3.7/site-packages/menulibre/MenulibreTreeview.py", line 48, in __init__
    self._configure_treeview(builder)
  File "/usr/lib/python3.7/site-packages/menulibre/MenulibreTreeview.py", line 59, in _configure_treeview
    treestore = MenuEditor.get_treestore()
  File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 123, in get_treestore
    return menu_to_treestore(treestore, None, menu)
  File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 111, in menu_to_treestore
    treestore = menu_to_treestore(treestore, treeiter, item[3])
  File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 100, in menu_to_treestore
    tooltip = escapeText(item[2]['comment'])
  File "/usr/lib/python3.7/site-packages/menulibre/util.py", line 99, in escapeText
    return GLib.markup_escape_text(text, len(text))
  File "/usr/lib/python3.7/site-packages/gi/overrides/GLib.py", line 415, in markup_escape_text
    return GLib.markup_escape_text(text, length)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 48: unexpected end of data

I've reinstalled it but same problem.

jonian commented on 2019-03-20 18:19 (UTC)

@Turo hi, I can't reproduce the problem. It works without problems for me.

Turbo commented on 2019-03-17 15:11 (UTC)

hi, since this last few days i can't launch menulibre any more. I get this output error:

/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py menulibre arch linux ...

I have re-build it but it is still not ok.

phil.dubois commented on 2018-08-08 00:01 (UTC)

@PhotonX and @spsf64: that did it, thank you.

PhotonX commented on 2018-08-07 06:47 (UTC)

@phil.dubois: When rebuilding, make sure that the build directory is empty.

spsf64 commented on 2018-08-07 06:20 (UTC)

@phil.dubois you have to rebuild the package because of new python

phil.dubois commented on 2018-08-07 01:20 (UTC) (edited on 2018-08-07 01:23 (UTC) by phil.dubois)

The following error is not solved by reinstalling the package:

phil@desktop ~ % menulibre
Traceback (most recent call last):
  File "/usr/bin/menulibre", line 44, in <module>
    import menulibre
ModuleNotFoundError: No module named 'menulibre'

TaZeR commented on 2018-04-12 15:25 (UTC)

Why isn't this in the official repos yet? Simply the best menu editor.

commented on 2018-02-24 01:29 (UTC)

evana, this is out of date, I've updated the version number and MD5 here: https://pastebin.com/G0s9mBUU

j1simon commented on 2018-02-21 13:28 (UTC)

Has this package been abandoned?

schaetzc commented on 2017-07-07 11:32 (UTC)

I'm having the same problem as nipsky and 87dv. Tried reinstalling menulibre and deleting ~/.config/menus. Nothing helped.

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'

j1simon commented on 2017-05-11 22:25 (UTC)

It lacks another dependency: xdg-utils

nipsky commented on 2017-03-19 09:23 (UTC) (edited on 2017-03-19 09:23 (UTC) by nipsky)

I’m getting an error that resembles 87dv’s when starting the application: /usr/lib/python3.6/site-packages/menulibre/MenuEditor.py:28: PyGIWarning: GMenu was imported without specifying a version first. Use gi.require_version('GMenu', '3.0') before import to ensure that the right version gets loaded. from gi.repository import GdkPixbuf, Gio, GLib, GMenu, Gtk No menu prefix found, MenuLibre will not function properly. WARNING:menulibre: getDefaultMenuPrefix() 'No menu prefix found, MenuLibre will not function properly.' Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/menulibre/MenulibreApplication.py", line 1717, in do_activate self.win = MenulibreWindow(self) File "/usr/lib/python3.6/site-packages/menulibre/MenulibreApplication.py", line 207, in __init__ self.configure_application_treeview(builder) File "/usr/lib/python3.6/site-packages/menulibre/MenulibreApplication.py", line 462, in configure_application_treeview self.treeview = MenulibreTreeview.Treeview(self, builder) File "/usr/lib/python3.6/site-packages/menulibre/MenulibreTreeview.py", line 43, in __init__ self._configure_treeview(builder) File "/usr/lib/python3.6/site-packages/menulibre/MenulibreTreeview.py", line 54, in _configure_treeview treestore = MenuEditor.get_treestore() File "/usr/lib/python3.6/site-packages/menulibre/MenuEditor.py", line 113, in get_treestore menu = get_menus()[0] File "/usr/lib/python3.6/site-packages/menulibre/MenuEditor.py", line 175, in get_menus menu = MenuEditor() File "/usr/lib/python3.6/site-packages/menulibre/MenuEditor.py", line 227, in __init__ self.load() File "/usr/lib/python3.6/site-packages/menulibre/MenuEditor.py", line 245, in load if not self.tree.load_sync(): GLib.Error: g-io-error-quark: Failed to look up menu_file for "applications.menu" (0)

francoism90 commented on 2017-01-10 18:38 (UTC)

Think a makedep should be moved to dep: extra/intltool 0.51.0-1 0.04 MiB extra/perl-xml-parser 2.44-3 0.14 MiB community/python-distutils-extra 2.39-2 0.02 MiB One of the above, maybe the last one. On reinstall menulibre opens without any issues. Thanks. :)

PhotonX commented on 2016-08-09 14:40 (UTC)

I get the same error as 87dv, any thoughts on how to get rid of it?

87dv commented on 2015-11-03 21:45 (UTC)

sys:1: PyGIWarning: GMenu was imported without specifying a version first. Use gi.require_version('GMenu', '3.0') before import to ensure that the right version gets loaded. Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/menulibre/MenulibreApplication.py", line 1717, in do_activate self.win = MenulibreWindow(self) File "/usr/lib/python3.5/site-packages/menulibre/MenulibreApplication.py", line 207, in __init__ self.configure_application_treeview(builder) File "/usr/lib/python3.5/site-packages/menulibre/MenulibreApplication.py", line 462, in configure_application_treeview self.treeview = MenulibreTreeview.Treeview(self, builder) File "/usr/lib/python3.5/site-packages/menulibre/MenulibreTreeview.py", line 43, in __init__ self._configure_treeview(builder) File "/usr/lib/python3.5/site-packages/menulibre/MenulibreTreeview.py", line 54, in _configure_treeview treestore = MenuEditor.get_treestore() File "/usr/lib/python3.5/site-packages/menulibre/MenuEditor.py", line 113, in get_treestore menu = get_menus()[0] File "/usr/lib/python3.5/site-packages/menulibre/MenuEditor.py", line 183, in get_menus structure.append(get_submenus(menu, top[0])) File "/usr/lib/python3.5/site-packages/menulibre/MenuEditor.py", line 151, in get_submenus submenus = get_submenus(menu, child) File "/usr/lib/python3.5/site-packages/menulibre/MenuEditor.py", line 126, in get_submenus entry_id = child.get_desktop_file_id() UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 8: invalid continuation byte

Bazon commented on 2015-10-14 18:17 (UTC)

Something is wrong here, it doesn't start for me. See http://pastebin.com/JhWH5qUt I think, the problem is "ImportError: cannot import name GMenu, introspection typelib not found".

evana commented on 2015-08-12 03:57 (UTC)

Thanks @richin13, updated

richin13 commented on 2015-08-11 14:30 (UTC)

This package is out of date. Update it to menulibre-2.0.7 https://gist.github.com/richin13/2077b4a404564af78224

katiepea commented on 2015-06-03 01:05 (UTC)

I fixed my issue with this build by correcting my locale which wasn't generated properly apparently export LANG=en_US.UTF-8 then building with the supplied updated PKGBUILD yielded a successful build.

katiepea commented on 2015-05-29 01:36 (UTC)

I've tried with your updated PKGBUILD and it still fails the same for me.

MichaelTunnell commented on 2015-05-27 20:55 (UTC)

@luiscuadrado123 did you build it with my updated PKGBUILD?

luiscuadrado123 commented on 2015-05-21 11:15 (UTC)

Hello!!... i have Manjaro (up-to-date). And when i want to run menulibre i get this error and the program don't start: [lui@lui-notebook ~]$ menulibre /usr/lib/python3.4/site-packages/menulibre_lib/helpers.py:41: Warning: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version. builder.add_from_file(ui_filename) /usr/lib/python3.4/site-packages/menulibre_lib/helpers.py:41: Warning: The property GtkWidget:margin-right is deprecated and shouldn't be used anymore. It will be removed in a future version. builder.add_from_file(ui_filename) /usr/lib/python3.4/site-packages/menulibre_lib/helpers.py:41: Warning: The property GtkAlignment:left-padding is deprecated and shouldn't be used anymore. It will be removed in a future version. builder.add_from_file(ui_filename) /usr/lib/python3.4/site-packages/menulibre_lib/helpers.py:41: Warning: The property GtkButton:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version. builder.add_from_file(ui_filename) /usr/lib/python3.4/site-packages/menulibre_lib/helpers.py:41: Warning: The property GtkImageMenuItem:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version. builder.add_from_file(ui_filename) /usr/lib/python3.4/site-packages/menulibre_lib/helpers.py:41: Warning: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version. builder.add_from_file(ui_filename) /usr/lib/python3.4/site-packages/menulibre_lib/helpers.py:41: Warning: The property GtkTreeView:rules-hint is deprecated and shouldn't be used anymore. It will be removed in a future version. builder.add_from_file(ui_filename) Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/menulibre/MenulibreApplication.py", line 2745, in do_activate self.win = MenulibreWindow(self) File "/usr/lib/python3.4/site-packages/menulibre/MenulibreApplication.py", line 349, in __init__ self.configure_application_treeview(builder) File "/usr/lib/python3.4/site-packages/menulibre/MenulibreApplication.py", line 574, in configure_application_treeview treestore = MenuEditor.get_treestore() File "/usr/lib/python3.4/site-packages/menulibre/MenuEditor.py", line 113, in get_treestore menu = get_menus()[0] File "/usr/lib/python3.4/site-packages/menulibre/MenuEditor.py", line 183, in get_menus structure.append(get_submenus(menu, top[0])) File "/usr/lib/python3.4/site-packages/menulibre/MenuEditor.py", line 151, in get_submenus submenus = get_submenus(menu, child) File "/usr/lib/python3.4/site-packages/menulibre/MenuEditor.py", line 126, in get_submenus entry_id = child.get_desktop_file_id() UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 0: invalid start byte Any idea how to solve?

MichaelTunnell commented on 2015-04-16 20:16 (UTC)

I updated the PKGBUILD to work with MenuLibre 2.0.6 so you can use my modified PKGBUILD if you want the latest version and maybe it will be added to this AUR item. http://michaeltunnell.com/files/aur/menulibre/PKGBUILD If you use yaourt then when it asks to edit PKGBUILD, choose yes and replace the text of 2.0.5 PKGBUILD with the contents of the PKGBUILD I provided above.

Spike29 commented on 2015-03-01 09:28 (UTC)

Hello, version 2.0.6 is available :)

francoism commented on 2015-01-28 21:14 (UTC)

Thanks for providing this package. Tested (builds & installs): works great on Gnome 3.14. :) Seems to be a good alternative for alacarte.

thermoplastics commented on 2014-10-31 14:47 (UTC)

Makepkg was unable to build menulibre.

jemadux commented on 2014-10-28 12:33 (UTC)

cant build

MichaelTunnell commented on 2014-07-19 20:26 (UTC)

This flag for out of date seems inaccurate because this AUR package appears to be for the stable version of this app so since the latest updates are only in the development branch then this app is current.

Senpos commented on 2014-05-05 14:42 (UTC)

It works not really good with WhiskerMenu on XFCE. I mean, it's not good to restart MenuLibre every time i hide an application from the menu. If i try to press "Save" button - program segfalt's and i need to use method described by @Ferik. :(

Ferik commented on 2014-03-28 07:19 (UTC)

@rilez if menulibre crashes try to rename o remove "menus" folder in home directory: $ cd ~/.config/ $ mv menus menus.old and reopen menulibre.

rilez commented on 2014-03-19 00:03 (UTC)

I've updated the PKGBUILD with correct dependencies, but the program seems to crash after saving a launcher: http://pastebin.com/raw.php?i=acEvL9fP

Black_Codec commented on 2014-01-23 11:05 (UTC)

New release 2.0 :)

wangchong commented on 2013-07-30 05:40 (UTC)

Well,I deleted bluetooth-sendto.desktop and it works well.

wangchong commented on 2013-07-30 05:05 (UTC)

Again I found no such shortcut. However, there indeed exists an item in alacarte under which the command is "/usr/bin/menulibre". After typing this commmand into terminal, I got this message: Traceback (most recent call last): File "/usr/bin/menulibre", line 49, in <module> menulibre.main() File "/usr/lib/python2.7/site-packages/menulibre/__init__.py", line 44, in main window = MenulibreWindow.MenulibreWindow() File "/usr/lib/python2.7/site-packages/menulibre_lib/Window.py", line 48, in __new__ new_object.finish_initializing(builder) File "/usr/lib/python2.7/site-packages/menulibre/MenulibreWindow.py", line 118, in finish_initializing self.get_interface() File "/usr/lib/python2.7/site-packages/menulibre/MenulibreWindow.py", line 173, in get_interface self.initialize_appselection_iconview() File "/usr/lib/python2.7/site-packages/menulibre/MenulibreWindow.py", line 1429, in initialize_appselection_iconview apps.append([pixbuf, escape(app["Name"]), desktop_file, app["Categories"], app["Comment"]]) File "/usr/lib/python2.7/site-packages/menulibre_lib/MenulibreXdg.py", line 54, in __getitem__ return self.get_property('Desktop Entry', prop_name, default_locale) File "/usr/lib/python2.7/site-packages/menulibre_lib/MenulibreXdg.py", line 103, in get_property prop = self.get_named_property(category, prop_name, locale_str) File "/usr/lib/python2.7/site-packages/menulibre_lib/MenulibreXdg.py", line 121, in get_named_property entry = xdg.DesktopEntry.DesktopEntry(self.filename) File "/usr/lib/python2.7/site-packages/xdg/DesktopEntry.py", line 33, in __init__ self.parse(filename) File "/usr/lib/python2.7/site-packages/xdg/DesktopEntry.py", line 42, in parse IniFile.parse(self, file, ["Desktop Entry", "KDE Desktop Entry"]) File "/usr/lib/python2.7/site-packages/xdg/IniFile.py", line 102, in parse raise ParsingError("[%s]-Header missing" % headers[0], filename) xdg.Exceptions.ParsingError: ParsingError in file '/home/wangchong/.local/share/applications/bluetooth-sendto.desktop', [Desktop Entry]-Header missing

Ner0 commented on 2013-07-28 13:51 (UTC)

It should appear as "Menu Editor" somewhere in System or Settings menu.

wangchong commented on 2013-07-28 12:45 (UTC)

After installation, I found no shortcut for this program. I don't know how to start the program. Is there a command? ps. I am using gnome.

Ner0 commented on 2013-04-18 16:23 (UTC)

Fixed.

nikola_cz commented on 2013-04-18 12:38 (UTC)

After update get this error: File "/usr/bin/menulibre", line 48, in <module> import menulibre File "/usr/lib/python2.7/site-packages/menulibre/__init__.py", line 25, in <module> from menulibre import MenulibreWindow File "/usr/lib/python2.7/site-packages/menulibre/MenulibreWindow.py", line 23, in <module> from gi.repository import Gtk, Gdk, GdkPixbuf, GObject, GtkSource # pylint: disable=E0611 ImportError: cannot import name GtkSource

mamamia88 commented on 2013-03-27 14:35 (UTC)

Holy crap that was fast

Ner0 commented on 2013-03-27 14:21 (UTC)

It should be working now.

mamamia88 commented on 2013-03-27 14:04 (UTC)

Doesn't work as root either Traceback (most recent call last): File "/usr/bin/menulibre", line 48, in <module> import menulibre File "/usr/lib/python2.7/site-packages/menulibre/__init__.py", line 25, in <module> from menulibre import MenulibreWindow File "/usr/lib/python2.7/site-packages/menulibre/MenulibreWindow.py", line 31, in <module> from menulibre_lib import Window, IconTheme, MenulibreXdg File "/usr/lib/python2.7/site-packages/menulibre_lib/MenulibreXdg.py", line 19, in <module> import xdg ImportError: No module named xdg

mamamia88 commented on 2013-03-27 13:59 (UTC)

Well I fixed that by changing line 16 with the actual path for my system which was /tmp/yaourt-tmp-username/aur-menulibre/src/trunk/ Doesn't open though

mamamia88 commented on 2013-03-27 13:51 (UTC)

Trying to update yields /tmp/yaourt-tmp-root/aur-menulibre/./PKGBUILD: line 16: cd: menulibre: No such file or directory

edoardo commented on 2013-03-26 12:25 (UTC)

Thanks Ner0, I just saw that there's a really fresh fix so when you want you can re-upload the package with the patch. Have a nice day!

Ner0 commented on 2013-03-24 21:06 (UTC)

Yup, i get that too. It works fine when i run it as root. There's a bug report. https://bugs.launchpad.net/menulibre/+bug/1159375

edoardo commented on 2013-03-22 16:48 (UTC)

After the last update I get this error when I try to run Menulibre: $ menulibre Traceback (most recent call last): File "/usr/bin/menulibre", line 47, in <module> menulibre.main() File "/usr/lib/python2.7/site-packages/menulibre/__init__.py", line 44, in main window = MenulibreWindow.MenulibreWindow() File "/usr/lib/python2.7/site-packages/menulibre_lib/Window.py", line 48, in __new__ new_object.finish_initializing(builder) File "/usr/lib/python2.7/site-packages/menulibre/MenulibreWindow.py", line 92, in finish_initializing self.get_interface() File "/usr/lib/python2.7/site-packages/menulibre/MenulibreWindow.py", line 150, in get_interface self.initialize_appselection_iconview() File "/usr/lib/python2.7/site-packages/menulibre/MenulibreWindow.py", line 1389, in initialize_appselection_iconview apps.append([pixbuf, escape(app["Name"]), desktop_file, app["Categories"], app["Comment"]]) File "/usr/lib/python2.7/site-packages/menulibre_lib/MenulibreXdg.py", line 54, in __getitem__ return self.get_property('Desktop Entry', prop_name, default_locale) File "/usr/lib/python2.7/site-packages/menulibre_lib/MenulibreXdg.py", line 100, in get_property prop = self.get_named_property(category, prop_name, locale_str) File "/usr/lib/python2.7/site-packages/menulibre_lib/MenulibreXdg.py", line 119, in get_named_property if prop_name == 'Name': return str(entry.getName()) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2122' in position 8: ordinal not in range(128)

Spike29 commented on 2013-03-18 20:08 (UTC)

Hi, version 13.03.1 is out :-) New md5sum : 488bc27f87deea926467e10e90670653.

Spike29 commented on 2013-01-27 13:14 (UTC)

Hi, version 13.01.4 is out :) New md5sum is 0e0a9477b1b2ae55a3da5e83e653eb26.

pezcurrel commented on 2012-11-01 11:58 (UTC)

Ok, I see you did it, you should also update the release number from 1 to 2, I think, unless this is the first aur release for menulibre version 12.10.1 (I can't remember) :)

Ner0 commented on 2012-11-01 05:55 (UTC)

I'll just remove the signature.

pezcurrel commented on 2012-10-31 23:40 (UTC)

I have this problem... ==> Validating source files with md5sums... menulibre_12.10.1.tar.gz ... Passed menulibre_12.10.1.tar.gz.asc ... Passed ==> Verifying source file signatures with gpg... menulibre_12.10.1.tar.gz ... FAILED (unknown public key 76E6FEEC95FC5E22) ==> WARNING: Warnings have occurred while verifying the signatures. Please make sure you really trust them.

kotyz commented on 2012-08-22 11:19 (UTC)

[kotyz @ deathstar : ~] $ menulibre Traceback (most recent call last): File "/usr/bin/menulibre", line 43, in <module> import menulibre File "/usr/lib/python2.7/site-packages/menulibre/__init__.py", line 25, in <module> from menulibre import MenulibreWindow File "/usr/lib/python2.7/site-packages/menulibre/MenulibreWindow.py", line 27, in <module> from menulibre_lib import Window, IconTheme, Applications File "/usr/lib/python2.7/site-packages/menulibre_lib/IconTheme.py", line 65, in <module> filename = open( filename, 'r') NameError: name 'filename' is not defined

commented on 2012-08-10 17:45 (UTC)

Thanks for the package. However, gsettings-desktop-schemas is missing in the dependencies. Without it menulibre won't start.

GuestOne commented on 2012-08-07 06:10 (UTC)

Latest version is 12.8.7

Ner0 commented on 2012-07-30 16:45 (UTC)

I get this error too. The package worked when i first posted it, i guess the problem is with python2-gobject and python2-gobject2 updates. Ive submitted a bug report: https://bugs.launchpad.net/menulibre/+bug/1030959

ShyPixie commented on 2012-07-30 06:32 (UTC)

did not work here http://sprunge.us/OWIT?python and i also needed the python2-gconf

commented on 2012-07-25 15:49 (UTC)

python2-gconf is missing in depends.