You are not logged in.
Pages: 1
Having some trouble starting alacarte in Gnome 3.6.1:
[davidt@arch ~]$ alacarte
Traceback (most recent call last):
File "/usr/bin/alacarte", line 22, in <module>
from Alacarte.MainWindow import MainWindow
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 31, in <module>
from Alacarte.MenuEditor import MenuEditor
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 25, in <module>
class MenuEditor(object):
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 26, in MenuEditor
def __init__(self, name=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'
[davidt@arch ~]$
Any ideas?
Last edited by fdd284 (2012-10-21 02:22:46)
Offline
Typing the following in a terminal before launching alacarte works but doesn't survive a reboot
export XDG_MENU_PREFIX=""
Offline
You probably already know this, but for others if you want to add this as an environment variable globally on restart you can just add it to /etc/profile per the Arch Environment Variables wiki page.
Thanks to fdd284 for the tip of adding the menu prefix variable in the first place.
Offline
Pages: 1