Had you tried dmenu-extended?
So I was looking for some kind of Ulauncher functionality (file/directory search) and direct url opening from rofi or dmenu and I found dmenu-extended, but I doesn't work at all for me and maybe someone more experienced can help me with this.
My first problem is that I cannot make nomacs the default image viewer with dmenu_extended, although the default image viewer in my system is nomacs, when I open any file image with dmenu_extended, it always open it with some basic image viewer but not with nomacs, to launch it with nomacs I need to first type 'nomacs:' and then the file route.
And other problem that I'm facing is that when I try to open Steam (installed as a flatpak) it never opens, instead gives me this error message:
xdg-open: file '/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/steam --file-forwarding com.valvesoftware.Steam @@u' does not exist
I use
tofi.Dmenu_extendeddoesn't appear to be packaged in Debian, and I can't claim experience with it.Most programs will do what
xdg-opendoes. I also don't see anything in a ten second glance atdmenu_extended's settings for creating file-file-to-program mappings. So I'd probably tryxdg-openon the file first to confirm that it's truly behavior specific todmenu_extended.If it is just
dmenu_extended:https://github.com/MarkHedleyJones/dmenu-extended
I'd probably take a skim through that.
I don't know what you mean "try to open". Using
dmenu_extended? Using some other program to launch it?So,
xdg-openis gonna look at~/.local/share/applications/*.desktopfiles to determine what command to run.I don't use that whole system of XDG file-program associations or flatpak, so I've got limited familiarity with them.
But the basic problem you're facing is that you want the right command to be invoked. I'd try and get flatpak Steam launching from the terminal first. Once that's okay, then go looking at those .desktop files.
Gosh, if it weren't for the
--dmenuargument for rofi, I'd have forgotten dmenu still existed. Do people still use dmenu?Out of curiosity, why do you chose dmenu over rofi (or, I think it's wofi for Wayland)?
To be honest, the only reason that I use dmenu is because it comes pre-configured in ArcoLinux, and I (unfortunately) use an Nvidia graphic card which for my own experience, when trying any Wayland tilling window manager simply doesn't work at all, although Gnome and Plasma works perfectly.