Choose style:

Author Topic: Menu editing for P8 (Solved)  (Read 416 times)

0 Members and 1 Guest are viewing this topic.

Offline peppycrab

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 11
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Menu editing for P8 (Solved)
« on: May 11, 2019, 09:26:02 pm »
I understand that Menu Libre is not good for Peppermint versions before P9. I am running P8 - any useful menu editing  options for me?
« Last Edit: May 15, 2019, 12:24:56 am by peppycrab »

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: Menu editing for P8
« Reply #1 on: May 11, 2019, 09:55:45 pm »
There was no menu editor before Peppermint 8... but perhaps this thread can help you out a bit @peppycrab?


https://forum.peppermintos.com/index.php/topic,4951.msg49327.html#msg49327

If this doesn't help, please let us know what you want to do precisely...
« Last Edit: May 12, 2019, 12:31:20 am by spence »
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline peppycrab

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 11
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Menu editing for P8
« Reply #2 on: May 12, 2019, 01:58:59 am »
My left column is a bit crowded. Since I never use the programs under "Graphics", I could lose that category. I assume that the shortcuts would remain in the "All" category if I ever had a need for them.

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: Menu editing for P8
« Reply #3 on: May 12, 2019, 03:11:29 pm »
If you remove all the entries in a category, that category will disappear from your left column, but the programs remain installed and accessible via the search at bottom of the menu @peppycrab....

 ;)
« Last Edit: May 12, 2019, 03:13:00 pm by spence »
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26277
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Menu editing for P8
« Reply #4 on: May 12, 2019, 03:19:22 pm »
There is NO safe graphical menu editor for Peppermint versions before 9 I'm afraid .. the only safe option is to edit launchers manually.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline peppycrab

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 11
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Menu editing for P8
« Reply #5 on: May 12, 2019, 04:04:17 pm »
If you remove all the entries in a category, that category will disappear from your left column, but the programs remain installed and accessible via the search at bottom of the menu @peppycrab....

 ;)

Sounds like an answer...but how do I do that?
If I could move those programs to another category, that would accomplish the same thing, but.....how?
« Last Edit: May 12, 2019, 04:09:39 pm by peppycrab »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26277
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Menu editing for P8
« Reply #6 on: May 12, 2019, 04:16:35 pm »
Here are instructions for fixing the menu categories in Peppermint 7 or 8 so that MenuLibre won't break things....
(though a couple of menu category names will appear to change)

Open a terminal, and run:
Code: [Select]
gksudo pluma /etc/xdg/menus/xfce-applications.menu
and make it read
Code: [Select]
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
  "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

<Menu>
    <Name>Xfce</Name>

    <DefaultAppDirs/>
    <DefaultDirectoryDirs/>
    <DefaultMergeDirs/>

    <Include>
        <Category>X-Xfce-Toplevel</Category>
    </Include>

    <Layout>
        <Filename>xfce4-run.desktop</Filename>
        <Separator/>
        <Filename>exo-terminal-emulator.desktop</Filename>
        <Filename>exo-file-manager.desktop</Filename>
        <Filename>exo-mail-reader.desktop</Filename>
        <Filename>exo-web-browser.desktop</Filename>
        <Separator/>
        <Menuname>Settings</Menuname>
        <Separator/>
        <Merge type="all"/>
        <Separator/>
        <Filename>xfce4-about.desktop</Filename>
        <Filename>xfce4-session-logout.desktop</Filename>
    </Layout>

    <Menu>
        <Name>Settings</Name>
        <Directory>xfce-settings.directory</Directory>
        <Include>
            <Category>Settings</Category>
        </Include>

        <Layout>
            <Filename>xfce-settings-manager.desktop</Filename>
            <Separator/>
            <Merge type="all"/>
        </Layout>

        <Menu>
            <Name>Screensavers</Name>
            <Directory>xfce-screensavers.directory</Directory>
            <Include>
                <Category>Screensaver</Category>
            </Include>
        </Menu>
    </Menu>

    <Menu>
        <Name>Accessories</Name>
        <Directory>xfce-accessories.directory</Directory>
        <Include>
            <Or>
                <Category>Accessibility</Category>
                <Category>Core</Category>
                <Category>Legacy</Category>
                <Category>Utility</Category>
            </Or>
        </Include>
        <Exclude>
            <Or>
                <Filename>exo-file-manager.desktop</Filename>
                <Filename>exo-terminal-emulator.desktop</Filename>
                <Filename>xfce4-about.desktop</Filename>
                <Filename>xfce4-run.desktop</Filename>
            </Or>
        </Exclude>
    </Menu>

    <Menu>
        <Name>Development</Name>
        <Directory>xfce-development.directory</Directory>
        <Include>
            <Category>Development</Category>
        </Include>
    </Menu>

    <Menu>
        <Name>Education</Name>
        <Directory>xfce-education.directory</Directory>
        <Include>
            <Category>Education</Category>
        </Include>
    </Menu>

    <Menu>
        <Name>Games</Name>
        <Directory>xfce-games.directory</Directory>
        <Include>
            <Category>Game</Category>
        </Include>
    </Menu>

    <Menu>
        <Name>Graphics</Name>
        <Directory>xfce-graphics.directory</Directory>
        <Include>
            <Category>Graphics</Category>
        </Include>
    </Menu>

    <Menu>
        <Name>Multimedia</Name>
        <Directory>xfce-multimedia.directory</Directory>
        <Include>
            <Category>Audio</Category>
            <Category>Video</Category>
            <Category>AudioVideo</Category>
        </Include>
    </Menu>

    <Menu>
        <Name>Network</Name>
        <Directory>xfce-network.directory</Directory>
        <Include>
            <Category>Network</Category>
        </Include>
        <Exclude>
            <Or>
                <Filename>exo-mail-reader.desktop</Filename>
                <Filename>exo-web-browser.desktop</Filename>
            </Or>
        </Exclude>
    </Menu>

    <Menu>
        <Name>Office</Name>
        <Directory>xfce-office.directory</Directory>
        <Include>
            <Category>Office</Category>
        </Include>
    </Menu>

    <Menu>
        <Name>System</Name>
        <Directory>xfce-system.directory</Directory>
        <Include>
            <Or>
                <Category>Emulator</Category>
                <Category>System</Category>
            </Or>
        </Include>
        <Exclude>
            <Or>
                <Filename>xfce4-session-logout.desktop</Filename>
            </Or>
        </Exclude>
    </Menu>

    <Menu>
        <Name>Other</Name>
        <Directory>xfce-other.directory</Directory>
        <OnlyUnallocated/>
        <Include>
            <All/>
        </Include>
    </Menu>

</Menu>
(be sure to get all of that .. it scrolls).

SAVE the file and exit the text editor.

Back in the terminal run:
Code: [Select]
gksudo pluma /etc/xdg/lxsession/Peppermint/desktop.conf
find the line that reads:-
Code: [Select]
menu_prefix=peppermint-
and change it to read
Code: [Select]
menu_prefix=xfce-
SAVE the file and exit the text editor.

Back in the terminal run:
Code: [Select]
pluma ~/.config/lxsession/Peppermint/desktop.conf
find the line that reads:-
Code: [Select]
menu_prefix=peppermint-
and change it to read
Code: [Select]
menu_prefix=xfce-
SAVE the file and exit the text editor.

Now log off/on  <-- IMPORTANT

The whiskermenu category "Sound & Video" should have changed name to "Multimedia" .. this indicates you're now using the Xfce default menu structure .. only carry on below if that menu category name DID change, otherwise STOP NOW and let us know

If the menu category name DID change from Sound & Video to Multimedia you can now go ahead and install MenuLibre:
Code: [Select]
sudo apt-get update
then
Code: [Select]
sudo apt-get install menulibre
and you should now have a new menu item at

Menu > Settings > Menu Editor

which should no longer break the menu.
« Last Edit: May 12, 2019, 04:31:13 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline peppycrab

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 11
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Menu editing for P8 (Solved....so far...)
« Reply #7 on: May 14, 2019, 03:37:40 pm »
So far, so good! Thanks again!
« Last Edit: May 14, 2019, 03:39:33 pm by peppycrab »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26277
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Menu editing for P8
« Reply #8 on: May 14, 2019, 04:25:34 pm »
No problem :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec