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 breeze-plymouth: remove trailing whitespace 2020-09-03 19:20:55 +02:00
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 powerdevil: backport fix for debug log spam 2020-08-22 12:13:12 -07:00
plasma-desktop plasma-desktop: upgrade patch 2021-02-26 05:49:40 +03:00
plasma-integration plasma5: 5.13.5 -> 5.14.0 2018-10-11 15:24:37 +02:00
plasma-nm plasma-nm: broken with Qt < 5.15 2020-12-12 16:06:38 -06:00
plasma-vault plasma5: 5.13.5 -> 5.14.0 2018-10-11 15:24:37 +02:00
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 plasma5: fixup inputs and outputs 2017-06-18 08:44:45 -05:00
breeze-gtk.nix breeze-gtk: add deps to fix build 2019-02-12 12:54:33 -06:00
breeze-qt5.nix plasma5: 5.13.5 -> 5.14.0 2018-10-11 15:24:37 +02:00
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 plasma-5.kde-cli-tools: install a symlink to kdesu in bin 2020-08-20 18:24:08 -03:00
kdecoration.nix kdecoration: broken with Qt < 5.15 2020-12-12 16:05:45 -06:00
kdeplasma-addons.nix kdeplasma-addons: add kpurpose and qtwebengine as inputs 2020-08-31 20:02:34 -05:00
kgamma5.nix kgamma5: broken with Qt < 5.15 2020-12-12 16:06:12 -06:00
khotkeys.nix khotkeys: broken on Qt < 5.14 2020-08-24 19:45:44 +08:00
kinfocenter.nix kinfocenter: fix symlink to systemsettings5 2021-02-17 09:06:14 +08:00
kmenuedit.nix plasma5: fixup inputs and outputs 2017-06-18 08:44:45 -05:00
kscreen.nix plasma5: 5.17.5 -> 5.18.5 2020-08-21 19:48:12 +02:00
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 kwallet-pam: unset QT_PLUGIN_PATH 2020-04-09 10:48:14 -04:00
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-thunderbolt: init at 5.18.5 2020-11-10 08:10:00 +08:00
plasma-workspace-wallpapers.nix plasma5: fixup inputs and outputs 2017-06-18 08:44:45 -05:00
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 plasma5: 5.12 -> 5.13 2018-06-12 14:30:48 +02:00
xdg-desktop-portal-kde.nix xdg-desktop-portal-kde: drop unused python dependency 2021-03-03 01:30:53 +01:00