Home › Forums › OS X Server and Client Discussion › Open Directory › MCX Keyboard layout
- This topic has 3 replies, 2 voices, and was last updated 14 years, 4 months ago by
tlarkin.
-
AuthorPosts
-
December 2, 2010 at 3:17 pm #380048
zvordauk
ParticipantHi all,
I need to make availabe multiple keyboard layouts from the Menu bar (across 220 Macs on Campus)
I have edited WGM>Computer Groups>Preferences>Details>com.apple.HIToolbox and inserted the keys exactly as lifted from a working client.
However all I get in the Menubar on restart is a single keyboard layout.Any idea what I am doing wrong???
December 6, 2010 at 10:04 pm #380084tlarkin
ParticipantFirst you need to create the plist file: com.apple.mcxMenuExtras
In that file you need to set what you want allowed on the menu bar. To change the keyboard layout you want the TextInput.menu enabled. So in WGM drag that mcxMenuExtras into the details menu for your group. then create a new string called TextInput.menu, set it to boolean and true, and it will always show up on each user now whenever they log in.
Then add in the /Library/Preferences/com.apple.HIToolbox.plist and add each item under AppleSelectedInputSources. Just mimic the settings for the US keyboard layout with each additional language.
Another way would to be get it exactly on a specific user account the way you want it, and use the dscl command to read the mcx settings and export that to a file, or use some scripting to add the setting in.
December 7, 2010 at 8:24 am #380093zvordauk
ParticipantThanks for that!
Just a note – I couldn’t add the com.apple.mcxMenuExtras plist until I had populated it with the TextInput.menu string – once I figured that out I could add it in (just in case it helps anyone else in future.
Unfortunately with this and the HiToolbox plist I am still getting the same result.
I have removed the existing Managed Pref folder and verified that the computer is actually a memeber of the group!Here’s the HiToolbox plist:
mcx_application_data
com.apple.HIToolbox
Forced
mcx_preference_settings
AppleSelectedInputSources
0
InputSourceKind
Keyboard Layout
KeyboardLayout ID
50
KeyboardLayout Name
Irish
1
InputSourceKind
Keyboard Layout
KeyboardLayout ID
0
KeyboardLayout Name
U.S.
2
InputSourceKind
Keyboard Layout
KeyboardLayout ID
2
KeyboardLayout Name
British
December 8, 2010 at 6:24 pm #380118tlarkin
ParticipantHave you tried setting it on a client and do a MCX read from the command line to see what it modifies?
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed