Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden applications shown in launcher, but not in applications menu #185

Open
lboekhorst opened this issue Jun 11, 2023 · 1 comment
Open

Comments

@lboekhorst
Copy link

I am using Pop!_OS 22.04 LTS. I have organized my applications menu using MenuLibre. Through MenuLibre, I have hidden several applications, such as the LibreOffice start center and the Shotwell Profile Browser to name two.

By default, MenuLibre will save the changes to the original desktop file in ~.local/share/applications. This works great if you change a display name for instance, but if you configure NoDisplay=true, the Pop!_OS launcher will pretend it doesn't exist and revert back to the system desktop file. The applications list under Show Applications will correctly hide it, however.

To reproduce this issue, create a desktop file for an application in /usr/share/applications, which is visible. Next, create another desktop by the same name in .local/share/applications. Ensure this is hidden via NoDisplay=true Open the launcher and observe how it will still show the hidden application in the search results and indicate the System as the source. Also observe how the Show Applications menu will have it hidden, however.

Launcher search results:
image

Configuration in MenuLibre:
image

("Niet tonen in menu's" means the item should be hidden)

Relevant desktop file from ~/.local/share/applications:

[Desktop Entry]
Version=1.1
Type=Application
Name=LibreOffice
GenericName=Kantoor
NoDisplay=true
Comment=Het pakket voor productiviteit op kantoor, compatibel met het open en gestandaardiseerde ODF documentformaat. Ondersteund door The Document Foundation.
Icon=libreoffice-startcenter
Exec=libreoffice %U
Actions=Writer;Calc;Impress;Draw;Base;Math;
MimeType=application/vnd.openofficeorg.extension;x-scheme-handler/vnd.libreoffice.cmis;x-scheme-handler/vnd.sun.star.webdav;x-scheme-handler/vnd.sun.star.webdavs;x-scheme-handler/vnd.libreoffice.command;x-scheme-handler/ms-word;x-scheme-handler/ms-powerpoint;x-scheme-handler/ms-excel;x-scheme-handler/ms-visio;x-scheme-handler/ms-access;
Categories=Office;X-MandrivaLinux-Office-Other;X-Red-Hat-Base;X-SuSE-Core-Office;
StartupNotify=true
StartupWMClass=libreoffice-startcenter

[Desktop Action Writer]
Name=Writer
Exec=libreoffice --writer

[Desktop Action Calc]
Name=Calc
Exec=libreoffice --calc

[Desktop Action Impress]
Name=Impress
Exec=libreoffice --impress

[Desktop Action Draw]
Name=Draw
Exec=libreoffice --draw

[Desktop Action Base]
Name=Base
Exec=libreoffice --base

[Desktop Action Math]
Name=Math
Exec=libreoffice --math

Observe how it has NoDisplay=true configured.

@atagen
Copy link

atagen commented Apr 30, 2024

this no longer appears to be an issue in the present version (via cosmic-launcher), however the Hidden key is similarly not respected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants