Working solution to use lightdm and lightlocker under Gnome

Working solution to use lightdm and lightlocker under Gnome

As discussed here: https://forum.antergos.com

Gnome seems to overwrite the settings to black the screen for powersaving, made by other DM's then GDM, as allways under Gnome: Devs there do not take care to make it easy to customize.

We find out some solutions to solve this, and get lightlocker work under Antergos Gnome, as we do not use GDM by default, we get Lightdm and lightlocker instead!

Here the best working solution (IMHO):

Completely disable gsd-power plugin by patching the desktop file

sudo nano /etc/xdg/autostart/org.gnome.SettingsDaemon.Power.desktop

and change the line:

OnlyShowIn=GNOME;

to

OnlyShowIn=KDE;

Save with [Ctlr+X] and restart session.

If you want the changes to become permanent so that the file cannot be modified with updates, then you can use the 'chattr' command (you can always roll back the changes below with the "-i" parameter):

sudo chattr +i /etc/xdg/autostart/org.gnome.SettingsDaemon.Power.desktop

Now you can use lightlocker:

All setting related to screen-locking and poweroff screen from gnome-settings should be disabled:

 

(Visited 955 times, 1 visits today)

Pin It on Pinterest

Share This