GNOME Bugzilla – Bug 659300
region: Add a helper to set system layouts
Last modified: 2011-10-03 13:21:13 UTC
Use a pkexec helper to write an xorg.conf fragment that sets keyboard layouts. This is just a temporary hack until keyboard layouts are supported in localed. It does not work perfectly, since we get two separate policykit dialogs when both keyboard layouts and LC_ variables are changed.
Created attachment 196789 [details] [review] region: Add a helper to set system layouts
Given that we missed out on GNOME 3.2 with that patch, we should probably hide the button to do that in the control-center in the meanwhile, right?
Should be implemented using this: http://www.freedesktop.org/wiki/Software/systemd/localed
Created attachment 197776 [details] [review] region: Implement copying layouts Using systemd's SetX11Keyboard() method in localed. Disable the functionality altogether if systemd is not found.
Created attachment 197783 [details] [review] region: Implement copying layouts Using systemd's SetX11Keyboard() method in localed. Disable the functionality altogether if systemd is not found. This version supports multiple keyboard layouts by passing comma separated layouts, as supported by X11.
Will commit when systemd handles the multiple X11 layouts to vconsole conversion: https://bugs.freedesktop.org/show_bug.cgi?id=41341
Attachment 197783 [details] pushed as 6a9881d - region: Implement copying layouts
Pushed to master and gnome-3-2 after testing.
*** Bug 660187 has been marked as a duplicate of this bug. ***