Edit: Thanks for the help, Yazi seems to be what I’m looking for.

Basically the title. I am looking to use a TUI file manager, but most seem to only support opening files in one external application based on mime-type.

What I need:
Select an image -> file manager shows a preview (unpixelated)
Open image -> it opens in my default image viewer
Open image with… -> file manager lets me select a program to open it

I need this cause I often want to open images in gimp, but I don’t want it to be my default image viewer.

  • Štěpán@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 months ago

    I use Yazi, and I have a separate bind to open the file in Junction. Junction is an “open with” chooser. Relevant lines from keymap.toml:

    [[mgr.prepend_keymap]]
    on = ["b", "j"]
    desc = "open in Junction"
    run = '''
    shell 'flatpak run re.sonny.Junction "$@"' --confirm --orphan
    '''
    

    I’m not the biggest fan of Junction, but sadly I haven’t found anything better yet.