After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678924 - New menus and items cannot be created under LXDE
New menus and items cannot be created under LXDE
Status: RESOLVED DUPLICATE of bug 683535
Product: alacarte
Classification: Applications
Component: general
3.5.x
Other Linux
: Normal normal
: ---
Assigned To: Alacarte Maintainer(s)
Alacarte Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-06-26 20:53 UTC by Pavel Roskin
Modified: 2012-09-26 20:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pavel Roskin 2012-06-26 20:53:04 UTC
I'm running alacarte from git without the latest commit that requires a new version of gnome-menus (I'm at commit 514e4bdfad74b1783a8eed110b04c49cbaf174dd).

I'm running it on Fedora 17 with gnome-menus patched to provide get_separator (issue 677344).

If I'm running the LXDE desktop, no new menus or items can be created.

Steps to reproduce:

Run alacarte
Click the "New Menu" button
Enter "foo" for the name, leave the comment empty
Click "OK"
No menu named "foo" appears
Click the "New Item" button
Enter "foo" for the name, "xterm" for the command, leave the comment empty
Click "OK"
No menu item named "foo" appears

If using the GNOME desktop, new menus and items can be created.
Comment 1 Dominique Leuenberger 2012-09-06 21:03:18 UTC
Just a hunch (maybe, who knows): do you use $XDG_MENU_PREFIX under LXDE to redirect to a more optimized menu structure?

Then you'd face bug 683535.
Comment 2 Pavel Roskin 2012-09-26 19:29:15 UTC
Indeed, that variable is set.  I don't know where it comes from.  I didn't do anything to it.  That's Fedora 16.

$ echo $XDG_MENU_PREFIX
lxde-
Comment 3 Dominique Leuenberger 2012-09-26 20:34:01 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


MArking as duplicate of bug 683535, which carries a patch for the same
(As alacarte is written in python

*** This bug has been marked as a duplicate of bug 683535 ***