Xneur некорректно работает с third layer layout. Если при попытке набора длинного тире (—), кавычек («») и т.д. происходит смена раскладки, то автопереключение отваливается. Помогае либо перезапуск демона, либо смена активного окна: например текст набирался в firefox, автопереключение и переключение по pause не работает; переключаюсь на gedit, например, потом возвращаюсь в firefox и переключение работает снова.
gromescu@gromescu-laptop:~$ xneur
====================================================
>>> Please visit http://www.xneur.ru for support <<<
====================================================
[LOG] 16:20:10 Log level is set to Debug
[DBG] 16:20:10 Configuration load complete
[LOG] 16:20:10 Keyboard layouts present in system:
[LOG] 16:20:10 Encluded XKB Group 'USA', layout 'us', group '0'
[DBG] 16:20:10 USA dictionary has 2025 records
[DBG] 16:20:10 USA proto has 69 records
[DBG] 16:20:10 USA big proto has 8990 records
[DBG] 16:20:10 USA regexp has 7 records
[LOG] 16:20:10 Encluded XKB Group 'Russia', layout 'ru', group '1'
[DBG] 16:20:10 Russia dictionary has 134 records
[DBG] 16:20:10 Russia proto has 203 records
[DBG] 16:20:10 Russia big proto has 19141 records
[DBG] 16:20:10 Russia regexp has 0 records
[LOG] 16:20:10 Excluded XKB Group 'Romania - Standard (Cedilla)', layout 'ro', group '2'
[DBG] 16:20:10 Romania - Standard (Cedilla) dictionary has 4 records
[DBG] 16:20:10 Romania - Standard (Cedilla) proto has 1402 records
[DBG] 16:20:10 Romania - Standard (Cedilla) big proto has 13880 records
[DBG] 16:20:10 Romania - Standard (Cedilla) regexp has 0 records
[LOG] 16:20:10 Excluded XKB Group 'Ukraine', layout 'ua', group '3'
[DBG] 16:20:10 Ukraine dictionary has 2 records
[DBG] 16:20:10 Ukraine proto has 231 records
[DBG] 16:20:10 Ukraine big proto has 19175 records
[DBG] 16:20:10 Ukraine regexp has 0 records
[LOG] 16:20:10 Total 4 keyboard layouts detected
[LOG] 16:20:10 Default keyboard group for all new windows set to 0
[LOG] 16:20:10 Manual mode set to No
[LOG] 16:20:10 Education mode set to Yes
[LOG] 16:20:10 Layout remember mode set to Yes
[LOG] 16:20:10 Save selection mode set to Yes
[LOG] 16:20:10 Sound playing mode set to Yes
[LOG] 16:20:10 Sound playing volume percentage set to 15
[LOG] 16:20:10 Logging keyboard mode set to Yes
[LOG] 16:20:10 Max file size of keyboard log set to 1048576 bytes
[LOG] 16:20:10 Keyboard log will send to via :25 host
[LOG] 16:20:10 Ignore keyboard layout for abbreviations mode set to Yes
[LOG] 16:20:10 Correct of iNCIDENTAL CapsLock mode set to Yes
[LOG] 16:20:10 Correct of two CApital letter mode set to Yes
[LOG] 16:20:10 Correct of spaces with punctuation mode set to No
[LOG] 16:20:10 Disable CapsLock use mode set to No
[LOG] 16:20:10 Flush internal buffer when pressed Enter or Tab mode set to No
[LOG] 16:20:10 Don't process word when pressed Enter or Tab mode set to No
[LOG] 16:20:10 Show OSD mode set to No
[LOG] 16:20:10 Show popup messages mode set to Yes
[LOG] 16:20:10 Check language on input process mode set to Yes
[LOG] 16:20:10 Pattern minig and recognition (autocomplementation) mode set to Yes
[LOG] 16:20:10 Add space after autocomplementation mode set to No
[LOG] 16:20:10 Disable autoswitching if pressed backspace mode set to Yes
[LOG] 16:20:10 Disable autoswitching if pressed left arrow mode set to Yes
[LOG] 16:20:10 Disable autoswitching if pressed right arrow mode set to Yes
[LOG] 16:20:10 Disable autoswitching if pressed up arrow mode set to Yes
[LOG] 16:20:10 Disable autoswitching if pressed down arrow mode set to Yes
[LOG] 16:20:10 Disable autoswitching if pressed delete mode set to Yes
[LOG] 16:20:10 Disable autoswitching if layout switched mode set to Yes
[LOG] 16:20:10 Disable send KeyRelease event mode set to No
[LOG] 16:20:10 Delay before sendind events to application set to (in milliseconds) 0
[LOG] 16:20:10 Main window with id 81788929 created
[DBG] 16:20:10 Using locale en_US.utf8
[DBG] 16:20:10 Binded hotkeys actions:
[DBG] 16:20:10 Action "Change Last Word" with key "Break"
[DBG] 16:20:10 No key set for action "Translit Last Word"
[DBG] 16:20:10 No key set for action "Changecase Last Word"
[DBG] 16:20:10 No key set for action "Preview Change Last Word"
[DBG] 16:20:10 No key set for action "Change Last String"
[DBG] 16:20:10 Action "Change Mode" with key "Control+Print"
[DBG] 16:20:10 Action "Change Selected" with key "Shift+Break"
[DBG] 16:20:10 Action "Translit Selected" with key "Alt+Scroll_Lock"
[DBG] 16:20:10 Action "Changecase Selected" with key "Shift+Alt+Break"
[DBG] 16:20:10 Action "Preview Change Selected" with key "Control+Pause"
[DBG] 16:20:10 Action "Change Clipboard" with key "Control+Scroll_Lock"
[DBG] 16:20:10 No key set for action "Translit Clipboard"
[DBG] 16:20:10 No key set for action "Changecase Clipboard"
[DBG] 16:20:10 No key set for action "Preview Change Clipboard"
[DBG] 16:20:10 No key set for action "Enable Layout 1"
[DBG] 16:20:10 No key set for action "Enable Layout 2"
[DBG] 16:20:10 No key set for action "Enable Layout 3"
[DBG] 16:20:10 No key set for action "Enable Layout 4"
[DBG] 16:20:10 No key set for action "Rotate Layouts"
[DBG] 16:20:10 Action "Replace Abbreviation" with key "Control+Tab"
[DBG] 16:20:10 Action "Autocomplementation Confirmation" with key "Tab"
[DBG] 16:20:10 Binded hotkeys user actions:
[DBG] 16:20:10 Action "Вызов терминала" with key "Alt+t"
[DBG] 16:20:10 Action "Открыть Gedit" with key "Control+Alt+g"
[DBG] 16:20:10 Action "Открыть Nautilus" with key "Super_L"
[DBG] 16:20:10 Action "Открыть ссылку в Firefox" with key "Super+f"
[DBG] 16:20:10 Action "Google - Искать" with key "Super+g"
[DBG] 16:20:10 Action "Google - Перевести на русский" with key "Super+r"
[DBG] 16:20:10 Action "Google - Перевести на английский" with key "Super+a"
[DBG] 16:20:10 Init program structure complete
[DBG] 16:20:10 Show popup message "X Neural Switcher запущен" with content "(null)"
[DBG] 16:20:10 Focused window 35651589
[DBG] 16:20:10 Process new window (ID 35651589) with name 'Gnome-terminal' (status Excluded, mode Default)
[DBG] 16:20:10 Store default layout group to 0
[DBG] 16:20:15 Focused window 44040326
[DBG] 16:20:15 Process new window (ID 44040326) with name 'Firefox' (status Processed, mode Default)
[DBG] 16:20:15 Store default layout group to 0
[DBG] 16:20:16 Processing word '' on layout 'us'
[DBG] 16:20:16 Processing word '' on layout 'ru'
[DBG] 16:20:16 Processing word '' on layout 'ro'
[DBG] 16:20:16 Processing word '' on layout 'ua'
[DBG] 16:20:16 Start word processing...
[DBG] 16:20:16 [-] This word not found in any regular expressions files
[DBG] 16:20:16 [-] This word not found in any dictionaries
[DBG] 16:20:16 [-] This word has no hits for all aspell dictionaries
[DBG] 16:20:16 [-] Skip checking by language proto of size 2 (word is very short)
[DBG] 16:20:16 [-] Skip checking by language proto of size 3 (word is very short)
[DBG] 16:20:16 End word processing.
[DBG] 16:20:16 No language found to change to
[DBG] 16:20:17 Processing word 'ujh' on layout 'us'
[DBG] 16:20:17 Processing word 'гор' on layout 'ru'
[DBG] 16:20:17 Processing word 'ujh' on layout 'ro'
[DBG] 16:20:17 Processing word 'гор' on layout 'ua'
[DBG] 16:20:17 Start word processing...
[DBG] 16:20:17 [-] This word not found in any regular expressions files
[DBG] 16:20:17 [-] This word not found in any dictionaries
[DBG] 16:20:17 [+] Found this word in Russia aspell dictionary
[DBG] 16:20:17 End word processing.
[DBG] 16:20:17 Changing language from USA to Russia
[DBG] 16:20:17 Processing string 'ujh'
[DBG] 16:20:17 Processing word 'ujhj' on layout 'us'
[DBG] 16:20:17 Processing word 'горо' on layout 'ru'
[DBG] 16:20:17 Processing word 'ujhj' on layout 'ro'
[DBG] 16:20:17 Processing word 'горо' on layout 'ua'
[DBG] 16:20:17 Start word processing...
[DBG] 16:20:17 [-] This word not found in any regular expressions files
[DBG] 16:20:17 [-] This word not found in any dictionaries
[DBG] 16:20:18 [-] This word has no hits for all aspell dictionaries
[DBG] 16:20:18 [-] This word is ok for Russia proto of size 2
[DBG] 16:20:18 [-] This word is ok for Russia proto of size 3
[DBG] 16:20:18 End word processing.
[DBG] 16:20:18 No language found to change to
[DBG] 16:20:18 Processing word 'ujhjl' on layout 'us'
[DBG] 16:20:18 Processing word 'город' on layout 'ru'
[DBG] 16:20:18 Processing word 'ujhjl' on layout 'ro'
[DBG] 16:20:18 Processing word 'город' on layout 'ua'
[DBG] 16:20:18 Start word processing...
[DBG] 16:20:18 [-] This word not found in any regular expressions files
[DBG] 16:20:18 [-] This word not found in any dictionaries
[DBG] 16:20:18 [+] Found this word in Russia aspell dictionary
[DBG] 16:20:18 End word processing.
[DBG] 16:20:19 Processing word 'ujhjl' on layout 'us'
[DBG] 16:20:19 Processing word 'город' on layout 'ru'
[DBG] 16:20:19 Processing word 'ujhjl' on layout 'ro'
[DBG] 16:20:19 Processing word 'город' on layout 'ua'
[DBG] 16:20:19 Start word processing...
[DBG] 16:20:19 [-] This word not found in any regular expressions files
[DBG] 16:20:19 [-] This word not found in any dictionaries
[DBG] 16:20:19 [+] Found this word in Russia aspell dictionary
[DBG] 16:20:19 End word processing.
[DBG] 16:20:19 Add word 'город' in Russia pattern
[LOG] 16:20:19 Saving Russia pattern
[DBG] 16:20:21 Processing word '—' on layout 'us'
[DBG] 16:20:21 Processing word '—' on layout 'ru'
[DBG] 16:20:21 Processing word '—' on layout 'ro'
[DBG] 16:20:21 Processing word '—' on layout 'ua'
[DBG] 16:20:21 Start word processing...
[DBG] 16:20:21 [-] This word not found in any regular expressions files
[DBG] 16:20:21 [-] This word not found in any dictionaries
[DBG] 16:20:21 [+] Found this word in USA aspell dictionary
[DBG] 16:20:21 End word processing.
[DBG] 16:20:21 Changing language from Russia to USA
[DBG] 16:20:21 Processing string 'ujhjl -'
[DBG] 16:20:25 Focused window 35651589
[DBG] 16:20:25 Process new window (ID 35651589) with name 'Gnome-terminal' (status Excluded, mode Default)
[DBG] 16:20:25 Restore layout group to 1
Также замечен глюк при количестве раскладок больше двух: если какая-то раскладка помечена как исключенная, то иногда (без видимой причины) переключение на нее начинает срабатывать. Помогает опять же перезапуск демона.