albertlauncher / albert

A fast and flexible keyboard launcher
https://albertlauncher.github.io
Other
7.2k stars 304 forks source link

Applications: Search for application exec #1206

Closed Massimo-B closed 1 year ago

Massimo-B commented 1 year ago

albert-0.17.6

Description

Currently the extension "Applications" does not search for Exec=. For instance I have installed menulibre with these parts in /usr/share/applications/menulibre.desktop:

[Desktop Entry]
Version=1.1
Type=Application
Name=Menu Editor
Name[ar]=محرر القائمة
Name[ca]=Editor del menú
Name[cs]=Editor nabídky
Name[da]=Menuredigering
Name[de]=Menübearbeitung
Name[el]=Επεξεργαστής Μενού
Name[en_AU]=Menu Editor
Name[en_GB]=Menu Editor
...
Comment[zh_TW]=在選單加入或移除應用程式
Icon=menulibre
Exec=/usr/bin/menulibre
Categories=GNOME;GTK;Settings;DesktopSettings;Utility;
Keywords=Configuration;Menu;User;
StartupNotify=true
Terminal=false
X-Ubuntu-Gettext-Domain=menulibre

I can find the entry by "menu" but not by "menulibre".

Expected behavior

Please add searching for Exec as sometimes I only know the executable name.

Btw. which fields are search for, only the Name[]= of my current LC_MESSAGES? I have a german installation but switched to EN messages in order for easier reproduction of international bug reports:

$ env |grep LC_
LC_ADDRESS=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
ManuelSchneid3r commented 1 year ago

“ Use exec keys“ option activated?

Massimo-B @.***> schrieb am Fr., 17. März 2023, 07:59:

Assigned #1206 https://github.com/albertlauncher/albert/issues/1206 to @ManuelSchneid3r https://github.com/ManuelSchneid3r.

— Reply to this email directly, view it on GitHub https://github.com/albertlauncher/albert/issues/1206#event-8775013876, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY2AWYFRAC5ZCW5DND6XQ3W4QDTNANCNFSM6AAAAAAV6EY42M . You are receiving this because you were assigned.Message ID: @.***>

Massimo-B commented 1 year ago

I don't see this option in 0.17.6. Gentoo seems to be outdated on that old version, I'm going to push it. Do you have a stable release or just latest tagged v0.20.9?

ManuelSchneid3r commented 1 year ago

join the chats. there is somebody trying to package it, but it seems to be cumbersome due to qhotkey.

ManuelSchneid3r commented 1 year ago

looks like case_of packaged it join one of the community chats.

CaseOf commented 1 year ago

@Massimo-B I am the official maintainer on Gentoo via proxy-maint. I was waiting for Qt6 packages to be broader available before adding Qt6 versions. I did a pull request on https://github.com/gentoo/gentoo last few days to add it.