| Summary: | Cannot start Flatpak application in X11 session | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] flatpak-platform-plugin | Reporter: | fw.smit01 |
| Component: | general | Assignee: | Jan Grulich <jgrulich> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| URL: | https://github.com/fish-shell/fish-shell/issues/7485 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
fw.smit01
2022-11-10 12:17:12 UTC
How about from Kickoff, Kicker, or KRunner? Can you launch the Flatpak apps from those? How did yo get the Flatpak apps in question into your Task Manager? I've figured out I'm affected by https://github.com/fish-shell/fish-shell/issues/7485. Fish doesn't ready /etc/profile.d, so it's not executing /etc/profile.d/flatpak.sh. This means XDG_DATA_DIRS will not contain the right directories. It should be fixed by https://github.com/fish-shell/fish-shell/issues/7485#issuecomment-728984689. What's interesting about this one is that the bug only happens in the X11 session and not the Wayland session. Any idea what's different there? There has already been a lot of discussion in: https://github.com/sddm/sddm/pull/1047 https://github.com/sddm/sddm/pull/1260 (revert 1047) https://github.com/sddm/sddm/pull/1331 (does essentially the same as 1047) I'll have to read the complete history later, but I haven't found why it's not working for me yet. I have /bin/sh set to /bin/bash, not fish. Only my login shell is fish (chsh -s /bin/fish). For completeness: (In reply to Nate Graham from comment #1) > How about from Kickoff, Kicker, or KRunner? Can you launch the Flatpak apps > from those? No, none > How did yo get the Flatpak apps in question into your Task Manager? Via the wayland session. Ah yes, the fish shell issue.
> Only my login shell is fish
In general this will only cause you pain and bugs. I'd recommend not actually changing the entire login shell to fish, and just using it in your interactive terminals.
(In reply to Nate Graham from comment #3) > Ah yes, the fish shell issue. > > > Only my login shell is fish > In general this will only cause you pain and bugs. I'd recommend not > actually changing the entire login shell to fish, and just using it in your > interactive terminals. Thanks, I think I didn't realize this while installing fish. Just weird that I discovered it so much later when switching from the wayland session to the X11 session. |