LINUX.ORG.RU

Xneur: Постоянно уничтожается и восстанавливается процесс, съедаются буквы

 


0

1

Пишу из горящего танка!

Решил попользоваться небезызвестной программой Xneur, входящей в стандартный репозиторий Debian 7.8. Нужен Xneur мне для того, чтобы использовать привычную мне комбинацию клавиш для переключения языков в терминальном режиме (по шифтам). Ни один дрогой переключатель не поддерживает работу в терминале этих клавиш.

Первый раз Xneur запустился аномально, но после того, как я в настройках поставил «запускаться при старте», вылез этот глюк. Иконка Xneur постоянно мигает. Видео:

http://rgho.st/6KKZRjkfx

И я не могу поймать процесс по ID чтобы его остановить:

root@energobase:~# ps aux | grep neur
xi       12086  0.0  0.1  33552  4564 ?        Sl   08:39   0:00 xneur
xi       32104  0.0  0.2 128284  8552 ?        S    08:56   0:00 gxneur
root     32109  0.0  0.0   5280   764 pts/0    S+   08:56   0:00 grep neur
root@energobase:~# kill -9 32104
-su: kill: (32104) - Нет такого процесса
root@energobase:~# ps aux | grep neur
xi       12086  0.0  0.1  33552  4564 ?        Sl   08:39   0:00 xneur
xi       32642  0.0  0.2 128284  8552 ?        S    08:56   0:00 gxneur
root     32646  0.0  0.0   5280   764 pts/0    S+   08:56   0:00 grep neur


Видно, что процесс останавливается и перезапускается.

Что делать? Как заставь xneur работать правильно?

ЗЫ: Грохнул через killall, снова запустил в консоли - та же песня. Xneur постоянно самопроизвольно перезапускается. Вот полный лог одного «сеанса»:

(то что в логе пишется - неправильно, нигде место не кончилось).

[LOG] 09:23:37 Loading configuration
[LOG] 09:23:37 Log level is set to Trace
[DBG] 09:23:37 Configuration load complete
[LOG] 09:23:37 Keyboard layouts present in system:
[LOG] 09:23:37    Included XKB Group 'English (US)', layout 'nu', group '0'
[DBG] 09:23:37       English (US) dictionary has 0 records
[DBG] 09:23:37       English (US) proto has 0 records
[DBG] 09:23:37       English (US) big proto has 0 records
[DBG] 09:23:37       English (US) enchant wrapper dictionary loaded
[LOG] 09:23:37 Total 1 keyboard layouts detected
[LOG] 09:23:37 Default keyboard group for all new windows set to 0
[LOG] 09:23:37 Manual mode set to Yes
[LOG] 09:23:37 Education mode set to No
[LOG] 09:23:37 Layout remember mode set to No
[LOG] 09:23:37 Save selection mode set to Yes
[LOG] 09:23:37 Rotate layout after convert selected text mode set to No
[LOG] 09:23:37 Sound playing mode set to Yes
[LOG] 09:23:37 Sound playing volume percentage set to 15
[LOG] 09:23:37 Logging keyboard mode set to No
[LOG] 09:23:37 Max file size of keyboard log set to 1048576 bytes
[LOG] 09:23:37 Keyboard log will send to (null) via (null):25 host
[LOG] 09:23:37 Ignore keyboard layout for abbreviations mode set to Yes
[LOG] 09:23:37 Correct of iNCIDENTAL CapsLock mode set to Yes
[LOG] 09:23:37 Correct of two CApital letter mode set to Yes
[LOG] 09:23:37 Correct of spaces with punctuation mode set to No
[LOG] 09:23:37 Correct of small letter to capital letter after dot mode set to Yes
[LOG] 09:23:37 Correct two space with a comma and a space mode set to No
[LOG] 09:23:37 Correct two minus with a dash mode set to No
[LOG] 09:23:37 Correct (c) with a copyright sign mode set to No
[LOG] 09:23:37 Correct (tm) with a trademark sign mode set to No
[LOG] 09:23:37 Correct (r) with a registered sign mode set to No
[LOG] 09:23:37 Disable CapsLock use mode set to No
[LOG] 09:23:37 Flush internal buffer when pressed Escape mode set to No
[LOG] 09:23:37 Flush internal buffer when pressed Enter or Tab mode set to No
[LOG] 09:23:37 Don't process word when pressed Enter or Tab mode set to No
[LOG] 09:23:37 Show OSD mode set to No
[LOG] 09:23:37 Show popup messages mode set to Yes
[LOG] 09:23:37 Popup expire timeout set to 1000
[LOG] 09:23:37 Check language on input process mode set to Yes
[LOG] 09:23:37 Pattern minig and recognition (autocompletion) mode set to Yes
[LOG] 09:23:37 Add space after autocompletion mode set to No
[LOG] 09:23:37 Disable autoswitching if pressed backspace mode set to No
[LOG] 09:23:37 Disable autoswitching if pressed left arrow mode set to No
[LOG] 09:23:37 Disable autoswitching if pressed right arrow mode set to No
[LOG] 09:23:37 Disable autoswitching if pressed up arrow mode set to No
[LOG] 09:23:37 Disable autoswitching if pressed down arrow mode set to No
[LOG] 09:23:37 Disable autoswitching if pressed delete mode set to No
[LOG] 09:23:37 Disable autoswitching if layout switched mode set to Yes
[LOG] 09:23:37 Disable autoswitching for full screen apps mode set to Yes
[LOG] 09:23:37 Compatibility with the completion mode set to Yes
[LOG] 09:23:37 Tracking input mode set to Yes
[LOG] 09:23:37 Tracking mouse mode set to Yes
[LOG] 09:23:37 Disable send KeyRelease event mode set to No
[LOG] 09:23:37 Delay before sendind events to application set to (in milliseconds) 0
[TRA] 09:23:37 Xneur process identificator is 25091 with nice -19
[LOG] 09:23:37 Main window with id 104857601 created
[DBG] 09:23:37 Using locale ru_RU.UTF-8
[TRA] 09:23:37 Received KeyPress 'End' (event type 2)

(gxneur:25086): Gdk-WARNING **: shmget failed: error 28 (На устройстве кончилось место)
[DBG] 09:23:37 Binded hotkeys actions:
[DBG] 09:23:37    Action "Correct/Undo correction" with key "Break"
[DBG] 09:23:37    No key set for action "Transliterate"
[DBG] 09:23:37    No key set for action "Change case"
[DBG] 09:23:37    No key set for action "Preview correction"
[DBG] 09:23:37    No key set for action "Correct last line"
[DBG] 09:23:37    Action "Switch between processing modes" with key "Control+Print"
[DBG] 09:23:37    Action "Correct selected text" with key "Shift+Break"
[DBG] 09:23:37    Action "Transliterate selected text" with key "Alt+Scroll_Lock"
[DBG] 09:23:37    Action "Change case of selected text" with key "Shift+Alt+Break"
[DBG] 09:23:37    Action "Preview correction of selected text" with key "correction"
[DBG] 09:23:37    Action "Correct clipboard text" with key "Control+Scroll_Lock"
[DBG] 09:23:37    No key set for action "Transliterate clipboard text"
[DBG] 09:23:37    No key set for action "Change case of clipboard text"
[DBG] 09:23:37    Action "Preview correction of clipboard text" with key "correction"
[DBG] 09:23:37    No key set for action "Switch to layout 1"
[DBG] 09:23:37    No key set for action "Switch to layout 2"
[DBG] 09:23:37    No key set for action "Switch to layout 3"
[DBG] 09:23:37    No key set for action "Switch to layout 4"
[DBG] 09:23:37    No key set for action "Rotate layouts"
[DBG] 09:23:37    No key set for action "Rotate layouts back"
[DBG] 09:23:37    Action "Expand abbreviations" with key "Control+Tab"
[DBG] 09:23:37    Action "Autocompletion confirmation" with key "Tab"
[DBG] 09:23:37    No key set for action "Block/Unblock keyboard and mouse events"
[DBG] 09:23:37    Action "Insert date" with key "Super+d"
[DBG] 09:23:37 Binded hotkeys user actions:
[DBG] 09:23:37 Init program structure complete
[DBG] 09:23:37 Show popup message "X Neural Switcher started" with content "(null)"
[DBG] 09:23:37 Interception of events in the window (ID 0) with name '(null)' OFF
[TRA] 09:23:37 Received KeyRelease 'End' (event type 3)

(gxneur:25086): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkMenuItem'

(gxneur:25086): Gtk-CRITICAL **: IA__gtk_menu_item_set_label: assertion `GTK_IS_MENU_ITEM (menu_item)' failed
[DBG] 09:23:37 Focused window 27262980
[DBG] 09:23:37 Process new window (ID 27262980) with name 'Lxterminal' (status Processed, mode Default)
[DBG] 09:23:37 Interception of events in the window (ID 27262980) with name 'Lxterminal' ON
[ERR] 09:23:37 Can't get exist shared memory segment id
[ERR] 09:23:37 Shared memory is not available! Uses a local memory!
Используется libxnconfig API версии 0.15.0 (собрано с 0.15.0)
★★★★★

Сочувствую. Именно поэтому я никогда не ставлю программы, которые вмешиваются в набор на клавиатуре, когда они сходят с ума — начинается ад.

Для начала удали его, если сможешь ввести команду в таком режиме работы клавиатуры. Потом поставь виртуалку и в ней экспериментально добейся стабильной работы, а уже потом ставь его на основную систему.

Vsevolod-linuxoid ★★★ ()
Последнее исправление: Vsevolod-linuxoid (всего исправлений: 1)

Это его обычный способ работы. Пару раз пробовал его использовать - получалась похожая фигня. А вот пунтосвичер что на винде, что на маке почему-то работает без закидонов.

Diff ★★★ ()