slimlock with systemd
[SOLVED] xlock+suspend with systemd
k53sv ~ # cat /etc/systemd/system/slimlock.service
[Unit]
Description=Lock X session using slimlock
[Service]
User=risko
ExecStart=/usr/bin/slimlock
[Install]
WantedBy=sleep.target
k53sv ~ # vi /etc/systemd/system/slimlock.service
k53sv ~ # systemctl status slimlock
slimlock.service - Lock X session using slimlock
Loaded: loaded (/etc/systemd/system/slimlock.service; disabled)
Active: inactive (dead)
k53sv ~ # systemctl enable slimlock
ln -s '/etc/systemd/system/slimlock.service' '/etc/systemd/system/sleep.target.wants/slimlock.service'
k53sv ~ #
k53sv ~ # cat /etc/systemd/system/slimlock.service
[Unit]
Description=Lock X session using slimlock
[Service]
User=risko
ExecStart=/usr/bin/slimlock
[Install]
WantedBy=sleep.target
k53sv ~ # vi /etc/systemd/system/slimlock.service
k53sv ~ # systemctl status slimlock
slimlock.service - Lock X session using slimlock
Loaded: loaded (/etc/systemd/system/slimlock.service; disabled)
Active: inactive (dead)
k53sv ~ # systemctl enable slimlock
ln -s '/etc/systemd/system/slimlock.service' '/etc/systemd/system/sleep.target.wants/slimlock.service'
k53sv ~ #
Comments
Post a Comment