You are not logged in.

#51 2012-03-27 14:39:44

EasySly
Member
Registered: 2012-03-25
Posts: 35

Re: lualock: a silly screenlocker that's highly configurable in lua

LuaLock is not working with xautolock. I'd added such string to .xinitrc

xautolock -time 10 -locker "lualock -n" &

When system was started I launched xautolock -locknow and nothing happens sad
In the process lists I see that lualock -n was started. But there no lock screen sad(

Any ideas how fix this?

Offline

#52 2012-03-27 16:07:41

EasySly
Member
Registered: 2012-03-25
Posts: 35

Re: lualock: a silly screenlocker that's highly configurable in lua

Problem was resolved. Issue appeared due to fact that xautolock close stderr in which appeared such message:

(lualock:4325): Gtk-WARNING **: Theme parsing error: gnome-terminal.css:3:8: 'text' is not a valid property name

Resolve this in such way:

Remove xautolock from .xinitrc and add it to XFCE autostart with such command line:

bash -c "sleep 20s; xautolock -time 10 -locker \"/usr/bin/lualock -n\" -nowlocker \"/usr/bin/lualock -n\" -noclose 2> ~/.xlock_errors 1> ~/.xlock_log"

smile

Offline

#53 2012-03-27 16:14:11

EasySly
Member
Registered: 2012-03-25
Posts: 35

Re: lualock: a silly screenlocker that's highly configurable in lua

I have another question. How I can add to any place of locker display current keyboard layout or may be keyboard switcher?

Offline

#54 2012-03-28 14:56:16

EasySly
Member
Registered: 2012-03-25
Posts: 35

Re: lualock: a silly screenlocker that's highly configurable in lua

Add the keyboard layout to the simple-black theme. You can look at the code here - https://gist.github.com/2226394
24131d181993262.jpg

Offline

Board footer

Powered by FluxBB