Can't Edit Cinnamon Menu

Can't Edit Cinnamon Menu

Postby bpeary on Sat Apr 28, 2012 9:29 am

I've recently installed the April LMDE RC for amd-64, and it's now updated to update pack 4. Unlike my previous LMDE with gnome2, I can't edit items in the menu (i.e., add my own menu and populate it with items).

When I right-click on the menu button, the expected 'Main Menu' window opens, with a Menus panel on the left, an Applications panel on the right, and a list of action buttons on the far right. These buttons are not grayed out except where appropriate, but most of them do nothing, including New Menu and New Item. The only button that seems to work is Move Up (Move Down doesn't work!).
bpeary
Level 1
Level 1
 
Posts: 13
Joined: Tue Dec 28, 2010 7:11 am

Linux Mint is funded by ads and donations.
 

Re: Can't Edit Cinnamon Menu

Postby xenopeek on Sun Apr 29, 2012 5:47 am

Moved here by moderator
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10523
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Can't Edit Cinnamon Menu

Postby azertywarrior12 on Mon Apr 30, 2012 12:09 pm

For the devs: This is the error it throws.

Code: Select all
Traceback (most recent call last):
  File "/usr/lib/cinnamon-menu-editor/Alacarte/MainWindow.py", line 309, 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


Looks like the devs forgot to switch all commands of gnome-desktop-item-edit with mate-desktop-item-edit.

The OP can wait for a fix or edit the file himself
Code: Select all
sudo pluma /usr/lib/cinnamon-menu-editor/Alacarte/MainWindow.py


And replace (using find and replace of pluma)
Code: Select all
gnome-desktop-item-edit

with
Code: Select all
mate-desktop-item-edit

and save the file.

I can assure you that after this change, at least the new item and the new menu buttons will work correctly as I've tested this.
azertywarrior12
Level 1
Level 1
 
Posts: 12
Joined: Tue Aug 02, 2011 11:17 am
Location: Belgium

Re: Can't Edit Cinnamon Menu

Postby Monsta on Mon Apr 30, 2012 1:15 pm

Yeah, there was such a problem with the latest RC: viewtopic.php?f=143&t=99384&p=565939#p565939

I'm not sure if using MATE's utility is the right way to solve a problem with Cinnamon... :?
Monsta
Level 5
Level 5
 
Posts: 712
Joined: Fri Aug 19, 2011 3:46 am

Re: Can't Edit Cinnamon Menu

Postby azertywarrior12 on Mon Apr 30, 2012 3:02 pm

It's the only way without downloading additional packages. Like you mentioned on your post gnome-panel is required for gnome-desktop-item-edit.

Installing gnome-panel will remove mate-notification-daemon and frankly, I don't know if anyone conflicts will arise.

Code: Select all
The following extra packages will be installed:
  alacarte gnome-applets gnome-applets-data gnome-contacts gnome-panel-data
  gnome-session gnome-session-fallback gnome-shell gnome-shell-common
  gnome-system-monitor notification-daemon
The following packages will be REMOVED:
  mate-notification-daemon
The following NEW packages will be installed:
  alacarte gnome-applets gnome-applets-data gnome-contacts gnome-panel
  gnome-panel-data gnome-session gnome-session-fallback gnome-shell
  gnome-shell-common gnome-system-monitor notification-daemon
azertywarrior12
Level 1
Level 1
 
Posts: 12
Joined: Tue Aug 02, 2011 11:17 am
Location: Belgium

Re: Can't Edit Cinnamon Menu

Postby Monsta on Mon Apr 30, 2012 3:30 pm

azertywarrior12 wrote:Installing gnome-panel will remove mate-notification-daemon

:shock: oops...

Right... I've written that post while testing RC installed into a fresh virtual machine... My "real" :) machine has LMDE updated from UP3 to UP4, and while I've noticed some MATE packages (can't tell what triggered their installation, most probably it was mintMenu update), I'm using only Cinnamon right now. Of course, those Gnome packages mentioned above have been installed/updated during upgrade from Gnome 2, so I have the menu editor now.

In general, this conflict is not good for people who want to keep both MATE and Cinnamon and to be able to edit Cinnamon menu. In this case, your workaround is suitable. :)
Monsta
Level 5
Level 5
 
Posts: 712
Joined: Fri Aug 19, 2011 3:46 am

Re: Can't Edit Cinnamon Menu

Postby bpeary on Mon Apr 30, 2012 8:36 pm

I was able to add some items by logging into XFCE, editing the menu there, then reverting to cinnamon.

Thanks for the input. Are you saying that this will be fixed in a future update? I'd rather not change any config files to non-standard, as I'm sure I will forget to change it back and get into trouble down the line.
bpeary
Level 1
Level 1
 
Posts: 13
Joined: Tue Dec 28, 2010 7:11 am

Linux Mint is funded by ads and donations.
 

Return to Cinnamon

Who is online

Users browsing this forum: No registered users and 1 guest