[SOLVED] MintMenu *extremely* slow to load

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kvv

[SOLVED] MintMenu *extremely* slow to load

Post by kvv »

Hi,

I am running LM10 main edition, 32 bit.
I am suddenly having problems with the mintMenu. It is extremely slow to load (about a minute) when a new session starts, and till it loads, the GNOME panel gets hung up.

Can someone help?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
kvv

Re: MintMenu *extremely* slow to load

Post by kvv »

Bump? :(

Problem still exists. And the other fancy menus just don't cut it, compared to mintMenu.
Jfryton

Re: MintMenu *extremely* slow to load

Post by Jfryton »

I'm experiencing this same problem.

Kernel 2.6.32-5-686 i686 (32 bit) Distro Linux Mint Debian Edition
kvv

Re: MintMenu *extremely* slow to load

Post by kvv »

If it helps mine is "2.6.35-24-generic-pae"
/Zoran\

Re: MintMenu *extremely* slow to load

Post by /Zoran\ »

Well i don't use Mint menu from the start, if you want to disable it and add a "normal" menu, right click on the Mint menu and select remove from panel, and then right click on the panel and go to add to panel, and there you can actually choose from 3 diffrerent kinds of menu, look here

Image

mint menu is more demanding then your usual menus, so if you have a pc which is on the border when it comes to configuration requirements it will be slow....or if you have a lot of entries in it...
kvv

Re: MintMenu *extremely* slow to load

Post by kvv »

Well, that's the whole problem. I have good configurations, and it was working smoothly just before I opened this topic. Intel Core2Duo P6400 4 GB RAM ~2GHz speed.

It could be some of the menu entries, or settings. I will check it out and post here, if I get anything.

Edit: I am using gnomenu now, but like I mentioned earlier, I prefer mintmenu.
deivid

Re: MintMenu *extremely* slow to load

Post by deivid »

I'm experiencing this same problem. It's too bad cause mintMenu is the best mint application in my opinion
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: MintMenu *extremely* slow to load

Post by willie42 »

Does it load slow or slow download speeds?
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
kvv

Re: MintMenu *extremely* slow to load

Post by kvv »

If you are asking me, whenever I start a new session (for eg, Log out and Log in), the Gnome Panel and all the applets and launchers load almost immediately. But, the mintMenu takes a very long time to load (about a minute at least).

But, once it loads, it is speedy after that.
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: MintMenu *extremely* slow to load

Post by willie42 »

What programs are in your startup and if you can provide system specs. What I find that will help us find the issue is what is in your startup programs. I dont know why but I am thinking the issue could be with one of those programs. So the hard part is figuring out which one it is.
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
kvv

Re: MintMenu *extremely* slow to load

Post by kvv »

Firstly, I checked the startup applications, and there was nothing out of the ordinary in there.

What I did is disabled all the plugins of the mintMenu like Places, Applications, Recent Documents etc, and then saw that it loaded quickly as it should. So, after playing around with this, I found that the problem of slow loading happens when I enable the applications plugin. So, it's possibly a problem with a menu entry, but cannot be sure.

I removed all the Google WebApp entries from the menu, as these were the only things that were different from the other entries, but this did not solve the problem. If there is a way to paste the a list of all menu entries or something like that, let me know. Thanks.
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: MintMenu *extremely* slow to load

Post by willie42 »

I went in the control center> startup applications and maximized it and was able to put 95 percent of my startup aplications on the screen you could take a screen shot and post it it that a way.
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
deivid

Re: MintMenu *extremely* slow to load

Post by deivid »

OK, after some research I solved the problem for my specific case. I hope the steps below help someone.

First I tried disabling some startup applications, but after a while I realized that they are not actually loaded by mintMenu... so that was not the issue. The problem are the specific launchers displayed by the applications plugin. A fresh install of mintMenu is supposed to load fine, so the problem must be in manually created launchers.

Code: Select all

ls ~/.local/share/applications/*.desktop
should give you a list of those launchers.

I tried disabling them one by one and see which one was causing the issue. To do that, you can disable launchers by right-clicking mintMenu, clicking on Edit Menu, looking for the specific launcher and deselect the show column. Then you can restart mintMenu by killing it and a window will pop up and ask whether you want to reload it. Click Reload. You can kill mintMenu by executing on a terminal window

Code: Select all

kill `ps ux | grep [m]intMenu.py | awk '{print $2}'`
for example.

In my case, the specific launcher causing trouble was ~/.local/share/applications/matlab.desktop, whose contents where

Code: Select all

[Desktop Entry]
Categories=Development;
Comment=Start MATLAB - The Language of Technical Computing
Comment[en_US]=The Language of Technical Computing
Exec=matlab -desktop
Icon=/usr/share/icons/matlab.png
Name=MATLAB R2010b
NoDisplay=false
Terminal=false
Type=Application
More specifically, the problem was the icon mintMenu had to load, as I checked by deleting the line Icon = /usr/share/icons/matlab.png from the file ~/.local/share/applications/matlab.desktop and reloading mintMenu as explained before. mintMenu had trouble with that icon because it was huge:

Code: Select all

du -h /usr/share/icons/matlab.png
gives 144K, while standard icons are ~4K!

As I wanted to keep my matlab icon, the solution was resizing the image. I used imagemagick for that:

Code: Select all

sudo convert -resize 48x48 /usr/share/icons/matlab.png /usr/share/icons/matlab-scaled.png
and changed the launcher file to point to the new icon.
kvv

Re: MintMenu *extremely* slow to load

Post by kvv »

Thanks! I probably have the exact same problem, and maybe not with just MATLAB.

Even then, it shouldn't take so much time, as this problem is not there with other menus.
deivid

Re: MintMenu *extremely* slow to load

Post by deivid »

I agree, the loading of icons shouldn't be blocking everything and making mintMenu unresponsive for more than a minute...

Cheers!
emarti

Re: MintMenu *extremely* slow to load

Post by emarti »

Yes! I just had the exact same problem! Thank you so much for this solution.


deivid wrote:More specifically, the problem was the icon mintMenu had to load, as I checked by deleting the line Icon = /usr/share/icons/matlab.png from the file ~/.local/share/applications/matlab.desktop and reloading mintMenu as explained before. mintMenu had trouble with that icon because it was huge:

Code: Select all

du -h /usr/share/icons/matlab.png
gives 144K, while standard icons are ~4K!

As I wanted to keep my matlab icon, the solution was resizing the image. I used imagemagick for that:

Code: Select all

sudo convert -resize 48x48 /usr/share/icons/matlab.png /usr/share/icons/matlab-scaled.png
and changed the launcher file to point to the new icon.
Locked

Return to “Beginner Questions”