Choose style:

Author Topic: how to remove categories from "Whiskermenu"  (Read 2292 times)

0 Members and 1 Guest are viewing this topic.

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
how to remove categories from "Whiskermenu"
« on: June 27, 2016, 05:04:31 pm »
Okay, starting a new thread as directed :P

I have a few categories I'd like to remove from the new p7 whiskermenu. I'm supposing it may be a wee bit different than changing the top level categories in previous versions of peppermint?
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: 26276
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: how to remove categories from "Whiskermenu"
« Reply #1 on: June 27, 2016, 08:03:10 pm »
There's no simple way to do this, beyond hiding all the icons contained within the category .. then the category will hide itself.

The only other method would be to manually edit
/etc/xdg/menus/peppermint-applications.menu
and I'd STRONGLY advise against that unless you know what you're doing .. you could VERY easily end up with a badly broken menu structure.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: how to remove categories from "Whiskermenu" [SOLVED]
« Reply #2 on: June 27, 2016, 09:51:46 pm »
guess i picked the right board to ask in then... I'm not a gamer...  i had already reviewed our conversation about how we did this in previous versions of peppermint... saved an original copy of the file.... made the appropriate edits and boom... Games is gone... whisker menu just a bit more to my liking...
« Last Edit: June 27, 2016, 10:17:51 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: 26276
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: how to remove categories from "Whiskermenu"
« Reply #3 on: June 27, 2016, 10:31:37 pm »
:)

You don't have to delete the .desktop files, just open them in a text editor and add the line

NoDisplay=true

and save them .. they'll then not be displayed in the menu
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 4029
  • Karma: 863
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: how to remove categories from "Whiskermenu"
« Reply #4 on: June 27, 2016, 11:04:47 pm »
Also, if you have icons that appear in more than one category and you want one icon and category gone but the other to remain, you can just remove that category from the "Categories=" line.  If you do it this way, be sure to save the edited file in your ~/.local/share/Applications directory.  If you save it there, it will override the file in /usr/share/Applications folder.  Also, a program update won't undo your changes like it will if you save it to /usr/share/Applications.

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: how to remove categories from "Whiskermenu"
« Reply #5 on: June 28, 2016, 12:54:19 am »
good to know for the other remaining categories, but there will never be any games on this machine, so I'm not too worried  8)
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 zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3135
  • Karma: 567
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: how to remove categories from "Whiskermenu"
« Reply #6 on: June 28, 2016, 01:45:34 am »
Hi All
Thanks for all the input - I have now managed to "Tweak" a few items and empty Categories now don't display. I also saved the edited files ~/.local too
 :D Lurnin' all the time - I LUV IT
Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadrippe 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 1 x 43" 1 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P10 x64 Laptop - i7-7700HQ - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26276
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: how to remove categories from "Whiskermenu"
« Reply #7 on: June 28, 2016, 07:54:27 am »
:) .. fun innit :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 4029
  • Karma: 863
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: how to remove categories from "Whiskermenu"
« Reply #8 on: June 28, 2016, 09:33:05 am »
Hi All
Thanks for all the input - I have now managed to "Tweak" a few items and empty Categories now don't display. I also saved the edited files ~/.local too
 :D Lurnin' all the time - I LUV IT
Regards Zeb...

I always have to do that with LibreOffice Math.  It shows up in both Office and Educational, but I never install any other educational software, so it's pointless to have a category with an icon in it that appears elsewhere in the menu.  So, I always edit the .desktop file and save it to my local Applications folder because I tried it once where I saved it to the system folder and an update put the category Education back in the file.  ::)  However, the system can't override stuff in your home folder for your user account.  8)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26276
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: how to remove categories from "Whiskermenu"
« Reply #9 on: June 28, 2016, 10:08:55 am »
Yeah good point .. .desktop launchers in:-

~/.local/share/applications

take priority (for the current user) over the system wide ones in:-

/usr/share/applications

If you have the same .desktop launcher in both directories, it will be the one in your home folder that is acted upon.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: how to remove categories from "Whiskermenu"
« Reply #10 on: July 02, 2016, 06:43:36 pm »
hopefully, y'all will be pleased to know, I corrected my previous edits and took the board admins advice
Code: [Select]
NoDisplay=true
was added to all the local desktop files which aren't going to be used by me, myself and I... thanks guys

Yeah good point .. .desktop launchers in:-

~/.local/share/applications

take priority (for the current user) over the system wide ones in:-

/usr/share/applications

If you have the same .desktop launcher in both directories, it will be the one in your home folder that is acted upon.
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 facucsok

  • nOOb
  • *
  • Posts: 2
  • Karma: -1
  • New Forum User
    • View Profile
  • Peppermint version(s): 7 Seven
Re: how to remove categories from "Whiskermenu"
« Reply #11 on: July 08, 2016, 02:14:33 pm »
Alacarte is the best option, (It comes with a restore default button) , I don't know why Pmint comes with menu libre (just sucks, no offense)  >:(

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26276
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: how to remove categories from "Whiskermenu"
« Reply #12 on: July 08, 2016, 02:17:57 pm »
So install it .. problem solved (or just starting).

By the way, Peppermint does NOT come with menulibre, it never has and probably never will .. there is no 100% safe menu editor for LXDE so we don't ship with one :P

Feel a bit stupid now ? .. no offence.

And what's with the all bold text ?
« Last Edit: July 08, 2016, 02:29:50 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec