You are not logged in.
Hello,
I want to use slimlock with xfce4 and this works, I added
#own modification for slimlock
for lock_cmd in \
"slimlock"
do
set -- $lock_cmd
if command -v -- $1 >/dev/null 2>&1; then
$lock_cmd >/dev/null 2>&1 &
exit
fi
done
in row 27 of /usr/bin/xflock4.
The only problem is:
When there is a new version of the package xfce4-session, the /usr/bin/xflock4 file is overwritten and my setting to slimlock is lost!
I tried to change permissions for this file to read only, but that didn't pass my test with sudo pacman -S xfce4-session.
So what is a good, clean way to keep slimlock without having to re-modify /usr/bin/xflock4 every time there is an update of xfce4-session?
Last edited by Carl Karl (2013-07-08 09:41:24)
Offline
You have two alternatives: put a modified xflock4 in /usr/local/bin (since /usr/local overrides /usr and is unmanaged) or prepend a userdefined ~/bin to your path (using .profile) and put it there.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Thanks, that worked. :-)
(I used the /usr/local/bin variant.)
Offline