Package Details: alacarte-xfce 3.42.0-1

Git Clone URL: https://aur.archlinux.org/alacarte-xfce.git (read-only, click to copy)
Package Base: alacarte-xfce
Description: Menu editor for Xfce
Upstream URL: http://www.gnome.org
Keywords: alacarte gnome gtk3
Licenses: LGPL
Groups: xfce4-goodies
Conflicts: alacarte, alacarte-git, alacarte-xfce-devel
Provides: alacarte
Submitter: Barthalion
Maintainer: fungible
Last Packager: fungible
Votes: 59
Popularity: 0.004638
First Submitted: 2011-07-20 07:46 (UTC)
Last Updated: 2021-12-18 21:56 (UTC)

Latest Comments

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

plp commented on 2013-04-28 15:54 (UTC)

taotedice, jlacroix: OK, here's the document that explains how menus in XFCE work: http://wiki.xfce.org/howto/customize-menu It looks like there are quite a few changes that need to be done to Alacarte's code before it can work properly with XFCE. I can spot a couple at first glance: 1. Alacarte creates the .directory files for new menus correctly, but XFCE requires a <menu> entry in xfce-applications.menu for each menu, as well. Alacarte doesn't add this. 2. XFCE puts items in menus using the Category field in their .desktop files. However, Alacarte always leaves Category empty. This results in all new items being placed into the 'Other' menu. I plan to implement these changes when I have some time. In the meantime, if someone wants to give it a go, please do so and send me the results.

plp commented on 2013-04-26 17:49 (UTC)

New release 3.7.90-2 adds python2-gobject as a dependency.

taotedice commented on 2013-04-26 16:07 (UTC)

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...

calendulish commented on 2013-04-26 12:43 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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.