1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

x11-wm/xfce4-session: Add xflock4 option for xfce4-screensaver-command

This will ensure the "Super+L" key combination locks the screen when
x11/xfce4-screensaver is being used.

Approved by:	madpilot (xfce)
Differential Revision:	https://reviews.freebsd.org/D19771
This commit is contained in:
Ben Woods 2019-04-02 11:21:21 +00:00
parent 373668a1e5
commit 8b78621086
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497560
2 changed files with 11 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= xfce4-session
PORTVERSION= 4.12.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= x11-wm xfce
MASTER_SITES= XFCE/src/xfce/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4

View File

@ -1,6 +1,6 @@
--- scripts/xflock4.orig 2014-08-30 18:24:02 UTC
+++ scripts/xflock4
@@ -21,7 +21,7 @@
@@ -21,13 +21,14 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
@ -9,7 +9,15 @@
export PATH
# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
@@ -35,12 +35,14 @@ done
for lock_cmd in \
"xscreensaver-command -lock" \
- "gnome-screensaver-command --lock"
+ "gnome-screensaver-command --lock" \
+ "xfce4-screensaver-command --lock"
do
$lock_cmd >/dev/null 2>&1 && exit
done
@@ -35,12 +36,14 @@ done
# else run another access locking utility, if installed
for lock_cmd in \
"xlock -mode blank" \