Re: Menu mess [solved]

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon

Re: Menu mess [solved]

Postby vinoman on Mon Mar 12, 2012 10:21 am

I made the mistake the other day installing Wine and playonlinux, to install iTunes. what a mistake. Wine has never worked well and I won't use it again. Anyway, now I've installed alacart to edit the menu and remove all the garbage entries from Wine and after removing all the bad entries I still have many listed under Other on the Cinnamon menu. Can you remove these? Or are they there until I install Mint 13 in May?
Last edited by vinoman on Thu Mar 15, 2012 1:42 pm, edited 1 time in total.
vinoman
Level 5
Level 5
 
Posts: 514
Joined: Wed Sep 05, 2007 8:46 am

Linux Mint is funded by ads and donations.
 

Re: Menu mess

Postby bimsebasse on Mon Mar 12, 2012 11:40 am

alacarte doesn't work properly with Cinnamon but it has been forked for the newest development version of Cinnamon so the functionality you're looking for is probably available by next stable update.
Thank you for this thread. That’s all I can say. You most definitely have made this forum into something special. You clearly know what you are doing, you’ve covered so many bases. Thanks!
User avatar
bimsebasse
Level 7
Level 7
 
Posts: 1709
Joined: Fri Nov 11, 2011 10:21 am
Location: Scandinavia

Re: Menu mess

Postby vinoman on Thu Mar 15, 2012 9:53 am

OK, just updated to Cinnamon 1.4 and rebooted. when I go to Menu edit (alacart) none of the itunes and quicktime icons are even listed anymore even thought when I select Other from the Menu I see a whole list of things like itunes, bonjour, quicktime, wine. I thought when I uninstalled playonlinux and wine they would go away. I guess not.

Is there any way to get rid of these entries?
vinoman
Level 5
Level 5
 
Posts: 514
Joined: Wed Sep 05, 2007 8:46 am

Re: Menu mess

Postby grizzler on Thu Mar 15, 2012 11:23 am

The freedesktop.org menu system maintained through Alacarte can be quite a handful if you want it to behave. And then I'm not even mentioning how certain developers screwed their users over with the current implementation in Gnome3, totally ignoring certain parts of the standard because that's the way they want it to be (who cares about following official specifications anyway...).

In the menu system nothing is ever really deleted - it just gets marked as deleted (there's a reason for this which actually makes sense, but I won't go into that now). If you want to get rid of annoying left overs, you have to manually remove the corresponding .desktop files from /usr/share/applications or ~/.local/share/applications or one of their subdirectories.

I don't know about PlayOnLinux, but Wine installs its .desktop files only in the user's directory (i.e. a subdirectory of ~/.local/share/applications). The last time I installed Wine, they ended up in ~/.local/share/applications/wine. Removing that entire subdirectory should do the trick. You may also want to remove any files with names starting with wine- from ~/.config/menus/applications-merged and ~/.local/share/desktop-directories.

Be careful not to remove too much! It's very easy to mess up your entire menu by deleting the wrong thing or making a mistake while manually editing the main menu files in ~/.config/menus.

Edit: another word of caution. My suggestion is based on the normal implementation of the menu standard that the Gnome desktop used to have. I have no idea how much Cinnemon deviates from that.

Edit 2: corrected typos.
Last edited by grizzler on Thu Mar 15, 2012 1:18 pm, edited 1 time in total.
grizzler
Level 4
Level 4
 
Posts: 431
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Re: Menu mess

Postby vinoman on Thu Mar 15, 2012 11:46 am

I don't have a /local/share/applications folder.

I can't find a Wine folder since I removed it with apt-get remove wine.
vinoman
Level 5
Level 5
 
Posts: 514
Joined: Wed Sep 05, 2007 8:46 am

Re: Menu mess

Postby viking777 on Thu Mar 15, 2012 12:03 pm

I don't have a /local/share/applications folder.


I think you will find it is a typo and should be dot local ie ~/.local/share/applications (ie show hidden files/folders in your file manager).
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Menu mess

Postby vinoman on Thu Mar 15, 2012 1:11 pm

viking777 wrote:
I don't have a /local/share/applications folder.


I think you will find it is a typo and should be dot local ie ~/.local/share/applications (ie show hidden files/folders in your file manager).


after showing hidden files, I still don't have a /.local folder. Where sould it be?

The fact that alacart doesn't work very well, I'll just ignore the listings since they don't connect to anything.
vinoman
Level 5
Level 5
 
Posts: 514
Joined: Wed Sep 05, 2007 8:46 am

Re: Menu mess

Postby grizzler on Thu Mar 15, 2012 1:23 pm

Sorry, I assumed someone with over 400 postings would know what the tilde (~) stood for in filenames (your home directory). My mistake.

Look at your home directory. I.e. /home/username. There you will find the .local folder (i.e. /home/username/.local).
grizzler
Level 4
Level 4
 
Posts: 431
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Re: Menu mess [solved]

Postby vinoman on Thu Mar 15, 2012 1:41 pm

grizzler wrote:Sorry, I assumed someone with over 400 postings would know what the tilde (~) stood for in filenames (your home directory). My mistake.

Look at your home directory. I.e. /home/username. There you will find the .local folder (i.e. /home/username/.local).


I forgot what the tilda was for, thanks for reminding me. I deleted the wine folder and wine.extension.desktop files. Now the Other listing is gone and so it all the rest. Thanks.
vinoman
Level 5
Level 5
 
Posts: 514
Joined: Wed Sep 05, 2007 8:46 am

Re: Menu mess

Postby JigglyPuff on Thu Nov 29, 2012 4:25 am

grizzler wrote:The freedesktop.org menu system maintained through Alacarte can be quite a handful if you want it to behave. And then I'm not even mentioning how certain developers screwed their users over with the current implementation in Gnome3, totally ignoring certain parts of the standard because that's the way they want it to be (who cares about following official specifications anyway...).

In the menu system nothing is ever really deleted - it just gets marked as deleted (there's a reason for this which actually makes sense, but I won't go into that now). If you want to get rid of annoying left overs, you have to manually remove the corresponding .desktop files from /usr/share/applications or ~/.local/share/applications or one of their subdirectories.

I don't know about PlayOnLinux, but Wine installs its .desktop files only in the user's directory (i.e. a subdirectory of ~/.local/share/applications). The last time I installed Wine, they ended up in ~/.local/share/applications/wine. Removing that entire subdirectory should do the trick. You may also want to remove any files with names starting with wine- from ~/.config/menus/applications-merged and ~/.local/share/desktop-directories.

Be careful not to remove too much! It's very easy to mess up your entire menu by deleting the wrong thing or making a mistake while manually editing the main menu files in ~/.config/menus.

Edit: another word of caution. My suggestion is based on the normal implementation of the menu standard that the Gnome desktop used to have. I have no idea how much Cinnemon deviates from that.

Edit 2: corrected typos.


Thank you very much for this helpful post.

It immediately solved my similar problem after foolishly installing and then "removing" Wine and MS Office.
JigglyPuff
Level 1
Level 1
 
Posts: 17
Joined: Sun Dec 04, 2011 10:26 am

Re: Menu mess [solved]

Postby vistad on Mon Jan 28, 2013 1:22 pm

grizzler, thanks a million for your Heaven-sent advice on how to clean my system of all that MS garbage!!!!!!
LM17 32 Mate Intel Core2Duo CPU 6420 @ 2.13GHz, P5B-MX/WIFI-AP, 2.0 GiB RAM, 500 MiB Swap, 1Tb SATA Ext4, Bluetooth Level One MDU-0025USB
vistad
Level 3
Level 3
 
Posts: 143
Joined: Tue Feb 08, 2011 9:17 am

Linux Mint is funded by ads and donations.
 

Return to Cinnamon

Who is online

Users browsing this forum: No registered users and 8 guests