From Onboard's point of view running in lightdm is little different from running in any user session. Preferences are already read from gsettings as usual. For example, you can change the theme in the login window with
sudo -u lightdm dbus-launch gsettings set apps.onboard theme Droid
or for Onboard trunk
sudo -u lightdm dbus-launch gsettings set org.onboard theme Droid
for example.
It's really only the GUI that's missing. The preferences Dialog doesn't cut it for security reasons and because unity-greeter has no real window manager.
Mark, if Onboard in lightdm tried to read preferences from a different user, we had the problem to decide from which one. There may be multiple users set up on the system, each with different settings for Onboard.
Francesco's suggestion has the advantage that it's clear whose preferences are to be copied. So, I tend to think having some "apply to login screen" button isn't a bad idea. We would need to copy more than gsettings values though, as there might be user modified/created themes in the home directory.
Some alternatives that came to mind:
- Provide a simplified GUI in lightdm, just a list of system themes to chose from.
- In the user session, provide a way to launch the whole preferences dialog as user lightdm.
However, customized themes can't be easily synchronized with these.
From Onboard's point of view running in lightdm is little different from running in any user session. Preferences are already read from gsettings as usual. For example, you can change the theme in the login window with
sudo -u lightdm dbus-launch gsettings set apps.onboard theme Droid
or for Onboard trunk
sudo -u lightdm dbus-launch gsettings set org.onboard theme Droid
for example.
It's really only the GUI that's missing. The preferences Dialog doesn't cut it for security reasons and because unity-greeter has no real window manager.
Mark, if Onboard in lightdm tried to read preferences from a different user, we had the problem to decide from which one. There may be multiple users set up on the system, each with different settings for Onboard.
Francesco's suggestion has the advantage that it's clear whose preferences are to be copied. So, I tend to think having some "apply to login screen" button isn't a bad idea. We would need to copy more than gsettings values though, as there might be user modified/created themes in the home directory.
Some alternatives that came to mind:
- Provide a simplified GUI in lightdm, just a list of system themes to chose from.
- In the user session, provide a way to launch the whole preferences dialog as user lightdm.
However, customized themes can't be easily synchronized with these.