Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not any results in Debian + rofi 1.5.4 #17

Open
belugame opened this issue Apr 15, 2020 · 4 comments
Open

Not any results in Debian + rofi 1.5.4 #17

belugame opened this issue Apr 15, 2020 · 4 comments

Comments

@belugame
Copy link

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?

@wleoncio
Copy link

Same here on Ubuntu 18.04 + rofi 1.5.0.

@DaveDavenport
Copy link
Collaborator

@roorco can you check this one?

@locua
Copy link

locua commented Aug 20, 2020

Using Ubuntu 18.04 and Rofi 1.5.4. The finder is missing files, showing an incomplete list.

@ahfriedman
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@DaveDavenport @wleoncio @belugame @locua @ahfriedman and others