Skip to content

Not any results in Debian + rofi 1.5.4 #17

Description

@belugame

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?

Activity

  1. wleoncio commented on Jun 13, 2020

    @wleoncio

    Same here on Ubuntu 18.04 + rofi 1.5.0.

  2. DaveDavenport commented on Jun 13, 2020

    @DaveDavenport
    Collaborator

    @roorco can you check this one?

  3. locua commented on Aug 20, 2020

    @locua

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

  4. ahfriedman commented on Aug 12, 2024

    @ahfriedman

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions