alacarte allow no changes under Pantheon

Bug #1299540 reported by Ch. Hanisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pantheon Plugs
New
Undecided
Unassigned

Bug Description

I have installed 'alacarte'. But I can't change any entry unter Pantheon - why?

Revision history for this message
Akshay Shekher (voldyman) wrote :

It is because pantheon uses a different menu file than alacarte.

There was a way of making Alacarte edit pantheon's menu, I'll report it here later.

Revision history for this message
Akshay Shekher (voldyman) wrote :

As you can see in the first link the file used by slingshot is pan the one applications.menu where as alacarte uses applications.menu

http://bazaar.launchpad.net/~elementary-pantheon/slingshot/trunk/view/head:/src/Backend/AppSystem.vala#L38

http://bazaar.launchpad.net/~vcs-imports/alacarte/trunk/view/head:/Alacarte/MenuEditor.py#L40

Revision history for this message
Ch. Hanisch (ch-hanisch) wrote : Re: [Bug 1299540] Re: alacarte allow no changes under Pantheon

Hello,
Sorry, I can't understand your answer. Please give me an detailed
information for handling.

Am 29.03.2014 20:09, schrieb Akshay Shekher:
> As you can see in the first link the file used by slingshot is pan the
> one applications.menu where as alacarte uses applications.menu
>
> http://bazaar.launchpad.net/~elementary-pantheon/slingshot/trunk/view/head:/src/Backend/AppSystem.vala#L38
What mean that?
I have downloaded the Script to ~/Downloads/AppSystem.vala
What should I do now with that?

http://bazaar.launchpad.net/~vcs-imports/alacarte/trunk/view/head:/Alacarte/MenuEditor.py#L40

What mean that?
I have downloaded the Script to ~/Downloads/MenuEditor.py
What should I do now?
Will this Script replace 'alacarte'?

Thank you.
with regards
Ch. Hanisch

Revision history for this message
Akshay Shekher (voldyman) wrote :

i've found a simpler solution.
in the terminal type

    XDG_MENU_PREFIX='pantheon-' alacarte

and press enter, you'll be able to edit the slingshot menu directly.

Revision history for this message
Ch. Hanisch (ch-hanisch) wrote :

Hello,

Sorry, your solution is not working for me.

@VM-eOS:~$ XDG_MENU_PREFIX='pantheon-' alacarte
Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 634, in
on_properties_button_clicked
    self.on_edit_properties_activate(None)
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 391, in
on_edit_properties_activate
    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] Datei oder Verzeichnis nicht gefunden
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] Datei oder Verzeichnis nicht gefunden
--------------------------------------------------------------------------------------------------------------------------------
But I have installed 'menulibre' from site:
http://eos-snippets.blogspot.de/2014/02/menu-editor-menulibre.html
It works fine for me.

With regards
Ch. Hanisch

Am 12.04.2014 14:59, schrieb Akshay Shekher:
> i've found a simpler solution.
> in the terminal type
>
> XDG_MENU_PREFIX='pantheon-' alacarte
>
> and press enter, you'll be able to edit the slingshot menu directly.
>

Revision history for this message
Ch. Hanisch (ch-hanisch) wrote :

Hello,

What mean you with "Use GNOME Mainmenu categories"?
I can't find any place in 'alacarte' for that.

with regards
Ch. Hanisch

Am 18.04.2014 00:22, schrieb Cody Garver:
> *** This bug is a duplicate of bug 1010210 ***
> https://bugs.launchpad.net/bugs/1010210
>
> ** This bug has been marked a duplicate of bug 1010210
> [alacarte support] Use GNOME Mainmenu categories
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.