Hey everyone! I've been using Linux for a few months now, dual booting with Windows 10 and Zorin 17.3. I'm really enjoying the Alt+F2 "run command" feature and have been organizing my applications by adding shortcuts to the PATH for both apt and flatpaks. Recently, I've been facing a frustrating issue where some of my flatpak shortcuts, like the command for GIMP, return a "Permission denied" error when I try to run them using Alt+F2. For instance, the command `flatpak run org.gimp.GIMP` works in the terminal but not through the Alt+F2 shortcut. This seems to happen inconsistently, only with certain flatpaks; others like Lutris and Discord work fine. I'm wondering how I can grant the necessary permissions to the Alt+F2 command so that it can execute my applications without issues. By the way, I figured out a workaround by adding a shebang and making the script executable, but I'm still curious about the permission discrepancies and why it worked when it seemingly shouldn't have.
1 Answer
It sounds like there might be some confusion around what the error actually means. If you’re not getting a direct "permission denied" message, it might not be a permissions issue after all. Check if your desktop environment logs the output of commands run from Alt+F2 anywhere, like in the syslog or systemd's journal. Those logs could give you more insight into what’s going wrong.

I see what you mean. I use GNOME 43.9, but I'm not quite sure which logs I should be checking. Any tips on how to find what to look for in the logs?