Package Details: alacarte-xfce 3.11.91.r18.g40c8c60-3

Git Clone URL: https://aur.archlinux.org/alacarte-xfce.git (read-only)
Package Base: alacarte-xfce
Description: Menu editor for Xfce
Upstream URL: http://www.gnome.org
Licenses: LGPL
Groups: xfce4-goodies
Conflicts: alacarte, alacarte-git, alacarte-xfce-devel
Provides: alacarte=3.11.91.r18.g40c8c60
Submitter: Barthalion
Maintainer: jamesan
Last Packager: jamesan
Votes: 60
Popularity: 0.000179
First Submitted: 2011-07-20 07:46
Last Updated: 2018-07-14 18:19

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

taotedice commented on 2013-04-26 16:07

plp:

Right - thanks for checking that code. I do not think the solution is to implement a previous version.

Question about the fundamental purpose of alacarte, now (ver 3.7.x): It is primarily a gnome3 support package, and I don't think the new gnome3 DE has much use for menu 'folders' any longer - true? Maybe the code that handles 'folders' has been ignored, since it is no longer really necessary for the gnome3 interface? Just a thought...

ShyPixie commented on 2013-04-26 12:43

Add python2-gobject in depends.

Traceback (most recent call last):
File "/usr/bin/alacarte", line 21, in <module>
from Alacarte.MainWindow import main
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 20, in <module>
import gi
ImportError: No module named gi

plp commented on 2013-04-26 05:40

taotedice:

I don't think this is the problem. I looked into MenuEditor.py, and it looks like the $XDG_MENU_PREFIX bug has already been fixed upstream in 3.7.90. (Which actually makes sense, as nothing would have worked with XFCE if it hadn't been.)

Here's the actual code:

def get_default_menu():
prefix = os.environ.get('XDG_MENU_PREFIX', '')
return prefix + 'applications.menu'

class MenuEditor(object):
def __init__(self, basename=None):
basename = basename or get_default_menu()

Unless I'm mistaken, the problem with Ubuntu's patches is that they are for a very old version of Alacarte (3.5.5) that will probably not even run under Arch. So, we either have to go through all of them and try to re-write them for 3.7.90, or revert back to 3.5.5, apply Ubuntu's patches to it, and then try to modify it to make it work.

I don't know which you guys think would be the best option.

taotedice commented on 2013-04-26 00:44

Good suggestion jlacroix.

Xubuntu 12.10's original menu editor, alacarte-3.5.5, had similar issues and was patched: '40-xdg-menu-prefix: updated and reenabled to bring back support of $XDG_MENU_PREFIX'. The patched code does work. I'm not familiar enough with the alacarte package to apply it myself to the current version, unless I do more homework...

Link to the Ubuntu alacarte page describing the issue and patch: https://code.launchpad.net/~ubuntu-branches/ubuntu/quantal/alacarte/quantal-updates

jlacroix commented on 2013-04-25 20:30

For what it may be worth, Alacarte is working perfectly fine in Xubuntu 12.10 and 13.04. It may be worth browsing their notes or bug reports to find out how they made it work.

plp commented on 2013-04-25 17:15

taotedice:

I also noticed that menus don't work but never got around to investigating why that is. The .directory files created by Alacarte appear to be valid, but XFCE doesn't want to honour them.

If you want to try and figure out what's happening, please do so and let me know about your findings. If you can figure this out, I can help you patch Alacarte to make menus work.

taotedice commented on 2013-04-25 09:02

Thanks for maintaining this package. I have the current xfce, gnome and alacarte-xfce packages installed. As of now I can add and remove items (applications) from the menu, but cannot add or remove menus; I would like to add the 'Science' and Engineering' menu folders. Is this functionality normal?

The new entries are being created in my ~/.local/share/desktop-directories/ as 'alacarte-made.directory' (for example), but the entry doesn't show up in the menu. Is there something else I need to do to get allow menu folder editing? Thanks.

plp commented on 2013-04-25 05:32

It's OK, I can handle it.

Though I'm more interested in saving whatever money I can. This way, my children won't go hungry and will be able to continue enjoying their childhood by playing League of Legends and Call of Duty all day and complaining about how slow their 30 Mbps Internet is.

Anonymous comment on 2013-04-24 23:38

If you want I can take this package over so you and whoever else can revolt against your capitalist government.

plp commented on 2013-04-24 19:56

Bump version 3.7.90.

I somehow managed to make the time needed to do this, after all. :-)