nixpkgs/pkgs/desktops/plasma-5
Samuel Dionne-Riel 1ba2080046 kwin: Unwrap executable name for desktop file search
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.
2021-03-25 14:17:40 -04:00
..
3rdparty plasma-applet-virtual-desktop-bar: init at unstable-2021-02-20 2021-02-24 18:04:18 -06:00
breeze-plymouth
kde-gtk-config Plasma 5.20.4 + some build fixes (dependencies, patches, ..) 2020-12-12 16:05:44 -06:00
kwayland-server kwayland-server: broken with Qt < 5.15 2020-12-12 16:06:13 -06:00
kwin kwin: Unwrap executable name for desktop file search 2021-03-25 14:17:40 -04:00
libkscreen libkscreen: upgrade patch 2021-02-26 05:50:00 +03:00
libksysguard libksysguard: broken with Qt < 5.14 2020-12-12 16:06:36 -06:00
patches
plasma-desktop plasma-desktop: upgrade patch 2021-02-26 05:49:40 +03:00
plasma-integration
plasma-nm plasma-nm: broken with Qt < 5.15 2020-12-12 16:06:38 -06:00
plasma-vault
plasma-workspace plasma-workspace: fix path to qdbus 2021-03-24 07:10:32 +08:00
bluedevil.nix bluedevil: fix evaluation 2020-12-12 16:06:37 -06:00
breeze-grub.nix
breeze-gtk.nix
breeze-qt5.nix
default.nix plasma-systemmonitor: init at 5.21.1 2021-03-22 06:57:26 +08:00
discover.nix discover: add missing dependencies 2021-03-21 10:01:57 +08:00
fetch.sh plasma5: 5.21.0 -> 5.21.1 2021-02-26 05:50:25 +03:00
kactivitymanagerd.nix kactivitymanagerd: broken with Qt < 5.15 2020-12-12 16:06:14 -06:00
kde-cli-tools.nix
kdecoration.nix kdecoration: broken with Qt < 5.15 2020-12-12 16:05:45 -06:00
kdeplasma-addons.nix
kgamma5.nix kgamma5: broken with Qt < 5.15 2020-12-12 16:06:12 -06:00
khotkeys.nix
kinfocenter.nix kinfocenter: fix symlink to systemsettings5 2021-02-17 09:06:14 +08:00
kmenuedit.nix
kscreen.nix
kscreenlocker.nix kscreenlocker: broken with Qt < 5.15 2020-12-12 16:06:37 -06:00
ksshaskpass.nix ksshaskpass: broken with Qt < 5.15 2020-12-12 16:06:14 -06:00
ksysguard.nix ksysguard: add netfilter, libnl dependencies 2021-02-26 05:47:31 +03:00
kwallet-pam.nix
kwayland-integration.nix kwayland-integration: broken with Qt < 5.15 2020-12-12 16:06:13 -06:00
kwrited.nix kwrited: broken with Qt < 5.15 2020-12-12 16:06:12 -06:00
milou.nix milou: broken with Qt < 5.15 2020-12-12 16:06:38 -06:00
oxygen.nix Plasma 5.20.4 + some build fixes (dependencies, patches, ..) 2020-12-12 16:05:44 -06:00
plasma-browser-integration.nix plasma-integration: add workspace dependency 2021-02-26 05:50:04 +03:00
plasma-disks.nix Plasma 5.20.4 + some build fixes (dependencies, patches, ..) 2020-12-12 16:05:44 -06:00
plasma-pa.nix plasma-pa: broken with Qt < 5.15 2020-12-12 16:05:46 -06:00
plasma-systemmonitor.nix plasma-systemmonitor: init at 5.21.1 2021-03-22 06:57:26 +08:00
plasma-thunderbolt.nix
plasma-workspace-wallpapers.nix
polkit-kde-agent.nix polkit-kde-agent: broken with Qt < 5.15 2020-12-12 16:06:13 -06:00
powerdevil.nix Plasma 5.20.4 + some build fixes (dependencies, patches, ..) 2020-12-12 16:05:44 -06:00
sddm-kcm.nix sddm-kcm: add missing dependencies 2021-03-21 10:01:57 +08:00
srcs.nix plasma5: 5.21.0 -> 5.21.1 2021-02-26 05:50:25 +03:00
systemsettings.nix
xdg-desktop-portal-kde.nix xdg-desktop-portal-kde: drop unused python dependency 2021-03-03 01:30:53 +01:00