Hi.
I want to hide some applications using the MX menu editor.
So I find the application I want I press the hide option ---> Save and BOOM... Noting happen.
The application keep show in MX Menu even after I restart the computer.
I do something wrong?
The hide option inside menu editor is nor use for that?
Thank you
MX menu editor Hide option not working
Re: MX menu editor Hide option not working
It works for me for at least for some apps. Which app do you try to hide?
- makis_best
- Posts: 3
- Joined: Mon Apr 08, 2019 12:42 pm
Re: MX menu editor Hide option not working
I try to hide Vivaldi browser
Re: MX menu editor Hide option not working
That's a bug in MX Menu Editor. The Hide Otion does create one "NoDisplay=true" marker,
but this marker is only effective for tha last "Exec" statement with that Menu-Icon starter.
For menu icon starter with multiple Exec-lines like vivaldi it does not hide the menuenty.
To correct this manually here a quick fix for vivaldi:
Run within terminal this one liner after you clicked Hide with the menu Editor:
Code: Select all
perl -pi -e '/^Exec=/ && print qq/NoDisplay=true\n/;' ~/.local/share/applications/vivaldi-stable.desktop
and by this the menu entry will not shown in the menu.
HTH
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
Re: MX menu editor Hide option not working
So we need a NoDisplay=true after each Exec= line... that's so stupid... grrrr.
Re: MX menu editor Hide option not working
... I would formulate it bit nicer, like it's a freedesktop spec
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
Re: MX menu editor Hide option not working
indeed, it is a stupid fREEDESKTOPoRG spec.So we need a NoDisplay=true after each Exec= line
To be safe, I might also add:
X-NoJalapeños=true
X-NoAnchovies=true
X-NoClientSideDecorationsHeaderbarThingie=true
- makis_best
- Posts: 3
- Joined: Mon Apr 08, 2019 12:42 pm
Re: MX menu editor Hide option not working
I can use the same command and for other applications just by changing the application name I imagine. Correct?fehlix wrote: ↑Tue Apr 09, 2019 3:12 pmThat's a bug in MX Menu Editor. The Hide Otion does create one "NoDisplay=true" marker,
but this marker is only effective for tha last "Exec" statement with that Menu-Icon starter.
For menu icon starter with multiple Exec-lines like vivaldi it does not hide the menuenty.
To correct this manually here a quick fix for vivaldi:
Run within terminal this one liner after you clicked Hide with the menu Editor:This will add to all Exec lines within the starter file a NoDisplay marker,Code: Select all
perl -pi -e '/^Exec=/ && print qq/NoDisplay=true\n/;' ~/.local/share/applications/vivaldi-stable.desktop
and by this the menu entry will not shown in the menu.
HTH
Re: MX menu editor Hide option not working
Yes, if you adjust the filename of the .desktop -starter file found within ~/.local/share/applications .makis_best wrote: ↑Wed Apr 10, 2019 7:52 am I can use the same command and for other applications just by changing the application name I imagine. Correct?
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB