mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
1ba2080046
KWin for wayland uses the `.desktop` file to determine whether a process is allowed to access some wayland services. This would be fine if there was a stable interface to map a process to a `.desktop` file. Since there is no such interface, they are scanning `.desktop` files for one where the executable path matches the resolved file "exe" from `/proc/$PID/exe`. This would be fine, if we didn't wrap many (most?) KDE/Plasma binaries. Since we are wrapping binaries, the `exe` symlink points to a wrapped binary. No `.desktop` file will match for the wrapped binary. The solution here is to peel away at the `.${name}-wrapped` layers until we have the intended name for the executable. It is expected that no `.desktop` file will ever point to a wrapped binary. |
||
---|---|---|
.. | ||
cdesktopenv | ||
cinnamon | ||
enlightenment | ||
gnome-2 | ||
gnome-3 | ||
gnustep | ||
lumina | ||
lxde/core | ||
lxqt | ||
mate | ||
pantheon | ||
plasma-5 | ||
rox/rox-filer | ||
surf-display | ||
xfce |