@ Ray Velez , I feel this is not a satisfying solution (I didn't try) because it is like a weakness in security settings.
My script is not working well: although it works fine as long as the computer don't ends in sleep, when sleep happens then on resume then login the script won't do the job. I can't find why. Inactive->ScreenOff->Lock->Notify->Sleep->Resume->Login->KO (popup remains) Inactive->ScreenOff->Lock->Notify->Login->OK (close popup) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232454 Title: "Computer will suspend very soon because of inactivity." dialog when resuming from suspend To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-settings-daemon/+bug/1232454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs