You are not logged in.
Pages: 1
Hi guys,
I am using slim and slimlock to manage sessions on my laptop. The desktop environment I most often use is xfce. I lock my screen with a key-combo mapped to slimlock. I was wondering if I can also tweak the "Lock Screen" option in the Action Buttons menu to use slimlock. Currently, clicking "Lock Screen" does nothing at all.
I appreciate your help on this.
Thanks (^_^)
Last edited by darthpenguin (2012-06-22 19:17:03)
Offline
Hello,
XFCE calls xflock4 to lock the screen, the default script is located in /usr/bin/xflock4. To overwrite it, create an executable shellscript or a symlink to your locker as /usr/local/bin/xflock4.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Whoa (0.o) cool.
Thanks. I didn't know I could override files in /usr/bin with files in /usr/local/bin. I just ran sudo cp /usr/bin/slimlock /usr/local/bin/xflock4 and now the xflock4 command invokes slimlock. Thanks.
.... um dumb question. How can I mark this [SOLVED]? thx
Last edited by darthpenguin (2012-06-22 17:07:21)
Offline
Its just the order of directories in $PATH, /usr/local/bin is listed first so the xflock4 you have there gets matched first.
Anyways you can just edit your first post and add SOLVED to the title.
Offline
Oh I get it now. sweet. Linux ROX
Offline
You are right I just noticed also lock button is broken in xfce! will do as you did
Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
Pages: 1