Closed gsantner closed 7 years ago
No problem. Any data provided by garcon can be used. But 1) it is not official released, so I cannot include it with a #ifdef GARCON_CHECK_VERSION(...)
switch and 2) as older garcon version are also supported I have to include a fallback function. It's the same as with desktop action (see #158) for 2).
Support for keyword is added to XfdashboardDesktopAppInfo at least. Using them in the application search provider is a little bit harder :/
Keeping this issue open until the keywords are used in search.
It's now fully implemented so keywords are also checked when searching for matching applications. Could you test it also?
works, thanks!
I contributed to garcon, especially with xfdashboard in mind, to allow parsing and getting/settings Keywords of freedesktop compliant files, see
Keywords=
on Spec. My patch was added to garcon recently (https://bugzilla.xfce.org/show_bug.cgi?id=10683#c10, https://git.xfce.org/xfce/garcon/commit/?id=a38922c0892262294c88813c4bf0c72e2f438d54).It would be great if xfdashboard could too browse keywords when searching. So if theres e.g. "Keywords=maths;calculation;" in the
.desktop
file, and "math" gets typed, that the calculator shows up as one of the results.I tried to compile xfdashboard with git version of garcon, and printed out the first item to check if it would work (which did):