qubes-issues icon indicating copy to clipboard operation
qubes-issues copied to clipboard

Include keyword search in new app menu search

Open UndeadDevel opened this issue 1 year ago • 19 comments

The problem you're addressing (if any)

Since 4.2 I'm largely using the new App Menu to launch applications instead of Xfce's Application Finder, but the latter still has some advantages (see also #8662), one of which is that it searches not just the app names, but also app keywords (defined in the app's desktop file).

The solution you'd like

Search the Keywords of applications (from their desktop files) as well as the Names when doing a search in the new App Menu.

The value to a user, and who that user might be

  • Is more consistent with Application Finder, which some will also use or have used on 4.1 and prior.
  • Gives more flexibility to both the packager and user as the name is more constrained than keywords are

UndeadDevel avatar Jan 04 '24 16:01 UndeadDevel

Automated announcement from builder-github

The component desktop-linux-menu (including package desktop-linux-menu) has been pushed to the r4.2 testing repository for the Fedora template. To test this update, please install it with the following command:

sudo dnf update --enablerepo=qubes-vm-r4.2-current-testing

Changes included in this update

qubesos-bot avatar May 08 '24 00:05 qubesos-bot

Automated announcement from builder-github

The component desktop-linux-menu (including package desktop-linux-menu) has been pushed to the r4.2 testing repository for the Fedora template. To test this update, please install it with the following command:

sudo dnf update --enablerepo=qubes-vm-r4.2-current-testing

Changes included in this update

qubesos-bot avatar May 08 '24 00:05 qubesos-bot

Automated announcement from builder-github

The component desktop-linux-menu (including package desktop-linux-menu) has been pushed to the r4.2 testing repository for the Fedora template. To test this update, please install it with the following command:

sudo dnf update --enablerepo=qubes-vm-r4.2-current-testing

Changes included in this update

qubesos-bot avatar May 08 '24 00:05 qubesos-bot

Automated announcement from builder-github

The package desktop-linux-menu has been pushed to the r4.3 testing repository for the Debian template. To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing bookworm-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

qubesos-bot avatar May 08 '24 00:05 qubesos-bot

Automated announcement from builder-github

The package desktop-linux-menu has been pushed to the r4.3 testing repository for the Debian template. To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing trixie-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

qubesos-bot avatar May 08 '24 00:05 qubesos-bot

Automated announcement from builder-github

The component desktop-linux-menu (including package desktop-linux-menu) has been pushed to the r4.2 testing repository for the Fedora template. To test this update, please install it with the following command:

sudo dnf update --enablerepo=qubes-vm-r4.2-current-testing

Changes included in this update

qubesos-bot avatar May 08 '24 00:05 qubesos-bot

Automated announcement from builder-github

The package desktop-linux-menu has been pushed to the r4.2 testing repository for the Debian template. To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing bookworm-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

qubesos-bot avatar May 08 '24 00:05 qubesos-bot

Automated announcement from builder-github

The package desktop-linux-menu has been pushed to the r4.2 testing repository for the Debian template. To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing trixie-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

qubesos-bot avatar May 08 '24 01:05 qubesos-bot

Automated announcement from builder-github

The component desktop-linux-menu (including package desktop-linux-menu) has been pushed to the r4.3 testing repository for the Fedora template. To test this update, please install it with the following command:

sudo dnf update --enablerepo=qubes-vm-r4.3-current-testing

Changes included in this update

qubesos-bot avatar May 08 '24 01:05 qubesos-bot

Automated announcement from builder-github

The component desktop-linux-menu (including package desktop-linux-menu) has been pushed to the r4.3 testing repository for the Fedora template. To test this update, please install it with the following command:

sudo dnf update --enablerepo=qubes-vm-r4.3-current-testing

Changes included in this update

qubesos-bot avatar May 08 '24 01:05 qubesos-bot

I don't think this is actually fixed...

I see:

rpm -qa qubes-desktop-linux-menu
qubes-desktop-linux-menu-1.2.0-1.fc37.noarch

Correct me if I'm wrong, but that version (from current-testing) should include this fix; however, after updating the app shortcuts for a DVM template as well as a named DVM I have, where there is, under /usr/local/share/applications the file ytfzf.desktop with content:

[Desktop Entry]
Type=Application
Name=YouTube FzF
Comment=Watch YouTube videos without a browser
Icon=mpv
Exec=gnome-terminal --title=YTFzF --geometry=211x29 -- ytfzf -lts -T mpv --ytdl-pref='ba+bv[height<=?1080][dynamic_range=?SDR]/b[height<=?1080][dynamic_range=?SDR]' %U
Terminal=true
Categories=AudioVideo;Audio;Video;Player;TV;
Keywords=youtube;ytfzf;yt-dlp;

searching in the app menu for ytfz shows no results, even though it should due to above desktop file, which has the ytfzf keyword...the dom0 Xfce Application Finder does show the correct entry when I search for ytfz with it.

Requesting for this to be re-opened.

Edit: I also tried additionally enabling the testing repo in the base template and updating and then again updating all the app shortcuts...it still doesn't work (though I also noticed that there is no package desktop-linux-menu installed or available at all in the repos).

UndeadDevel avatar May 12 '24 08:05 UndeadDevel

Automated announcement from builder-github

The package desktop-linux-menu has been pushed to the r4.2 stable repository for the Debian template. To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

qubesos-bot avatar May 14 '24 00:05 qubesos-bot

Automated announcement from builder-github

The package desktop-linux-menu has been pushed to the r4.2 stable repository for the Debian template. To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

qubesos-bot avatar May 14 '24 00:05 qubesos-bot

Automated announcement from builder-github

The component desktop-linux-menu (including package desktop-linux-menu) has been pushed to the r4.2 stable repository for the Fedora template. To install this update, please use the standard update command:

sudo dnf update

Changes included in this update

qubesos-bot avatar May 14 '24 00:05 qubesos-bot

Automated announcement from builder-github

The component desktop-linux-menu (including package desktop-linux-menu) has been pushed to the r4.2 stable repository for the Fedora template. To install this update, please use the standard update command:

sudo dnf update

Changes included in this update

qubesos-bot avatar May 14 '24 00:05 qubesos-bot

Automated announcement from builder-github

The component desktop-linux-menu (including package desktop-linux-menu) has been pushed to the r4.2 stable repository for the Fedora template. To install this update, please use the standard update command:

sudo dnf update

Changes included in this update

qubesos-bot avatar May 14 '24 00:05 qubesos-bot

Automated announcement from builder-github

The component desktop-linux-menu (including package desktop-linux-menu) has been pushed to the r4.2 stable repository for the Fedora template. To install this update, please use the standard update command:

sudo dnf update

Changes included in this update

qubesos-bot avatar May 14 '24 00:05 qubesos-bot

The updated menu searches for keywords too, try for example "explorer", it should find Thunar in dom0. The issue you see if that keywords from apps in qubes are not retrieved as they weren't relevant before.

marmarek avatar May 14 '24 01:05 marmarek

The updated menu searches for keywords too, try for example "explorer", it should find Thunar in dom0. The issue you see if that keywords from apps in qubes are not retrieved as they weren't relevant before.

Point taken; can confirm that keyword search works for dom0 apps.

However, users aren't supposed to be launching lots of dom0 apps anyway; this might be a miscommunication then, I should have been more clear. What this issue was supposed to be about is exactly the keywords of desktop files in TemplateVMs and AppVMs, as those are for the apps that get used. Basically preserve the search space that the Xfce Application Finder has (which does find apps from AppVMs via their desktop file keywords), as I've indicated in the OP.

UndeadDevel avatar May 14 '24 08:05 UndeadDevel

Automated announcement from builder-github

The component desktop-linux-menu (including package desktop-linux-menu) has been pushed to the r4.3 testing repository for the Fedora template. To test this update, please install it with the following command:

sudo dnf update --enablerepo=qubes-vm-r4.3-current-testing

Changes included in this update

qubesos-bot avatar Jul 05 '24 19:07 qubesos-bot