Page 1 of 1

[SOLVED] How to remove something from the menu?

Posted: Thu Feb 09, 2012 4:17 pm
by veggen
I installed Wine and along with it, I got Notepad, which I absolutely do not need. Now, I don't mind it being installed, but it placed itself into a new sub menu called "Other" and I don't know how to remove it. I then also noticed that everything I have under Administration menu, I have duplicated under Preferences... So what I need is a way to remove entries and sub menus. I tried alacarte, but it doesn't seem to really work with Cinnamon due to different sub menus.

Can someone help? I'd be very grateful.

Re: How to remove something from the menu?

Posted: Sun Feb 12, 2012 9:25 pm
by dballanc
No help here, just sympathy and a bump. i'm stuck on a related issue too. I added a menu with alacarte, and they show up under "other" rather than the newly created menu. I can't figure out exactly how cinnamon builds the menu categories.

Re: How to remove something from the menu?

Posted: Tue Feb 14, 2012 9:58 pm
by iceblue
A bump for same thing

Re: How to remove something from the menu?

Posted: Sat Feb 18, 2012 9:59 pm
by dsplayname
back in 1.12 or 1.13, there was an application for configuring the menu. I can't find it now that I am in 1.3 and want to remove some uninstalled programs from the list.

EDIT- I went into /usr/share/applications/ and manually deleted some programs that I had already uninstalled. It got them out of the menu, but I still can't figure out how to categorize things properly.

Alacarte and cinnamon solved!

Posted: Fri Mar 02, 2012 6:26 pm
by janax
I realized that cinnamon use the file name cinnamon-applications.menu, whereas alacarte works on the file name applications.menu. This holds true both for the local ~/.config/menus/ and global /etc/xdg/menus/ directories.

Thus, if we link the cinnamon-applications.menu to point to the applications.menu (or vice versa), alacarte and cinnamon would both work.

Step 1 (settings for all users):

Code: Select all

sudo mv /etc/xdg/menus/cinnamon-applications.menu /etc/xdg/menus/cinnamon-applications.menu.bck;\
sudo ln -s /etc/xdg/menus/applications.menu /etc/xdg/menus/cinnamon-applications.menu
Step 2 (settings for local user)

Code: Select all

ln -s ~/.config/menus/applications.menu ~/.config/menus/cinnamon-applications.menu
Step 3 (run alacarte, which has to be installed from synaptic)

Code: Select all

alacarte
Step 4 (sometimes changes are not immediately updated)
Solution: press alt-F2 r [enter]

I was very satisfied to be able to make my own menu entries, and move the programs around. The only drawback/feature is that now the gnome3 and cinnamon menus will be the same. I view this as a feature!

All the best to the cinnamon team, from an Ubuntu convert!

Re: How to remove something from the menu?

Posted: Fri Mar 02, 2012 6:50 pm
by veggen
Man! This is an awesome find! And a very nice work around. Thanks a million for this!

Re: How to remove something from the menu?

Posted: Sat Mar 03, 2012 5:09 pm
by veggen
Hmmm... It still works very awkwardly for me (symlinked the two files just like you), for example Cinnamon's Administration menu is invisible to Alacarte... Oh well, it's still a step forward.

Re: How to remove something from the menu?

Posted: Sun Mar 04, 2012 6:34 am
by janax
veggen wrote:Hmmm... It still works very awkwardly for me (symlinked the two files just like you), for example Cinnamon's Administration menu is invisible to Alacarte... Oh well, it's still a step forward.
I actually see the same thing now when you point it out. I believe this menu is somehow filled in automatically, maybe by some script. My view is that we have to live with those things, but modify the rest with the above fix.

I wish that the modifications in cinnamon were not tampering with gnome3 when not needed.

Re: How to remove something from the menu?

Posted: Sun Mar 04, 2012 7:56 am
by roger64
@janax

Your solution is a nice step forward. I think however that it's still not the perfect solution for life. Linking two files works nicely for most of the cases but may create other problems... I now have a mysterious "wine-wine" menu without icon, but it gives a long last the missing wine applications... but not drive C and others..

Anyway, a lot of thanks. Welcome here, former Ubuntu user, you are far from being alone... :D

Re: How to remove something from the menu?

Posted: Sun Mar 04, 2012 10:03 am
by Arran
Do you not have a possibility not manage your menu directly?

Image
Look at my screeny (I use a Swiss-German version), you still should understand the way it works: right click on the Menu, then choose «Menueintäge gearbeiten», somthing like »configure menu entries». With me it is the first line. So you then can configure each menu to your liking, taking apps our or change then just with the mouse the category, etc. Very easy-peasy.

Re: How to remove something from the menu?

Posted: Sun Mar 04, 2012 10:33 am
by roger64
@Arran

Congratulations for scoring a cheap point. BTW this is Cinnamon.

For your information, it worked this way also with Gnome2. Now, we have a brand new interface called Cinnamon which is not officially in use. We are just trying to squash some bugs like this one and I would be very surprised if this bug did not find a solution before LM13.

Happy skying.

Re: How to remove something from the menu?

Posted: Sun Mar 04, 2012 11:42 am
by Arran
Sorry, I did not realise, that there are still people who use such faulty applications. KDE is just perfect and really fast. :lol: :mrgreen: :roll:

And, the point was not very cheap, I had to go up there with my computer, put in from of a windows overlooking all those mountains, making the shot to present the wrong message. What a shame for lost time. I promise, I will not answer any more questions. OK?

Re: How to remove something from the menu?

Posted: Fri Mar 16, 2012 5:50 pm
by veggen
Oh yeah! Cinnamon 1.4 delivered a proper solution ;) I love the speed of efficiency of the Cinnamon dev team!

Re: [SOLVED] How to remove something from the menu?

Posted: Wed Apr 30, 2014 6:42 pm
by willass
Right-click on the menu button >> configure >> open menu editor >> uncheck wine >> click delete >> done