[SOLVED] How to remove something from the menu?

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
User avatar
veggen
Level 4
Level 4
Posts: 398
Joined: Mon May 09, 2011 4:54 am
Contact:

[SOLVED] How to remove something from the menu?

Post by veggen » Thu Feb 09, 2012 4:17 pm

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.
Last edited by veggen on Fri Mar 16, 2012 5:50 pm, edited 1 time in total.

dballanc
Level 1
Level 1
Posts: 4
Joined: Sat Feb 11, 2012 11:39 pm

Re: How to remove something from the menu?

Post by dballanc » Sun Feb 12, 2012 9:25 pm

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.

iceblue
Level 1
Level 1
Posts: 11
Joined: Fri Feb 10, 2012 12:46 am

Re: How to remove something from the menu?

Post by iceblue » Tue Feb 14, 2012 9:58 pm

A bump for same thing

dsplayname
Level 1
Level 1
Posts: 9
Joined: Thu Feb 16, 2012 7:44 pm
Location: Atlanta
Contact:

Re: How to remove something from the menu?

Post by dsplayname » Sat Feb 18, 2012 9:59 pm

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.
Freedom defined is freedom denied

janax
Level 1
Level 1
Posts: 3
Joined: Fri Mar 02, 2012 6:14 pm

Alacarte and cinnamon solved!

Post by janax » Fri Mar 02, 2012 6:26 pm

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!

User avatar
veggen
Level 4
Level 4
Posts: 398
Joined: Mon May 09, 2011 4:54 am
Contact:

Re: How to remove something from the menu?

Post by veggen » Fri Mar 02, 2012 6:50 pm

Man! This is an awesome find! And a very nice work around. Thanks a million for this!

User avatar
veggen
Level 4
Level 4
Posts: 398
Joined: Mon May 09, 2011 4:54 am
Contact:

Re: How to remove something from the menu?

Post by veggen » Sat Mar 03, 2012 5:09 pm

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.

janax
Level 1
Level 1
Posts: 3
Joined: Fri Mar 02, 2012 6:14 pm

Re: How to remove something from the menu?

Post by janax » Sun Mar 04, 2012 6:34 am

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.

roger64
Level 4
Level 4
Posts: 274
Joined: Wed Jun 01, 2011 5:48 am

Re: How to remove something from the menu?

Post by roger64 » Sun Mar 04, 2012 7:56 am

@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

Arran
Level 4
Level 4
Posts: 213
Joined: Sat Jul 30, 2011 4:24 am

Re: How to remove something from the menu?

Post by Arran » Sun Mar 04, 2012 10:03 am

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.
Best greetings from Scotlands nicest Holiday Isle
Arran

OS: Mint xfce, Graphic: Nvidia 4800-GS, Monitor: HP ZR30w (2550x1600 px), «Broadband» Ø 50kib/sec!!!

roger64
Level 4
Level 4
Posts: 274
Joined: Wed Jun 01, 2011 5:48 am

Re: How to remove something from the menu?

Post by roger64 » Sun Mar 04, 2012 10:33 am

@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.

Arran
Level 4
Level 4
Posts: 213
Joined: Sat Jul 30, 2011 4:24 am

Re: How to remove something from the menu?

Post by Arran » Sun Mar 04, 2012 11:42 am

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?
Best greetings from Scotlands nicest Holiday Isle
Arran

OS: Mint xfce, Graphic: Nvidia 4800-GS, Monitor: HP ZR30w (2550x1600 px), «Broadband» Ø 50kib/sec!!!

User avatar
veggen
Level 4
Level 4
Posts: 398
Joined: Mon May 09, 2011 4:54 am
Contact:

Re: How to remove something from the menu?

Post by veggen » Fri Mar 16, 2012 5:50 pm

Oh yeah! Cinnamon 1.4 delivered a proper solution ;) I love the speed of efficiency of the Cinnamon dev team!

willass
Level 1
Level 1
Posts: 4
Joined: Wed Apr 30, 2014 6:39 pm

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

Post by willass » Wed Apr 30, 2014 6:42 pm

Right-click on the menu button >> configure >> open menu editor >> uncheck wine >> click delete >> done

Post Reply

Return to “Cinnamon”