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 ~ #

Comments

Popular posts from this blog

Uploading Firmware to "bricked" Netgear WNDR3800 from Linux with atftp after botched DD-WRT Firmware Upgrade.

VMware Remote Console detected; unable to proceed with VMware Workstation installation.

zabbix agent on gentoo