eromatiya / lightdm-webkit2-theme-glorious

A sleek, modern and glorified LightDM webkit2 theme
https://manilarome.github.io/lightdm-webkit2-theme-glorious/
GNU General Public License v3.0
603 stars 54 forks source link

Fix regex not working #83

Closed Ordeeper closed 6 months ago

Ordeeper commented 10 months ago

Problem

  1. Set lightdm greeter session to webkit2.

Set default lightdm greeter to lightdm-webkit2-greeter

sudo sed -i 's/^\(#?greeter\)-session\s*=\s*\(.*\)/greeter-session = lightdm-webkit2-greeter #\1/ #\2g' /etc/lightdm/lightdm.conf

this doesn't work due to ? which is not supported in sid

Solution

sudo sed -i 's/^#\{0,1\}greeter-session\s*=\s*\(.*\)/greeter-session=lightdm-webkit2-greeter #\1/g' /etc/lightdm/lightdm.conf

you may use * instead of {0,1} also

Ordeeper commented 6 months ago

The error of not being able to locate the greeter configuration in LightDM is caused by comments in the greeter-session as I have noticed.