** Description changed: I'm running Xubuntu 17.10. After I installed libglib2.0-dev 2.54.1-1ubuntu1, light-locker 1.7.0-2ubuntu1 stopped working correctly, because it couldn't ready its schema (/usr/share/glib-2.0/schemas/apps .light-locker.gschema.xml) anymore, so it couldn't get its settings from the gsettings backend, logging an error message in ~/.xsession-errors: Schema "apps.light-locker" not found. Not storing runtime settings The consequence of this was: whenever the screen was blanked, it was locked, even though I had configured on Xfce Power Manager: Security => Light Locker => Automatically lock the session: Never light-locker was always locking the session automatically because it couldn't read the settings through its gsettings backend. So, I uninstalled light-locker 1.7.0-2ubuntu1, cloned its upstream git repository: https://github.com/the-cavalry/light-locker built and installed it, under /usr/local, its default. This solved my first problem: light-locker was now able to read its configurations through gsettings, but xflock4 stopped working. Looking at this bug: https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1537507 I realized that xflock4 was just a shell script, and I discovered that, right at the beginning, it sets its PATH to: PATH=/bin:/usr/bin export PATH So, as light-locker is installed as /usr/local/bin/light-locker, xflock4 obviously cannot find it through PATH. Of course, I could just install light-locker under /usr, but it's standard practice to install locally built software under /usr/local, to avoid conflicts with software installed from the distribution, which is installed under /usr. Therefore, xflock4 needs to be fixed so as to include /usr/local/bin in the PATH variable: PATH=/bin:/usr/local/bin:/usr/bin This will also affects Xubuntu 17.10 and 18.04, because xfce4-session remained at version 4.12.1-3ubuntu3. + A workaround is to copy a modified version of xflock4 to + /usr/local/bin/. + ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: xfce4-session 4.12.1-3ubuntu3 ProcVersionSignature: Ubuntu 4.13.0-39.44-generic 4.13.16 Uname: Linux 4.13.0-39-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.8 Architecture: amd64 CurrentDesktop: XFCE Date: Tue Apr 24 23:57:44 2018 InstallationDate: Installed on 2017-10-20 (186 days ago) InstallationMedia: Xubuntu 17.10 "Artful Aardvark" - Release amd64 (20171017.1) SourcePackage: xfce4-session UpgradeStatus: No upgrade log present (probably fresh install)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1766765 Title: xflock4 fails if light-locker installed in /usr/local/bin To manage notifications about this bug go to: https://bugs.launchpad.net/xfce4-session/+bug/1766765/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs