When I launch alacarte through the menu system the cursor briefly changes, but I don’t get the app. When I try it from the command line I get this:
~> alacarte
Traceback (most recent call last):
File "/usr/bin/alacarte", line 36, in <module>
main()
File "/usr/bin/alacarte", line 32, in main
app = MainWindow(datadir, version)
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 44, in __init__
self.editor = MenuEditor()
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 51, in __init__
self.applications = Menu(os.environ'XDG_MENU_PREFIX'] + 'applications.menu')
File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
raise KeyError(key)
KeyError: 'XDG_MENU_PREFIX
Yup, alacarte-0.13.4-2.4.1.i586 is installed, and verified with rpm -qa | grep alacarte. Here’s what I get from zypper search -i xdg:
S | Name | Summary | Type
--+-------------------+-------------------------------------------------------+--------
i | python-xdg | Python library to use freedesktop.org specifications | package
i | xdg-menu | XDG Menus for WindowMaker and other Window Managers | package
i | xdg-user-dirs | Utilities to handle user data directories | package
i | xdg-user-dirs-gtk | xdg-user-dir support for Gnome and Gtk+ applications | package
i | xdg-utils | Utilities to uniformly interface desktop environments | package
That works like a champ! I’m not sure why it’s not in my environment already, unless it’s because I launched KDE and xfce once or twice before. I successfully added keepassx, so it looks fully functional. Thanks for the help.
Interesting. Making desktop/window manager specific menus makes sense, though I’d have thought there’d be a function to determine your window manager and set XDG_MENU_PREFIX appropriately since there is SUSE choice in WMs. Or default it to the higher (system default?) value, and let the WM override. No matter.
Thanks for all the help. It’s been a few years since I used SUSE, and both the distribution itself and the forum users have been excellent in the few hiccups I’ve had. I’m getting used to new things like zypper, but it’s all really been working great. Thanks for the help.