[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accidentally changing keyboard layout

From: Oleksandr Gavenko
Subject: Re: accidentally changing keyboard layout
Date: Sun, 06 Feb 2011 23:16:26 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20101027 Thunderbird/3.1.6

On 2011-02-06 12:48, Cecilio Pardo wrote:

You are probably pressing and releasing shift+alt, which switches
keyboard language. Do that again to switch back. You can disable this
key combination in windows' control panel.

For disabling Windows lang layout key binging I use such .reg file:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Keyboard Layout\Toggle]
; The value 1 specifies that LEFT ALT+SHIFT switches locales.
; The value 2 specifies CTRL+SHIFT.
; 3 disables the key sequence altogether.
; I decide use AutoHotkey to switch locales.
; These customisations have affect at least after logout/login.
"Language Hotkey"="3"
"Layout Hotkey"="3"

In Emacs I switch to Russian by C-\. In other apps I use
AutoHotkey script:

; For lang codes see ("Locale identifier" column):
; You must dublicate code.
#1:: SendMessage, 0x50,, 0x04090409,, A ; английский
#2:: SendMessage, 0x50,, 0x04190419,, A ; русский
#3:: SendMessage, 0x50,, 0x04220422,, A ; украинский

~LWin UP:: return

; Local Variables:
; coding: windows-1251-dos
; comment-start: "; "
; End:

which I wrote because Emacs key binding conflict with Windows ((.
And Windows don't allow any other key binding for switching
lang layout rather than Alt+Shift/Ctrl+Shift.

No I type left Win key + 1 to switch to EN lang,
lWin + 2 to RU lang, etc...

Best regards!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]