bemenu icon indicating copy to clipboard operation
bemenu copied to clipboard

Flatpak support

Open EliaHKM opened this issue 2 years ago • 8 comments

Hi 🙋🏻, Could you add support to Flatpak apps?

EliaHKM avatar Apr 08 '22 15:04 EliaHKM

It already does

Earnestly avatar Apr 08 '22 16:04 Earnestly

nothing showed up what should I add to bemenu-run to make it showing the flatpak apps

EliaHKM avatar Apr 08 '22 18:04 EliaHKM

I don't know flatpak enough to understand what "showing up" means, but here is the workflow: https://github.com/Cloudef/bemenu/blob/master/.github/workflows/flatpak.yml

Earnestly avatar Apr 09 '22 08:04 Earnestly

I think he means he wants support for xdg-desktop spec. You can combine bemenu with j4-dmenu-desktop for that. https://github.com/enkore/j4-dmenu-desktop

Cloudef avatar Apr 09 '22 08:04 Cloudef

I'm using sway on EndeavourOS and I'm not a developer what I need here is when I typed flatseal (flatpak app) in bemenu text-field that app(flatseal) show up in the list

EliaHKM avatar Apr 09 '22 09:04 EliaHKM

Gonna bump this a bit with some more details:

User-installed flatpaks don't show up at all when I execute bemenu-run System-installed flatpaks seem to work for other people, but I have all of my flatpaks installed in my home folder, so I can't verify this currently.

Displaying the flatpak names (the actual names and flatpak executable name) doesn't seem to work on a majority of launchers I've tried, and krunner has insanely long startup times for some reason, so bemenu having a fix to show flatpaks correctly would be appreciated.

orowith2os avatar Jun 16 '22 00:06 orowith2os

Just to document the j4-dmenu-desktop workaround, here's the command I used in sway's config:

set $menu dmenu_path | j4-dmenu-desktop --dmenu="bemenu --ignorecase" | xargs swaymsg exec --

You probably want to use --ignorecase as flatpaks seem to start with a capital letter.

But yeah, would still be nice to have this support built in.

aqxa1 avatar Apr 18 '23 03:04 aqxa1

@Cloudef This works, thanks!

nful2 avatar Jun 12 '23 10:06 nful2