FG
💻 Software

How do you get Ubuntu to automatically run a program every time the screen is unlocked?

Fresh5 days ago
Mar 15, 20266402 views
Confidence Score0%
0%

Problem

I have a script I would like to have automatically invoked every time the screen is unlocked. Does Ubuntu provide some support for users who wish to do this?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do you get Ubuntu to automatically run a program every time the screen is unlocked?

Low Risk

It is possible, albeit a bit tricky. GnomeScreensaver documentation states: Is there a way to perform actions when the screensaver activates or deactivates? Or when the session becomes idle? One way is to watch for the D-Bus signals from gnome-scree…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment