Open belugame opened 4 years ago
Same here on Ubuntu 18.04 + rofi 1.5.0.
@roorco can you check this one?
Using Ubuntu 18.04 and Rofi 1.5.4. The finder is missing files, showing an incomplete list.
In case anyone is interested, changing the two -iname *"${QUERY#\?}"*
to -iname "*${QUERY#\?}*"
seemed to resolve a lot of the issues I was having with it not finding all files. Prior to this change, it appears that find would occasionally hit paths that would make it error out early with:
find: paths must precede expression: <filename>
find: possible unquoted pattern after predicate `-iname'?
I'm not entirely sure why this problem would only exist some of the time, but nonetheless, it seems to be working all of the time with this change.
To get opening the containing folder to work with searches prefixed by ?
I didn't have to change exo-open
. Instead, I found that for some reason, exo-open
was defaulting to the wrong application—specifically, it was trying to open all directories using flatpak. I'm similarly not sure why this was; however, I was able to fix that via xdg-mime default org.gnome.Nautilus.desktop inode/directory
(swapping Nautilus for whatever file manager you'd prefer to use as needed).
Hey, I tried the script on two different Debian machines but was not able to find anything. I have rofi 1.5.4 When I call finder.sh it shows me plenty files. When I run the rofi command I see the rofi popup and the help lines neatly in the popup too but when I type I do not get any file result. It only filters down on the help lines. I know for Debian I will need to replace exo-open with xdg-open but not sure what else is problematic?