mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
xfce4-session: fix lock screen not working with light-locker
This commit is contained in:
parent
f152749c99
commit
71203503f9
16
pkgs/desktops/xfce/core/xfce4-light-locker.patch
Normal file
16
pkgs/desktops/xfce/core/xfce4-light-locker.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- ./scripts/xflock4.orig 2017-08-06 23:05:53.807688995 +0100
|
||||
+++ ./scripts/xflock4 2017-08-06 23:09:06.171789989 +0100
|
||||
@@ -24,10 +24,11 @@
|
||||
PATH=/bin:/usr/bin
|
||||
export PATH
|
||||
|
||||
-# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
|
||||
+# Lock by xscreensaver, gnome-screensaver or light-locker, if a respective daemon is running
|
||||
for lock_cmd in \
|
||||
"xscreensaver-command -lock" \
|
||||
- "gnome-screensaver-command --lock"
|
||||
+ "gnome-screensaver-command --lock" \
|
||||
+ "light-locker-command -l"
|
||||
do
|
||||
$lock_cmd >/dev/null 2>&1 && exit
|
||||
done
|
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "97d7f2a2d0af7f3623b68d1f04091e02913b28f9555dab8b0d26c8a1299d08fd";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix "lock screen" not working for light-locker
|
||||
./xfce4-light-locker.patch
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig intltool gtk libxfce4util libxfce4ui libwnck dbus_glib
|
||||
xfconf xfce4panel libglade xorg.iceauth xorg.libSM
|
||||
|
Loading…
Reference in New Issue
Block a user