New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flatpak apps are not added to the menu in Plasma Wayland #114
Comments
This is a bug in Plasma Wayland. I switched to Plasma X11, and all the application launchers are listed. Many are missing on Plasma Wayland; for example, GPUScreenRecorder, and vokoscreen-ng, while Gnome Boxes are missing the icon. I manually added the launchers to
|
I have this working on a pinebook pro running postmarketOS (edge) not sure which part is responsible for XDG_DATA_DIRS showing up under wayland on the pinebook but a quick glance shows that the KDE Frameworks is one minor version ahead ( 5.107.0 vs 5.106.0 ) and the different versions of the kernel but shouldn't affect it. Operating System: postmarketOS edge
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9
Kernel Version: 6.2.0 (64-bit)
Graphics Platform: Wayland
Processors: 4 × ARM Cortex-A53, 2 × ARM Cortex-A72
Memory: 3.8 GiB of RAM
Graphics Processor: Mali-T860
Product Name: Pine64 Pinebook Pro
Flatpak 1.14.4
echo $XDG_DATA_DIRS
$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
vs Operating System: Nitrux 2.8.1 build.310523.sc
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.4-1-liquorix-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-5600U CPU @ 2.60GHz
Memory: 7,5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500
Manufacturer: LENOVO
Product Name: 20BV001AMS
System Version: ThinkPad T450
Flatpak 1.14.4
echo $XDG_DATA_DIRS
/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share:/usr/local/share:/usr/share
On both systems the flatpaks are installed as system installations on |
The issue is still present even if using KDE Frameworks 5.107. The values of the variable are the same, even if they are in a different order; it shouldn't matter. The variable is loaded immediately on login; one can check this using the command In this example, I installed Dolphin as a system Flatpak; the icon doesn't appear at all. I think that's even worse. In X11, there's no problem. The variable is not the problem since it works in Plasma X11. The problem is Plasma Wayland is not using it or something like that. |
Fixed in Nitrux/nx-desktop-settings@20e485c That should've been set in the upstream's file |
Describe the bug
For some reason, Flatpak applications are not added to the applications menu even if they work correctly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The application is listed in the application menu
Desktop (please complete the following information):
Additional context
I found that this is supposedly a problem with the environment variable
XDG_DATA_DIRS
; however, this variable is added to the ZSH shell configuration file.The file
.zshrc
already includes this line.export XDG_DATA_DIRS="/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share:$HOME/.local/share/flatpak/exports:$XDG_DATA_DIRS"
Changing to
$HOME/.local/share/flatpak/exports
doesn't have any effect.The text was updated successfully, but these errors were encountered: