AppImageLauncher icon indicating copy to clipboard operation
AppImageLauncher copied to clipboard

Recursive/Nested AppImage Directory search

Open A-G-D opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. Currently, AppImageLauncher daemon only searches for AppImage files which are direct children of a given search folder/path.

Describe the solution you'd like I think it would be useful if it can also do recursive search for all subdirectories inside a given search path. Maybe provided as a toggle-able option.

Describe alternatives you've considered None

Additional context I often keep multiple AppImage versions of some applications. I put AppImages of the same application in their own folder, and these folders are all under ~/Applications. For example:

  • AppImages
    • gimp
      • Gimp-v***.AppImage
      • Gimp-v***.AppImage
    • godot
      • Godot-3.***.AppImage
      • Godot-4.***-alpha.AppImage
    • ...

I don't also want to flatten the folder structure and put them all in 1 level inside 'AppImages' because it would be messy imo and I also have to edit my existing scripts that does searches in this folder. So a recursive AppImageLauncher searching would be really great.

A-G-D avatar Sep 01 '21 10:09 A-G-D

Same situation, except I use sub-folder for more general categories. My current workaround is to fill ~/.config/appimagelauncher.cfg with:

[appimagelauncherd]
additional_directories_to_watch = ~/Applications/Audio:~/Applications/Notes

But that's a lot of subfolders for each of my categories. Fortunately I don't add a new category every day, but I sometimes have sub-sub-folders for more specific apps like the OP.

I tried the /* pattern but it's not supported for additional_directories_to_watch.

hsandt avatar Jul 23 '23 18:07 hsandt

A syntax similar to what borgbackup uses for its patterns could help here. For instance, to include a directory recursively, we could add some prefix (e.g., re|) to the single entry.

TheAssassin avatar Jul 23 '23 23:07 TheAssassin