elementary / applications-menu

Applications Menu for elementary OS and the Pantheon desktop environment
https://elementary.io
GNU General Public License v3.0
104 stars 36 forks source link

Do not present applications with `Terminal=true` #428

Closed ryonakano closed 4 years ago

ryonakano commented 4 years ago

Screenshot from 2020-08-22 21-39-55

TeXInfo launcher present in Applications Menu on Odin Daily, while it didn't on Loki, Juno, and Hera IIRC.

TexInfo seems to be installed because elementary-standard depends on it, but the dependencies are not refreshed these days, so I'm not sure why it presents only on Odin Daily.

meisenzahl commented 4 years ago

The changes have occured upstream: Bug #1859963 “Info package on Ubuntu Focal comes preinstalled wi...” : Bugs : texinfo package : Ubuntu

But apparently it is not a bug, but an intentional behavior of the Debian maintainers.

$ cat /usr/share/applications/info.desktop 
[Desktop Entry]
Name=TeXInfo
Comment=The viewer for TexInfo documents
Exec=info
Icon=dialog-information
Type=Application
Categories=Utility;Documentation;ConsoleOnly;
Terminal=true
X-Desktop-File-Install-Version=0.24

We could ignore all desktop files with Terminal=true in https://github.com/elementary/applications-menu.