Re: [Nix-dev] xfce: 'lock screen' button

2014-05-20 Thread Sergey Mironov
Thanks! Didn't know i3lock. It works fine. For the dm-tool, it doesn't work as expected $ dm-tool lock command does nothing and /var/log/lightdm.log contains [see below]. Could you please compare this snippet with your own? Regards, Sergey -- /var/log/lightdm.log (after dm-tool)

Re: [Nix-dev] xfce: 'lock screen' button

2014-05-20 Thread Kirill Elagin
I do not actually use dm-tool for screen locking, I just thought that it might work for you =). For me it does actually work. Kind of. It starts a new greeter on another VT and switches there. Once I enter my password it switches back to the VT with my session. The funny thing is that the active

[Nix-dev] xfce: 'lock screen' button

2014-05-16 Thread Sergey Mironov
Hi. A question to Xfce gurus: In my current config the 'lock screen' button performs no action. If I install xscreensaver, the button will run it, but the login prompt window looks a bit .. Xy. Does anybody know how to connect 'lock screen' button with lightdm display manager? Regards, Sergey

Re: [Nix-dev] xfce: 'lock screen' button

2014-05-16 Thread Domen Kožar
That's how I override default: $ type -P xflock4 /home/ielectric/bin/xflock4 $ cat /home/ielectric/bin/xflock4 scrot /tmp/screen_locked.png convert /tmp/screen_locked.png -scale 10% -scale 1000% /tmp/screen_locked.png killall -SIGUSR1 dunst DISPLAY=:0.0 i3lock -i /tmp/screen_locked.png --nofork

Re: [Nix-dev] xfce: 'lock screen' button

2014-05-16 Thread Kirill Elagin
Yeah, and to ask lightdm to lock your session you do `dm-tool lock`. -- Кирилл Елагин On Fri, May 16, 2014 at 11:06 AM, Domen Kožar do...@dev.si wrote: That's how I override default: $ type -P xflock4 /home/ielectric/bin/xflock4 $ cat /home/ielectric/bin/xflock4 scrot