Menu apps disappeared! Not resolving .desktop?

Please post all general support questions for LXDE here.
Locked
JSG7
Posts: 2
Joined: Mon Jun 01, 2015 3:41 am

Menu apps disappeared! Not resolving .desktop?

Post by JSG7 »

Hello! As the tittle suggests, Menu apps have disappeared.

When I click the menu tab at the buttom left all that shows is logout and run.

I checked /usr/share/applications and all the .desktop files seem to be there and will run when I double click them.

Another clue is that when I try to open anything with "open with" the "installed applications" is empty.

I've been digging around online allot, but so far no luck and not many suggestions other then restarting lxpanel. Which does not work.

This happened as I unsinstalled the default java I had on lubuntu and tried to install Oracle's JDK.

Please help! I'm at the edge of my knowledge of linux and coding. Thanks!
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Menu apps disappeared! Not resolving .desktop?

Post by drooly »

JSG7 wrote:This happened as I unsinstalled the default java I had on lubuntu and tried to install Oracle's JDK.
this is most probably the crucial point where things went wrong.
unfortunately, if you cannot give more information about this incident, there's very little i can offer.

you can always try re-installing lxpanel and all its dependencies, especially the ones with "menu" in their names.

you did not say which distribution you're using.
supposing it's debian based, apt-get has a --reinstall option. i don't use apt-get very much, but i guess the command might be:

Code: Select all

deleted
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Menu apps disappeared! Not resolving .desktop?

Post by drooly »

I realized that i have debian lxde installed on a virtualbox, so i can give more precise advice.

i tried this command:

Code: Select all

sudo apt-get update && sudo apt-get upgrade && sudo apt-get --reinstall install lxpanel libmenu-cache3 lxmenu-data lxpanel-data menu lxsession
(it's one long line)

and it worked just fine.

i'm not sure if it will solve your problem, but it's a a start.

when executing this command, please make sure that you can copy-paste its complete output, and if you have problems, post the output here.
this goes for all other commands you might try to fix your system.
JSG7
Posts: 2
Joined: Mon Jun 01, 2015 3:41 am

Re: Menu apps disappeared! Not resolving .desktop?

Post by JSG7 »

Hey! Ty for your help.

I ran update and upgrade separately. Then I ran this

Code: Select all

sudo apt-get --reinstall install lxpanel libmenu-cache3 lxmenu-data lxpanel-data menu lxsession
The output is

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package lxpanel-data
I installed Lubuntu from the main website and a version check says I'm running Ubuntu 14.10

I hope that helps.
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Menu apps disappeared! Not resolving .desktop?

Post by drooly »

indeed.

it seems i was half asleep when i wrote that.
just repeat the command without "lxpanel-data".

but as i said before, this is just something you can try, it won't do any harm, but it's not very likely to magically fix your problem.
Locked