Author Topic: [Solved] Application not showing up in Office Menu section  (Read 743 times)

Offline mikeinpcb

  • Jr. Member
  • **
  • Posts: 13
[Solved] Application not showing up in Office Menu section
« on: February 12, 2012, 03:04:15 PM »
If you click on "nevernote" in Synaptic, the last line of the package description states: "Application will be under the Office Menu Category"

I have NeverNote installed on a desktop and a netbook running PCLOS 2012 LXDE and a USB drive running PCLOS LXDE-mini.  It does not appear in the Office section on any of three.  I tried to reinstall it, but it still does not appear in the Office menu.  

I finally went to  /usr/share/applications  and launched NeverNote from there.

My question is: How do I get NeverNote to appear in the Office menu section like Abiword, Evince, Gnumeric, and LibreOffice/LOmanager all do?

« Last Edit: February 13, 2012, 01:07:33 PM by mikeinpcb »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Application not showing up in Office Menu section
« Reply #1 on: February 12, 2012, 03:32:31 PM »
As root (file manager superuser mode), go to /usr/share/applications, right click on nevernote and choose open with leafpad. Look at the bottom section of the file. You should see a line that looks like this:     
Categories=GNOME;GTK;Utility;Gcalctool Calculator;X-KDE-Utilities-Desktop;X-MandrivaLinux-Office-Accessories;     

Note that Office section is indicated. If your categories line does not show an Office section entry, copy and paste what it says in a reply here.     

If that is correct, look for a ShowIn= line. It is usually the bottom line. It may say OnlyShowIn or NotShowIn. If it is NotShowIn, and has LXDE; there, remove the LXDE;, save the change and exit leafpad and file manager superuser mode. If it says OnlyShowIn, add LXDE; save the change and exit leafpad and file manager superuser mode. - Note the semicolon at the end of LXDE. It is necessary.     

Offline mikeinpcb

  • Jr. Member
  • **
  • Posts: 13
Re: Application not showing up in Office Menu section
« Reply #2 on: February 12, 2012, 03:50:28 PM »
As root (file manager superuser mode), go to /usr/share/applications, right click on nevernote and choose open with leafpad. Look at the bottom section of the file. You should see a line that looks like this:     
Categories=GNOME;GTK;Utility;Gcalctool Calculator;X-KDE-Utilities-Desktop;X-MandrivaLinux-Office-Accessories;     

Note that Office section is indicated. If your categories line does not show an Office section entry, copy and paste what it says in a reply here.     

If that is correct, look for a ShowIn= line. It is usually the bottom line. It may say OnlyShowIn or NotShowIn. If it is NotShowIn, and has LXDE; there, remove the LXDE;, save the change and exit leafpad and file manager superuser mode. If it says OnlyShowIn, add LXDE; save the change and exit leafpad and file manager superuser mode. - Note the semicolon at the end of LXDE. It is necessary.     

Here's the content of that file.  The Categories line only shows "Network"

[Desktop Entry]
Name=NeverNote
Comment=Use with Evernote to remember everything
GenericName=Evernote-clone
Exec=/usr/share/nevernote/nevernote.sh
Icon=/usr/share/nevernote/nevernote.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Network;

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Application not showing up in Office Menu section
« Reply #3 on: February 12, 2012, 03:59:51 PM »
Change your categories line to:     
Categories=Office;X-MandrivaLinux-Office-Accessories;     

Use copy and paste.     

Offline mikeinpcb

  • Jr. Member
  • **
  • Posts: 13
Re: Application not showing up in Office Menu section
« Reply #4 on: February 12, 2012, 04:13:54 PM »
Thanks, that fixed it.  Man, I don't know how you know all this, but you're a true Genius in my book!!!

While you were working on this, I loaded a KDE mini-me Live CD on another notebook and installed NeverNote from Synaptic.  It did not show up in the Office menu there either, so this is obviously not LXDE specific.

Again, thanks a million for your help!

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Application not showing up in Office Menu section
« Reply #5 on: February 12, 2012, 04:44:47 PM »
Thanks, that fixed it.  Man, I don't know how you know all this, but you're a true Genius in my book!!!
     
Scroll up to your first post, click Modify and add [Solved] to the title, please. :)     
I learned this by needing to add an app to my menu. That was years ago. ;) Now you've learned and can pass it on when the time comes.   

Quote
While you were working on this, I loaded a KDE mini-me Live CD on another notebook and installed NeverNote from Synaptic.  It did not show up in the Office menu there either, so this is obviously not LXDE specific.

Again, thanks a million for your help!
     
Yes, the category entry that you posted tells me that it won't get listed correctly for other DEs as well.     

Offline mikeinpcb

  • Jr. Member
  • **
  • Posts: 13
Re: [Solved] Application not showing up in Office Menu section
« Reply #6 on: February 14, 2012, 04:28:33 PM »
FYI: This has been corrected in version 0.99-2pclos2012, which is now in the repos.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: [Solved] Application not showing up in Office Menu section
« Reply #7 on: February 14, 2012, 05:11:08 PM »
FYI: This has been corrected in version 0.99-2pclos2012, which is now in the repos.
     
Yes, I know. I corrected it and sent it to the repo.     

Offline mikeinpcb

  • Jr. Member
  • **
  • Posts: 13
Re: [Solved] Application not showing up in Office Menu section
« Reply #8 on: February 15, 2012, 08:07:07 AM »
Thanks, Neal.  I knew that you had corrected it. :)  I was posting the revision info for historical purposes only, to show that the problem was truly [Solved] all the way into the repos. 

Thanks again for all the great work you do!