You are not logged in.
There have been a lot previous threads about this issue.
I cannot fix it. Furthermore, it's somewhat confusing.
Since this is a single user system (literally), I can get away with a systemd powered hack:
[Unit]
Description=Lock screen before switching power state
Before=sleep.target
[Service]
Type=oneshot
ExecStart=/usr/bin/sudo -u gebruiker xscreensaver-command -lock
[Install]
WantedBy=sleep.targetIs this a bug? Anyone who can report this functionality works?. I have:
xflock4 installed and working
xscreensaver installed and working
systemd working properly
no errors in ~/.xsession-errors
both config items ticked in
- xfce4-session
- xfce4-power-manager
Anyone?
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline
Anyone who can report this functionality works?
Using the first option from the xscreensaver wiki article:
[Unit]
Description=Lock X session using xscreensaver
Before=sleep.target
[Service]
Type=oneshot
ExecStart=/usr/bin/xuserrun /usr/bin/xscreensaver-command -lock
[Install]
WantedBy=sleep.target...in conjunction with:
both config items ticked in
- xfce4-session
- xfce4-power-manager
...and fade to and fade from disabled, works here for me.
Offline
Thanks for your effort. But I was more looking for a way of doing this without SystemD as this can be handled nicely by XFCE itself. I have seen that on Ubuntu and Gentoo.
Something is wrong with the package configuration I guess.
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline