KRunner
不能搜索中文字符啊?
不指望内容搜索,文件名搜索也好。
以前用的是 Catfish
,KDE
没有对应的软件吗?
Kfind是KDE的搜索工具,它能够工作吗?
KFind can be used as a standalone search tool, launched by KRunner or from your menu. It is also integrated into Konqueror as “Find File” in the “Tools” menu. It allows you to find files by name, type or content.
dolphin中存在与baloo集成的“查找”功能?它能够工作吗?
是否可能是Krunner搜索功能的配置问题?“系统设置>文件搜索”是否启用?
KFind
只能搜索到很少的一点内容,摸不清楚规律。
集成在 dolphin
中的搜索能正常工作。
下图,在 dolphin
中可以搜索到的内容,在KFind
中找不到。
“系统设置>文件搜索”已经启用,同一个包含中英文字符的文件,搜索英文可以搜索到,搜索中文则不行。
KFind使用的是正则表达式,你可能需要使用“*快乐*
”这样的搜索条件。
“搜索>文件搜索”的具体配置是什么样的?
baloo对于CJK的支持存在问题:
不过你遇到的问题不一定是这个问题,考虑一下,是否可能是配置问题。
OK,现在 KFind
是没有问题了。
但是这样的设计好吗?
KRunner
不能搜索中文的问题能解决吗
补充:KRunner
也需要正则式来搜索中文。
See https://wiki.archlinux.org/title/Baloo:
Note that text search index breaks down all metadata (including filenames) into “words”, and does all its searches over it from the beginning of the word only. What this means is that while baloosearch “tutorial” would match my_great_tutorial.txt, baloosearch “utorial” would not match it. To see what “words” baloo stored in the index for a particular file do:
balooshow -x filename
而baloo索引功能几乎对CJK没有支持:
https://bugs.kde.org/show_bug.cgi?id=425020
baloo只在某些时候能够提取CJK单词,可能会由于忽略标点符号进行错误的索引,以及无法进行完全的索引。由于baloo的搜索功能依赖索引
,这会使它搜索中文时难以工作。建议使用baloo时使用通配符*扩展搜索范围,即使如此仍然不能保证它总是有效,在该错误修复以前,不建议使用baloo进行搜索。
好的。
KRunner
用正则也能搜到一些中文,但是搜索不全面。