Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I try to add anything to the menu in 12.04, I get this error.

$ alacarte
Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 317, in on_new_item_button_clicked
    process = subprocess.Popen(['gnome-desktop-item-edit', file_path], env=os.environ)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

It's a bug in Alacarte.

You need to install the package gnome-panel as Alacarte wants to use a program (gnome-desktop-item-edit) that is in that package.

share|improve this answer
    
Thank you, that's it working now! –  RichardoC Jul 6 '12 at 15:35
    
Has this bug been reported yet? If so, can I have a link? –  hexafraction Jul 6 '12 at 18:11
    
add comment

https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/1089438/

I have created a patch which is independent of gnome-panel installation. Thanks :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.