Article 5B245 computer doesn't lock anymore

computer doesn't lock anymore

by
charbelsako
from LinuxQuestions.org on (#5B245)
I have this line in my .dwm/autostart script

Code:xss-lock --transfer-sleep-lock -- lock --no-fork &and this is the lock file

Code:if [ $(displaycount) -gt 1 ]; then

lock_multiple

else

lock_single

filock single file

Code:#! /bin/bash

ICON=$HOME/Pictures/lock.png

scrot /tmp/lockscreen.png

convert /tmp/lockscreen.png -scale 10% -scale 1000% /tmp/lockscreen.png

convert /tmp/lockscreen.png $ICON -gravity center -composite -matte /tmp/lockscreen.png

i3lock -i /tmp/lockscreen.png

rm /tmp/lockscreen.pngEven the keybinding in dwm doesn't work. but the command works by itself

running xss-lock in a terminal achieves the required result (i.e the computer locking after a timeout).latest?d=yIl2AUoC8zA latest?i=Sk2l-vD-qK0:gn8BKunYezA:F7zBnMy latest?i=Sk2l-vD-qK0:gn8BKunYezA:V_sGLiP latest?d=qj6IDK7rITs latest?i=Sk2l-vD-qK0:gn8BKunYezA:gIN9vFwSk2l-vD-qK0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments