- Code: Select all
chmod 644 /etc/X11/Xsession.d/21-lightdm-language-fix
With the permissions set to 755, I could log in with any of those languages by selecting at the greeter, but it wouldn't go back to English unless I edited or removed .dmrc. With permissions set to 644, it will go back to English, but I can no longer get Italian when I select it. The other languages work fine. I can get Italian if I edit .dmrc before logging out, then select Italian in the greeter. If I remove .dmrc before logging out, I can't get Italian if I select it, and .dmrc does not get regenerated. But if I remove .dmrc and then select French, I get French and .dmrc is regenerated. This makes no sense.
I changed it back to 755 and it didn't change the behavior. Changed it back to 644 again, to be consistent with the other files. I have to stop now, or I might be tempted to use a sledge hammer.