Run Flatpak apps by search filter or through fuzzy finder menu
I wrote a simple script in order to help someone in a recent reply from me, to make running Flatpak applications from terminal easier. After that I worked a little bit on it further and now ended up with 2 completely different approaches.
- flatrun: Run an app by a matching search filter. If multiple matches, then print all matching app ids instead.
-
flatapp: Show list of installed apps in an interactive menu. Plus show a description of the app in a preview window. Run the selected application. Requires
fzf
. -
flatsearch: Show search results from repository in an interactive menu. A selected entry will be installed or uninstalled if it exists already (with confirmation from
flatpak
). Requiresfzf
.
<span style="font-style:italic;color:#969896;"># Show all matching apps
</span><span style="color:#323232;">$ flatrun F
</span><span style="color:#323232;">com.github.tchx84.Flatseal
</span><span style="color:#323232;">io.freetubeapp.FreeTube
</span><span style="color:#323232;">
</span><span style="font-style:italic;color:#969896;"># Run io.freetubeapp.FreeTube
</span><span style="color:#323232;">$ flatrun freetube
</span><span style="color:#323232;">
</span><span style="font-style:italic;color:#969896;"># Show help for com.obsproject.Studio
</span><span style="color:#323232;">$ flatrun obs --help
</span>
or flatapp
: (requires fzf
)
https://beehaw.org/pictrs/image/b101061a-da8e-4842-893a-d0dda9e4148c.webp
and new flatsearch youtube
(requires fzf
)
https://beehaw.org/pictrs/image/f33e2387-6944-4409-90f9-2ec6bbf41d66.webp
Add comment