Page 1 of 1

[SOLVED] All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Fri Sep 20, 2019 1:21 am
by UgotME
My 18.3 Cinnamon install ran flawlessly for two years until now. I'm running it on i7-7700 with 32GB of RAM. I have an application, Ultimaker_Cura_4.1, that sits on my desktop and runs fine, but I prefer to have things in my menu or panel. I decided to put the application in my Home folder and make what I believe to be called a "launcher" in the menu or panel -- either place is fine. I went online and found a process to do what I thought I wanted and did the following:

Right-clicked on Menu
Clicked on Configure
Open the Menu Editor
Created a new file (launcher?)
Entered a name
Entered a path to the application (Ultimaker_Cura_4.1)
Clicked out


I then couldn't see the new item on the panel or menu so I then tried to go back into the menu editor, but after right-clicking on the Menu and clicking on Configure, the Menu Editor no longer responded to a mouse click. Everything seemed OK other than that, so I restarted cinnamon (alt-F2, R, enter). When the menu came back, all my applications were missing. Now Cinnamon crashes immediately after I log in and refuses to start. In fallback mode everything seems OK, but I'd like to get all my menu-applications back. Clearly the last thing I did is crashing it somehow. Is there a way to undo my most recent menu/panel changes via the command line or a text editor?

Re: All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Fri Sep 20, 2019 12:10 pm
by pbear
Do you have Timeshift installed and set up? If so, open Terminal and type timeshift (lower case "t") and restore a snapshot from before your modifications. Alternatively, you could boot a live session and run Timeshift the regular way from there.

Also, what does "put the application in my Home folder" mean?

Re: All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Fri Sep 20, 2019 2:56 pm
by UgotME
Thank you for your reply. No on the timeshift. I had tried it, but had a few issues.

If you download Ultimaker_Cura for 3D printing, it doesn't install on to your system like libre office would and then automatically show up on your menu. I'm sure I'm not describing this correctly, but Cura is its own thing that runs from whichever directory you put it in. The problem is that it doesn't show up on your menu, and if you don't want to keep it somewhere obvious on your desktop, you have to put in a folder (in this case for me I was putting it in my Home folder) and then do a menu-edit that creates a launcher (I think) that includes a path to the application. My best guess is that the menu is in some kind of loop trying to find/execute what's found going down that path which causes it to crash. My hope is that I can find a way to manually edit (terminal or gedit a text file) the menu and delete which ever line of code is causing the crash.

Re: All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Sat Sep 21, 2019 1:17 am
by smurphos
Timeshift doesn't restore home folder changes which is what this is.

In your file manager in fallback mode navigate to ~/.local/share/applications, locate and delete the desktop file associated with Ultimaker.

Logout and log back in.

If still crashing try deleting ~/.config/menus

Logout and log back in.

Re: All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Sat Sep 21, 2019 1:18 am
by decrepit
Yes, you should be able to do that, but the last time I tried to describe how it just cause heaps of confusion.

But I'll give it ago anyway, just be aware, I'm not 100% sure of what I'm doing.

So if you open a terminal, and just type Ultimaker_Cura ten press enter, does that start it?
If it does, you need to make a script with that command. Then the launcher on your desktop has to point to that script.'There're a few examples of how to do that here, if I try to tell you, I'll probably get it wrong.

Re: All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Sat Sep 21, 2019 1:23 am
by smurphos
For Ultimaker, having made the AppImage download executable, I made a working menu launcher by right click on desktop, create launcher here

Image

When you create the launcher say Yes to the offer to integrate into the menu. You can delete the desktop launcher after should you wish.

I found the icon here https://upload.wikimedia.org/wikipedia/ ... r_cura.png

Image

Re: All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Sun Sep 22, 2019 3:46 pm
by UgotME
Thank you so much, but, for some reason I have yet to decipher, all the applications are gone from the menu and it's just been downhill from there. I'm pretty much forced to rebuild at this point. I guess it's a good excuse to move up to 19.2.

Re: All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Sun Sep 22, 2019 9:46 pm
by smurphos

Re: All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Mon Sep 23, 2019 10:36 am
by UgotME
smurphos wrote: Sat Sep 21, 2019 1:17 am Timeshift doesn't restore home folder changes which is what this is.

In your file manager in fallback mode navigate to ~/.local/share/applications, locate and delete the desktop file associated with Ultimaker.

Logout and log back in.

If still crashing try deleting ~/.config/menus

Logout and log back in.
Apologies for my sporadic replies and sincere wholehearted thanks for assistance. I'm not good at replying on forums with my phone and I've been pulling my hair out lately with the system I'm on now. So here's some good news and another question relating to this post:

So I deleted the launcher script for Ultimaker_Cura which brought back the stability of my system running in Cinnamon -- no more fallback mode. My system seems stable for now and when I want to launch applications I click on a folder on my desktop and navigate to applications and click on whichever application I need at the moment. All good. Unfortunately, the menu still does not want to show me anything not related to folders and the "All Applications" button does nothing if you click it. Clicking through Menu>Configure>Menu>Open_the_Menu_Editor also does nothing when you click it.

With that said, would you still recommend "deleting ~/.config/menus"? Should I delete the entire directory?

UPDATE:

SO I DID THE ABOVE: "delete ~/.config/menus"

PROBLEM SOLVED!!! Thank you so much!!

Re: [SOLVED] All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Mon Sep 23, 2019 5:28 pm
by grizewald
Just in case anyone else stumbles over this thread...

One of the updates which arrived for Mint 19.2 this evening was a mesa update. I've always been wary of these as I've had them mess up cura before, so I made sure I had a fresh Timeshift snapshot before installing. As feared, Cura started up with no menu or panels.

Rolling back to my snapshot didn't help!

Thankfully, the solution is simple: rm -rf ~/.cache/qtshadercache/*

Cura works perfectly again.

I've had this happen twice now, so I'm permanently blacklisting updates to mesa!

Re: [SOLVED] All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Thu Nov 14, 2019 5:42 pm
by bnbaron
Thanks for the hint how to solve the display problem with Cura after the update to LM19.2. I stumbled into that problem and couldn't find a solution until I found your post. Removed the files under ~/.cache/qtshadercache/ and Cura works again! :D

Re: [SOLVED] All menu & panel applications are missing in Mint 18.3 Cinnamon after adding a launcher

Posted: Wed Sep 16, 2020 9:45 pm
by ratkiley
I had to come up with my own solution to this problem because noone had found the solution in my searches online. My mate-panel had been disabled in the list of autostart applications that normally load when you log on. Here is what I came up with:

https://superuser.com/a/1586142/1219980