[Nix-dev] xfce: 'lock screen' button
Sergey Mironov
grrwlf at gmail.com
Tue May 20 08:53:17 CEST 2014
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)
[+1287786.07s] DEBUG: Seat: Locking
[+1287786.07s] DEBUG: Seat: Creating greeter session
[+1287786.07s] DEBUG: Seat: Setting XDG_SEAT=seat0
[+1287786.07s] DEBUG: Seat: Creating display server of type x
[+1287786.07s] DEBUG: Seat: Starting local X display
[+1287786.07s] DEBUG: Using VT 8
[+1287786.07s] DEBUG: DisplayServer x-1: Logging to /var/log/x-1.log
[+1287786.07s] DEBUG: DisplayServer x-1: Writing X server authority to
/run/root/:1
[+1287786.07s] DEBUG: DisplayServer x-1: Launching X Server
[+1287786.07s] DEBUG: Launching process 11047:
/nix/store/393nb5f1kg32f5m2z388ab2rfdny2q7d-xserver-wrapper :1 -auth
/run/root/:1 -nolisten tcp vt8 -novtswitch
[+1287786.07s] DEBUG: DisplayServer x-1: Waiting for ready signal from
X server :1
[+1287786.08s] DEBUG: Process 11047 exited with return value 1
[+1287786.08s] DEBUG: DisplayServer x-1: X server stopped
[+1287786.08s] DEBUG: Releasing VT 8
[+1287786.08s] DEBUG: DisplayServer x-1: Removing X server authority
/run/root/:1
[+1287786.08s] DEBUG: Seat: Display server stopped
[+1287786.08s] DEBUG: Seat: Stopping session
[+1287786.08s] DEBUG: Seat: Session stopped
[+1287786.08s] DEBUG: Seat: Stopping display server, no sessions require it
2014-05-16 17:32 GMT+04:00 Kirill Elagin <kirelagin at gmail.com>:
> 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 <domen at dev.si> wrote:
>>
>> 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 -d
>> killall -SIGUSR2 dunst
>>
>>
>>
>> On Fri, May 16, 2014 at 8:56 AM, Sergey Mironov <grrwlf at gmail.com> wrote:
>>>
>>> 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
>>> _______________________________________________
>>> nix-dev mailing list
>>> nix-dev at lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>>
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
More information about the nix-dev
mailing list