Archive

Posts Tagged ‘keyboard-layout’

More ways of making minor changes to a domain-joined, deepfrozen computer lab image

  1. Re-imaging a domain-joined, deep-frozen Windows XP language lab using Symantec Ghost and Deepfreeze can be a drawn-out process.
  2. Minor fixes can be achieved by unfreezing and using a Symantec-Ghost file task and a script that loads  the default user registry hive – here is how:
  3. sTempHive = """HKEY_USERS\Test"""
    
    '//vista and up: sDefaultUserHive = """%USERPROFILE%\..\Default\NTUSER.DAT"""
    
    sDefaultUserHive = """%USERPROFILE%\..\Default User\NTUSER.DAT"""
    
    sSName = oUtility.ScriptName
    
    set oShell = WScript.CreateObject ("Wscript.Shell")
  4. and alters it before freezing the lab again. Here are some examples of such fixes:
    1. change the default keyboard (after users logs in):
      oLogging.CreateEntry sSName & ": Setting US-International as Default Keyboard Layout",LogTypeInfo
      
      RegPath = "HKEY_USERS\Test\Keyboard Layout\Substitutes\"
      
      oshell.RegWrite Regpath & "00000409", "00020409", "REG_SZ"
      
      If Err<>0 Then 
      
        oLogging.CreateEntry sSName & ": Failed to update Default Keyboard Layout setting",LogTypeError
      
        ZTIProcess=60
      
        Exit Function
      
      End If
      
      
      
    2. change visibility of the developer tab in the ribbon of MS-Word:
      oLogging.CreateEntry sSName & ": Setting MS-Word Developer Toolbar to show",LogTypeInfo
      
      RegPath = "HKEY_USERS\Test\Software\Microsoft\Office\14.0\Word\Options\"
      
      oshell.RegWrite Regpath & "DeveloperTools", "1", "REG_SZ"
      
      If Err<>0 Then 
      
        oLogging.CreateEntry sSName & ": Failed to update S-word developer tools settings",LogTypeError
      
        ZTIProcess=40
      
        Exit Function
      
      End If
      
      
      
    3. change the SDL-Trados licensing server IP:
      oLogging.CreateEntry sSName & ": Setting Default User Trados license server",LogTypeInfo
      
      RegPath = "HKEY_USERS\Test\Software\Trados\Shared\Licence"
      
      oshell.RegWrite Regpath & "Licence_file", "27000@10.18.189.231", "REG_SZ"
      
      If Err<>0 Then 
      
        oLogging.CreateEntry sSName & ": Failed to update Default User Trados license server setting",LogTypeError
      
        ZTIProcess=35
      
        Exit Function
      
      End If
      
      
      
      oLogging.CreateEntry sSName & ": Setting Default User Screensaver timeout settings",LogTypeInfo
      
      RegPath = "HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager"
      
      oshell.RegWrite Regpath & "Trados_License_File", "27000@10.18.189.231;27000@xlcs4sbynj1www", "REG_SZ"
      
      If Err<>0 Then 
      
        oLogging.CreateEntry sSName & ": Failed to update Screensaver to timeout settings",LogTypeError
      
        ZTIProcess=30
      
        Exit Function
      
      End If
      
      
      
  5. On Ghost:
    1. We create a Ghost file task that points to the wsf file with the current changes we want to implement:
    2. imageimage 
      1. image To apply other changes, just change the filename of your script , e.g.: clip_image001
    3. to apply to other computers, just change the target in the ghost task.
  6. Output:
    1. image
    2. These scripts use the ZTIUtility.vbs from the MDT.
      1. You may have to update the location: <script language="VBScript" src="ZTIUtility.vbs"/>.
      2. For a while, the logging success made me believe I I had accessed the ntuser.dat and had run into registry permission settings loading it. In fact, I just did not resolve to the XP path of the ntuser.dat. Take advantage of the the logging facilities that come with MDT: Here are your logs on the client: image.
      3. Read the logs with TRACE32, part of the SMS 2003 Toolkit 2.
  7. Result: Provided the client has been cleanly frozen, and the domain user has no profile created before on this machine, and his profile is based on the altered default user profile, his HKCU will inherit the changes: image image

Character Input Methods for SLA (Western)

2012/09/04 1 comment

For studying (typing) Western Languages (= need for diacritics only; whether you have a US keyboard hardware or UK which is pretty similar), we recommend the MS Windows US International Keyboard layout  which is based on “dead keys”.

Currently installed in the LLC are the Language Bar (floating on top of screen or accessible from the taskbar) with these keyboard layouts:

Keyboard layout settings are application/window specific, and “US”  (non-international) is still the default for new applications/windows, so prepare to switch after you start a new application;

There are keyboard shortcuts for switching, however, “Key settings”: “switch between input languages” , using LEFT ALT + SHIFT, does not work. Workaround: use the language bar for switching:

Windows keyboard layout settings can be temperamental – if you find you cannot switch to a certain layout anymore, you may have to restart the computer.

Use the following keyboard shortcuts to enter diacritics more easily:

Press (together, then release)

then press

Example Result

` (accent grave)

any letter  that can have this accent, e.g. "a”, also cedilla ç

à

(apostrophe)

á

^ (caret)-

â

~ (tilde)

ã

(double quotation marks)

ä

CTRL+&

Z or z

æ

rightALT+

X or x

œ

     

rightAlt+n

 

ñ

ALT+CTRL+?

 

¿

rightAlt+?

 

ALT+CTRL+!

 

¡

rightAlt+1

 

rightAlt+s

S

ß

To access the original, now dead keys, press space bar after pressing the dead key.

Modifiers(blue)/Layout

Note the new modifier = “dead” keys, indicated by light blue color (click to enlarge)

Normal

 

 

Shift

 

 

US International

 

Screencast of US International in action here: deadkeys.wmv

Interactive Demo of installation procedure (personal computers outside of the LLC) here: keyboard_usinternational.swf

Planned improvements:

  • Use LEFT ALT+Shift to switch to (Software) “Keyboard Layout” “United-States International”.
  • Use other keyboard short cuts to access a desired keyboard layout directly
  • Dock the “Language Bar” in the Taskbar, then hover over it  to make sure you selected the proper “Keyboard Layout”.

·       

Another nice visualization of US-international keyboard layout is available thanks to http://charsetplus.tripod.com/Keyboard/Latin/EN-USX.htm (click picture for full size): us-international-keyboard-layout

Character Input for SLA (Mandarin)

·        Input for east Asian languages can use

o   so called IMEs (Input Method Editors) which allow you to type Roman characters and receive in return a dialogue with

o   Handwriting recognition (not very usable with only a mouse as drawing devices.

o   How to easily type pinyin with tone markers

§  Use the Pinyininput IME from the Language Bar (or Input Method  Selector keyboard shortcut).

§  Its first mode is “checked” mode, which only accepts (mostly) valid pīnyīn (mostly valid in that it only checks for correct combinations of initials and finals, and not valid/invalid combinations of tones). When typing, if you place a number at the end of a pīnyīn syllable then Pinyinput will automatically convert the correct vowel in the syllable so that it has the appropriate tone e.g. Typing Ni3hao3 will produce the output Nǐhǎo. (…() “Checked” mode also optionally supports “érhuà” so things like pingr2 will be converted to píngr. The “érhuà” support is pretty simplistic, and it will allow any valid pīnyīn syllable which is followed by an r (even though such syllables might not exist in valid pinyin). (…)

§  The second mode is “unchecked” mode, and in this mode you can type whatever you like

§  (…) the user can optionally decide whether they want to use combining diacritic marks or individual characters [which] are probably the best way to go, as not all programs handle combining diacriticals correctly. (…)

§  Pinyinput can support multiple different keyboard layouts.(…)  regardless of the layout used, the letter v of that layout is always automatically converted to ü.

View a demonstration screencast.

·        Simplified Chinese

o   Select the pre-installed IME from the Language Bar (or Input Method  Selector keyboard shortcut).

·        More Information is available here; Foreign_Language_Character_Input.pdf

o   The LLC attempts to have the optimum environment language for learning preinstalled. Suggestions for additions welcome.