Choose style:

Author Topic: Editing the Peppermint menu (SOLVED)  (Read 5806 times)

0 Members and 1 Guest are viewing this topic.

Offline lucas

  • Jr. Member
  • **
  • Posts: 30
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint Five
Editing the Peppermint menu (SOLVED)
« on: September 04, 2014, 04:10:25 pm »
I want to clean the menu.After using libreOffice, and removing the software, items removed from the pc are still in the menu.

I saw in the item
http://forum.peppermintos.com/index.php/topic,920.msg7916.html#msg7916
that it is possible to edit the peppermint menu.

I have tried to open the menu with gedit, that went well.

Spoiler (click here to view / hide)

lucas@lucas-900 ~ $ gedit /etc/xdg/menus/lxde-applications.menu

** (gedit:3001): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
lucas@lucas-900 ~ $ menu://applications/
bash: menu://applications/: No such file or directory
lucas@lucas-900 ~ $ gedit /etc/xdg/menus/lxde-applications.menu

** (gedit:3099): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found


<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
 "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

<Menu>

   <Name>Applications</Name>
   <Directory>lxde-menu-applications.directory</Directory>

   <!-- Read standard .directory and .desktop file locations -->
   <DefaultAppDirs/>
   <DefaultDirectoryDirs/>

   <!-- Read in overrides and child menus from applications-merged/ -->
   <DefaultMergeDirs/>

   <!-- Accessories submenu -->
   <Menu>
      <Name>Accessories</Name>
      <Directory>lxde-utility.directory</Directory>
      <Include>
         <And>
            <Category>Utility</Category>
   <!-- Accessibility spec must have either the Utility or Settings
          category, and we display an accessibility submenu already for
          the ones that do not have Settings, so don't display accessibility
          applications here -->
            <Not><Category>Accessibility</Category></Not>
            <Not><Category>System</Category></Not>
         </And>
      </Include>
   </Menu> <!-- End Accessories -->

   <!-- Accessibility submenu -->
   <Menu>
      <Name>Universal Access</Name>
      <Directory>lxde-utility-accessibility.directory</Directory>
      <Include>
         <And>
            <Category>Accessibility</Category>
            <Not><Category>Settings</Category></Not>
         </And>
      </Include>
   </Menu> <!-- End Accessibility -->

   <!-- Development Tools -->
   <Menu>
      <Name>Development</Name>
      <Directory>lxde-development.directory</Directory>
      <Include>
         <And>
            <Category>Development</Category>
         </And>
         <Filename>emacs.desktop</Filename>
      </Include>
   </Menu> <!-- End Development Tools -->

   <!-- Education -->
   <Menu>
      <Name>Education</Name>
      <Directory>lxde-education.directory</Directory>
      <Include>
         <And>
            <Category>Education</Category>
         </And>
      </Include>
   </Menu> <!-- End Education -->


   <!-- Games -->
   <Menu>
      <Name>Games</Name>
      <Directory>lxde-game.directory</Directory>
      <Include>
         <And>
            <Category>Game</Category>
         </And>
      </Include>
   </Menu> <!-- End Games -->

   <!-- Graphics -->
   <Menu>
      <Name>Graphics</Name>
      <Directory>lxde-graphics.directory</Directory>
      <Include>
         <And>
            <Category>Graphics</Category>
            <Not><Category>Utility</Category></Not>
         </And>
      </Include>
   </Menu> <!-- End Graphics -->

   <!-- Internet -->
   <Menu>
      <Name>Internet</Name>
      <Directory>lxde-network.directory</Directory>
      <Include>
         <And>
            <Category>Network</Category>
         </And>
      </Include>
   </Menu>    <!-- End Internet -->

   <!-- Multimedia -->
   <Menu>
      <Name>Multimedia</Name>
      <Directory>lxde-audio-video.directory</Directory>
      <Include>
         <And>
            <Category>AudioVideo</Category>
         </And>
      </Include>
   </Menu>    <!-- End Multimedia -->

   <!-- Office -->
   <Menu>
      <Name>Office</Name>
      <Directory>lxde-office.directory</Directory>
      <Include>
         <And>
            <Category>Office</Category>
         </And>
      </Include>
   </Menu> <!-- End Office -->

   <!-- System Tools-->
   <Menu>
      <Name>System</Name>
      <Directory>lxde-system-tools.directory</Directory>
      <Include>
         <And>
            <Category>System</Category>
            <Not><Category>Settings</Category></Not>
            <Not><Category>PackageManager</Category></Not>
         </And>
      </Include>
   </Menu>    <!-- End System Tools -->

   <!-- Other -->
   <Menu>
      <Name>Other</Name>
      <Directory>lxde-other.directory</Directory>
      <OnlyUnallocated/>
      <Include>
         <And>
            <Not><Category>Core</Category></Not>
            <Not><Category>Settings</Category></Not>
            <Not><Category>Screensaver</Category></Not>
         </And>
      </Include>
      </Menu> <!-- End Other -->

   <Menu>
      <Name>DesktopSettings</Name>
      <Directory>lxde-settings.directory</Directory>
      <OnlyUnallocated/>
      <Include>
         <Or>
            <Category>Settings</Category>
            <Category>PackageManager</Category>
            <Category>System</Category>
         </Or>
      </Include>
      <Layout>
         <Merge type="menus"/>
         <Merge type="files"/>
      </Layout>

   </Menu> <!-- End Settings -->

   <Layout>
      <Merge type="files"/>
      <Merge type="menus"/>
      <Separator/>
      <Menuname>DesktopSettings</Menuname>
   </Layout>

</Menu> <!-- End Applications -->
[close]

I want for example delete "menu edcation with LibreOffice Math", while Math is removed.

But there are two menus. One lxde and one peppermint. Which one I had to use? Or both? And why?




« Last Edit: September 06, 2014, 02:58:57 pm by lucas »
"you'll see it once you get it"

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25708
  • Karma: 2821
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Editing the Peppermint menu
« Reply #1 on: September 05, 2014, 08:04:25 am »
What do you want to remove from the menu ?

and what's the output from:
Code: [Select]
ls -a ~/.local/share/applications
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline lucas

  • Jr. Member
  • **
  • Posts: 30
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint Five
Re: Editing the Peppermint menu
« Reply #2 on: September 05, 2014, 08:45:42 am »
Output:

Spoiler (click here to view / hide)
lucas@lucas-900 ~ $ ls -a ~/.local/share/applications
.                          googlecalendar.desktop
..                         googledrive.desktop
copycom.desktop            libreoffice-math.desktop
ddchess.desktop            libreoffice-startcenter.desktop
.desktop                   lxde-education.directory
editorbypixlr.desktop      mahjong.desktop
entanglement.desktop       mimeapps.list
expressbypixlr.desktop     network.desktop
firstpersontetris.desktop  onlineuserguide.desktop
gedit.desktop              peppermintforum.desktop
gmail.desktop              solitr.desktop
lucas@lucas-900 ~ $
[close]

I want to remove from the menu:
Education with LibreOffice Math (only program in this menu)
In menu Office I want to remove the items LibreOffice and LibreOffice Math (2 item, total 6) LibreOffice, all programs, is removed from the pc.

« Last Edit: September 05, 2014, 09:38:39 am by lucas »
"you'll see it once you get it"

Offline iamesperambient

  • Veteran
  • ****
  • Posts: 1269
  • Karma: 89
  • a totally awesome dude
    • View Profile
    • i AM esper (drone ambient music)
  • Peppermint version(s): Peppermint 8 64 bit
Re: Editing the Peppermint menu
« Reply #3 on: September 05, 2014, 10:22:18 am »
i tried removing them  i only need libre's version of microsoft word and tried deleting all the ones i dont need.
I also have the same education  > lbre math i tried removing the proframs but apprently too have libre office
show up  you need all of the programs.....i would like to get rid of them too and keep only the one.
http://iamesper.bandcamp.com
boring drone music from NJ

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Editing the Peppermint menu
« Reply #4 on: September 05, 2014, 10:40:49 am »
Hi iamesperambient, I know where you are coming from but your question is not really directly related to the OP's question.  It could cause future confusion if answered here.  Could you please start a new topic line with your question.  Many thanks  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25708
  • Karma: 2821
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Editing the Peppermint menu
« Reply #5 on: September 05, 2014, 10:43:36 am »
@lucas

run:
Code: [Select]
rm -v ~/.local/share/applications/libreoffice-math.desktop
and
Code: [Select]
rm -v ~/.local/share/applications/libreoffice-startcenter.desktop
have they disappeared from the menu ?



@iamesperambient

As AndyInMokum suggests, you're asking a different question (just having the one menu entry) .. please start a separate topic.

DO NOT follow the instructions above .. it will remove BOTH menu entries.
« Last Edit: September 05, 2014, 10:45:13 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline lucas

  • Jr. Member
  • **
  • Posts: 30
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint Five
Re: Editing the Peppermint menu
« Reply #6 on: September 05, 2014, 04:39:13 pm »
The "Education" menu has disappeared.
In the "Office"menu is still present LibreOfice. Libre Math has disappeared

terminal:
Spoiler (click here to view / hide)
lucas@lucas-900 ~ $ rm -v ~/.local/share/applications/libreoffice-math.desktop
removed ‘/home/lucas/.local/share/applications/libreoffice-math.desktop’
lucas@lucas-900 ~ $ rm -v ~/.local/share/applications/libreoffice-startcenter.desktop
removed ‘/home/lucas/.local/share/applications/libreoffice-startcenter.desktop’
lucas@lucas-900 ~ $

lucas@lucas-900 ~ $ ls -a ~/.local/share/applications
.                      expressbypixlr.desktop     mahjong.desktop
..                     firstpersontetris.desktop  mimeapps.list
copycom.desktop        gedit.desktop              network.desktop
ddchess.desktop        gmail.desktop              onlineuserguide.desktop
.desktop               googlecalendar.desktop     peppermintforum.desktop
editorbypixlr.desktop  googledrive.desktop        solitr.desktop
entanglement.desktop   lxde-education.directory
lucas@lucas-900 ~ $
[close]

« Last Edit: September 05, 2014, 05:17:37 pm by lucas »
"you'll see it once you get it"

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25708
  • Karma: 2821
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Editing the Peppermint menu
« Reply #7 on: September 05, 2014, 05:04:04 pm »
What's the output from:
Code: [Select]
dpkg -l | grep libreoffice
?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline lucas

  • Jr. Member
  • **
  • Posts: 30
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint Five
Re: Editing the Peppermint menu
« Reply #8 on: September 06, 2014, 04:39:41 am »
The terminal output:
Spoiler (click here to view / hide)
lucas@lucas-900 ~ $ dpkg -l | grep libreoffice
rc  libreoffice-base                           1:4.2.6.3-0ubuntu1                    i386         office productivity suite -- database
ii  libreoffice-base-core                      1:4.2.6.3-0ubuntu1                    i386         office productivity suite -- shared library
rc  libreoffice-calc                           1:4.2.6.3-0ubuntu1                    i386         office productivity suite -- spreadsheet
ii  libreoffice-common                         1:4.2.6.3-0ubuntu1                    all          office productivity suite -- arch-independent files
ii  libreoffice-core                           1:4.2.6.3-0ubuntu1                    i386         office productivity suite -- arch-dependent files
rc  libreoffice-draw                           1:4.2.6.3-0ubuntu1                    i386         office productivity suite -- drawing
rc  libreoffice-impress                        1:4.2.6.3-0ubuntu1                    i386         office productivity suite -- presentation
rc  libreoffice-math                           1:4.2.6.3-0ubuntu1                    i386         office productivity suite -- equation editor
ii  libreoffice-style-galaxy                   1:4.2.6.3-0ubuntu1                    all          office productivity suite -- Galaxy (Default) symbol style
ii  libreoffice-style-human                    1:4.2.6.3-0ubuntu1                    all          office productivity suite -- Human symbol style
rc  libreoffice-writer                         1:4.2.6.3-0ubuntu1                    i386         office productivity suite -- word processor
lucas@lucas-900 ~ $
[close]
"you'll see it once you get it"

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25708
  • Karma: 2821
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Editing the Peppermint menu
« Reply #9 on: September 06, 2014, 06:21:06 am »
I take it the idea here is to remove all traces of libreoffice ?

if so, run:
Code: [Select]
sudo apt purge libreoffice*
and see if the menu ite(s) has disappeared.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline lucas

  • Jr. Member
  • **
  • Posts: 30
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint Five
Re: Editing the Peppermint menu
« Reply #10 on: September 06, 2014, 02:58:24 pm »
Thank you, great, it went okay.

Also the last item in menu "Office", named  LibreOffice, is gone. Thank you for cleaning my menus.

Of course I will use Google Drive as a word processor. But I saw in another item that if I want  an off-line editor, I better can use Abiword.
Maybe it is an idea when I am unfortunately offline I use the text editor. And  when I am back online I can copy all my text to Drive. It is a pity, that the text editor is only valid for text not for spreadsheets.

Thank you for helping me.
« Last Edit: September 06, 2014, 03:11:26 pm by lucas »
"you'll see it once you get it"

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Editing the Peppermint menu (SOLVED)
« Reply #11 on: September 06, 2014, 03:28:20 pm »
That's great  ;).  Have you tried, Kingsoft Spreadsheets Free 2013? http://www.kingsoftstore.com/spreadsheets-free.html.  It is proprietary software but it is free as in gratis. It is basically a clone of MS Excel.  It could be just what you are looking for  ;)

Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25708
  • Karma: 2821
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Editing the Peppermint menu (SOLVED)
« Reply #12 on: September 06, 2014, 03:33:41 pm »
As Andy suggests Kingsoft office would give you both a word processor and spreadsheets

It's Microsoft Office compatible to .. eg. it can read and epxort to Microsoft Office .doc .docx .xls and .xlsx

Can  be tricky to innstall though because of some missing fonts .. but if you wanna give it a go, just ask (in a new tooic please)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Editing the Peppermint menu (SOLVED)
« Reply #13 on: September 06, 2014, 03:48:15 pm »
That's great  ;)Have you tried, Kingsoft Spreadsheets Free 2013? http://www.kingsoftstore.com/spreadsheets-free.html.  It is proprietary software but it is free as in gratis. It is basically a clone of MS Excel.  It could be just what you are looking for  ;).

Yeah, Lucas amend my last post.  That link was only for Windows.  Sorry there is no Linux stand alone Kingsoft Spreadsheet.  Their full office suite is for Linux and is very good: http://wps-community.org/download.html
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline lucas

  • Jr. Member
  • **
  • Posts: 30
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint Five
Re: Editing the Peppermint menu (SOLVED)
« Reply #14 on: September 07, 2014, 02:28:50 am »
I thank you, both   :)   :)
"you'll see it once you get it"