I don't understand how you're supposed to know or remember all the flatpak names of all applications, to run them from terminal!?

What are you supposed to do? Why?

#flatpak #linux

Like now, nothing happens when I double click a video in Nautilus, so I thought ok, let me try and launch it with Showtime trough the terminal to see if there's any error messages… Well, good luck with that! I have to search up Showtime, not in Overview, not in Software, but on flathub.org, to find the Flatpak name that I can copy and paste into the terminal. What? How does it make any sense that this is the way you're supposed to do things? Am I missing something crucial here? #flatpak #gnome
The more likely outcome is that I just don't have the energy to try and debug the issue…
@forteller iflg. duck så bør du se i ~/.local/share/flatpak (regner med dette er for —user) og /var/lib/flatpak (—system), hvis du finner dem under der så kan du kanskje få lagt dem til i path i hvert fall? Enig i at det høres galt ut at det ikke skal være på plass by default, så mistenker at noe mangler..
@forteller i usually use `flatpak list` to see the names. i don't see this as an issue necessarily with flatpak either because it's possible someone doesn't know "Files" is actually nautilus. Is there an easy way to find that besides looking it up?
@forteller flatpak list should show you whats installed.
@forteller run something like `flatpak run $(flatpak list --app --columns=application | fzf)` then if you want an interactive list to search and auto complete through
@i I appreciate you for taking the time to try and help! Truly! But this is madness! Right!?
@forteller sure? but that's how it is, every app has a unique reverse dns like name, and applications are meant to interface with them to provide a human interface
Correct me if I'm wrong but isn't there a flatpak-list command or some such?

@forteller I use bash aliases to help with that.

Example:

alias appname='flatpak run org.gnome.appname''

Then you just type "appname" and load your app from the terminal like normal

@forteller I'm not on the PC right now but doesn't it work just to double-TAB and it shows all possible names? Or you just enter a part of the name and then hit TAB? Of course you need "flatpak run" first or just do "flatpak list".

@forteller I don't think many folks run their flatpaks from the terminal, so there's no need to memorize the names of all your flatpak apps.

This may not answer all your questions satisfactorily, but there's this which provides some why and a lot of how: https://opensource.com/article/21/5/launch-flatpaks-linux-terminal

Launch Flatpaks from your Linux terminal

The Flatpak application distribution model is helping developers target Linux in a new and easy way, and it's helping Linux users install more applications without worrying

Opensource.com

@forteller I agree, in my opinion it's madness to use reverse DNS notation. It's one of its biggest design flaws.

If #Flatpak would use regular DNS notation, it would still have all the benefits of domain names, but autocomplete would at least work as expected.

The TLD is the least important part of an app name and nothing that users should have to remember. "Was it com.github.name or io.github.name or org. or ...?"

My workaround is a systemd timer to create shortcuts: https://pastebin.com/6LMLbvHK

mkdir --parents "$HOME/.config/systemd/user"mkdir --parents "$HOME/.local/bin/ - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Pastebin