You are not logged in.

#1 2012-10-21 02:19:55

fdd284
Member
Registered: 2012-10-08
Posts: 5

Alacarte won't start in Gnome 3.6.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

#2 2012-10-21 04:36:18

fdd284
Member
Registered: 2012-10-08
Posts: 5

Re: Alacarte won't start in Gnome 3.6.1

Typing the following in a terminal before launching alacarte works but doesn't survive a reboot

export XDG_MENU_PREFIX=""

Offline

#3 2012-10-31 18:15:29

zanexiv
Member
Registered: 2012-10-31
Posts: 1

Re: Alacarte won't start in Gnome 3.6.1

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

Board footer

Powered by FluxBB