linuxmint / lightdm-settings

A configuration tool for the LightDM display manager
GNU General Public License v3.0
108 stars 24 forks source link

pass env vars to allow app run as root to use them #13

Closed fossfreedom closed 7 years ago

fossfreedom commented 7 years ago

As discussed in #9

For sessions such as gnome-session, when run as root, a pkexec does not pass the users locale

We need these env-vars to allow a) the current desktop name for headerbars to display correctly and b) for localised strings to display correctly.

clefebvre commented 7 years ago

I think we should get this fixed in pkexec and/or the various session managers instead. It's weird for every single pkexec consumer to have to do that.