This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Run script on screen unlock

Tags: None
(comma "," separated)
bartoszek
Registered Member
Posts
1
Karma
0

Run script on screen unlock

Wed Sep 19, 2018 6:24 am
Hi!

My question is very simple. How to run a script/command on each screen unlock (including login to 'fresh' session)

my system setup:
Code: Select all
$ env | grep -i DESKTOP_SESSION
DESKTOP_SESSION=/usr/share/wayland-sessions/plasmawayland
$ uname -a
Linux 4.15.0-33-generic #36~16.04.1-Ubuntu SMP Wed Aug 15 17:21:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/*-release
DISTRIB_ID=neon
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="KDE neon User Edition 5.13"
NAME="KDE neon"
VERSION="5.13"
ID=neon
ID_LIKE="ubuntu debian"
PRETTY_NAME="KDE neon User Edition 5.13"
VERSION_ID="16.04"
HOME_URL="http://neon.kde.org/"
SUPPORT_URL="http://neon.kde.org/"
BUG_REPORT_URL="http://bugs.kde.org/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]