1# It's a X Neural Switcher configuration file by XNeur 2# All values writted XNeur 3 4# Config version 5Version 0.15.0 6 7# Work in manual mode 8ManualMode No 9 10# Level of messages program will write to output 11#LogLevel Error 12#LogLevel Warning 13#LogLevel Log 14#LogLevel Debug 15#LogLevel Trace 16LogLevel Trace 17 18# Define unused languages 19# Example: 20#ExcludeLanguage de 21 22# Define initial keyboard layout for all new applications 23DefaultXkbGroup 0 24 25# Add Applications names to exclude it from procces with xneur 26# Xneur will not process the input for this applications 27# Example: 28#ExcludeApp Gaim 29ExcludeApp Krdc 30ExcludeApp Palimpsest 31ExcludeApp Remmina 32ExcludeApp VirtualBox 33ExcludeApp Wine 34ExcludeApp rdesktop 35ExcludeApp Xfdesktop 36 37# Use this parameter to force set work mode in current application to Auto. 38# Example: 39#SetAutoApp Gedit 40 41# Use this parameter to force set work mode in current application to Manual. 42# Example: 43#SetManualApp Anjuta 44 45# Binds hotkeys for some actions 46AddBind ChangeWord Break 47AddBind TranslitWord 48AddBind ChangecaseWord 49AddBind PreviewChangeWord 50AddBind ChangeString 51AddBind ChangeSelected Shift Break 52AddBind TranslitSelected Alt Scroll_Lock 53AddBind ChangecaseSelected Shift Alt Break 54AddBind PreviewChangeSelected Control Pause 55AddBind ChangeClipboard Control Scroll_Lock 56AddBind TranslitClipboard 57AddBind ChangecaseClipboard 58AddBind PreviewChangeClipboard 59AddBind EnableLayout1 60AddBind EnableLayout2 61AddBind EnableLayout3 62AddBind EnableLayout4 63AddBind RotateLayout 64AddBind ReplaceAbbreviation Shift Tab 65AddBind RotateLayoutBack 66AddBind AutocompletionConfirmation Tab 67AddBind RotateAutocompletion Control Tab 68AddBind InsertDate Super d 69 70# This option add user action when pressed key bind 71# Example: 72#AddAction Control Alt f Firefox Browser <cmd>firefox</cmd> 73AddAction Alt t Вызов терминала <cmd>gnome-terminal</cmd> 74AddAction Alt g Открыть Gedit <cmd>gedit</cmd> 75AddAction Super_L Открыть Nautilus <cmd>nautilus ~/</cmd> 76AddAction Super f Открыть ссылку в Firefox <cmd>xsel -o | xargs firefox --new-tab</cmd> 77AddAction Super g Google - Искать <cmd>xsel -o | sed -r '2~1d;s/(^\s+|\s+$)//g;s/%/%25/g;s/#/%23/g;s/\$/%24/g;s/&/%26/g;s/\+/%2B/;s/,/%2C/g;s/:/%3A/g;s/;/%3B/g;s/=/%3D/g;s/\?/%3F/g;s/@/%40/g;s/\s/+/g' | awk '{print "http://www.google.ru/search?hl=ru&q=" $1}' | xargs firefox -new-tab</cmd> 78AddAction Super r Google - Перевести на русский <cmd>xsel -o | sed -r '2~1d;s/(^\s+|\s+$)//g;s/%/%25/g;s/#/%23/g;s/\$/%24/g;s/&/%26/g;s/\+/%2B/;s/,/%2C/g;s/:/%3A/g;s/;/%3B/g;s/=/%3D/g;s/\?/%3F/g;s/@/%40/g;s/\s/+/g' | awk '{print "translate.google.com/translate_t?hl=ru#auto|ru|" $1}' | xargs firefox -new-tab</cmd> 79AddAction Super a Google - Перевести на английский <cmd>xsel -o | sed -r '2~1d;s/(^\s+|\s+$)//g;s/%/%25/g;s/#/%23/g;s/\$/%24/g;s/&/%26/g;s/\+/%2B/;s/,/%2C/g;s/:/%3A/g;s/;/%3B/g;s/=/%3D/g;s/\?/%3F/g;s/@/%40/g;s/\s/+/g' | awk '{print "translate.google.com/translate_t?hl=ru#auto|en|" $1}' | xargs firefox -new-tab</cmd> 80AddAction Super y Яndex - Поиск <cmd>xsel -o | sed -r '2~1d;s/(^\s+|\s+$)//g;s/%/%25/g;s/#/%23/g;s/\$/%24/g;s/&/%26/g;s/\+/%2B/;s/,/%2C/g;s/:/%3A/g;s/;/%3B/g;s/=/%3D/g;s/\?/%3F/g;s/@/%40/g;s/\s/+/g' | awk '{print "http://yandex.ru/yandsearch?text=" $1 }' | xargs firefox -new-tab</cmd> 81 82# Word Replacing 83# Ignore keyboard layout for abbreviations list 84# Example: 85#ReplaceAbbreviationIgnoreLayout No 86ReplaceAbbreviationIgnoreLayout Yes 87 88# Abbreviations list 89# Example: 90#ReplaceAbbreviation xneur X Neural Switcher 91 92# This option enable or disable sound playing 93# Example: 94#PlaySounds No 95PlaySounds Yes 96 97# This option defined sound playing volume percent 98# Example: 99#SoundVolumePercent 10 100SoundVolumePercent 15 101 102# Binds sounds for some actions 103AddSound XneurStart 104AddSound XneurReload 105AddSound XneurStop 106AddSound PressKeyLayout1 Enable layout1type.wav 107AddSound PressKeyLayout2 Enable layout2type.wav 108AddSound PressKeyLayout3 109AddSound PressKeyLayout4 110AddSound EnableLayout1 111AddSound EnableLayout2 112AddSound EnableLayout3 113AddSound EnableLayout4 114AddSound AutomaticChangeWord Enable itemback.wav 115AddSound ManualChangeWord 116AddSound ManualTranslitWord 117AddSound ManualChangecaseWord 118AddSound ManualPreviewChangeWord 119AddSound ChangeString 120AddSound ChangeSelected 121AddSound TranslitSelected 122AddSound ChangecaseSelected 123AddSound PreviewChangeSelected 124AddSound ChangeClipboard 125AddSound TranslitClipboard 126AddSound ChangecaseClipboard 127AddSound PreviewChangeClipboard 128AddSound ReplaceAbbreviation Enable switch.wav 129AddSound CorrectIncidentalCaps 130AddSound CorrectTwoCapitalLetter 131AddSound ExecuteUserAction Enable switch.wav 132AddSound BlockKeyboardAndMouseEvents 133AddSound UnblockKeyboardAndMouseEvents 134 135# This option enable or disable self education of xneur 136# Example: 137#EducationMode No 138EducationMode Yes 139 140# This option enable or disable layout remember for each window 141# Example: 142#LayoutRememberMode No 143LayoutRememberMode Yes 144 145# Use this parameter to force enable layout remember for each application, not window. 146# Option "LayoutRememberMode" must be enabled. 147# Example: 148#LayoutRememberModeForApp Gaim 149LayoutRememberModeForApp Wine 150 151# This option enable or disable saving selection text 152# Example: 153#SaveSelectionMode No 154SaveSelectionMode Yes 155 156# This option enable or disable rotating layout after convert selected text 157# Example: 158#RotateLayoutAfterChangeSelectedMode No 159RotateLayoutAfterChangeSelectedMode No 160 161# This option define delay before sendind events to application (in milliseconds between 0 to 50). 162SendDelay 0 163 164# This option enable or disable logging keyboard 165# Example: 166#LogSave No 167LogSave No 168 169# This option set max size of log file (bytes). 170# Example: 171#LogSize 1048576 172LogSize 1048576 173 174# This option define e-mail for send log file, if it's size greater then max size. 175# Example: 176#LogMail your.mail@your.server.com 177 178# This option define host to send e-mail without login and password. 179# Example: 180#LogHostIP 127.0.0.1 181#LogHostIP mail.example.com 182 183# This option define port to send e-mail without login and password. 184# Example: 185#LogPort 25 186 187# This option enable or disable correction of iNCIDENTAL CapsLock 188# Example: 189#CorrectIncidentalCaps Yes 190CorrectIncidentalCaps Yes 191 192# This option enable or disable correction of two CApital letter 193# Example: 194#CorrectTwoCapitalLetter Yes 195CorrectTwoCapitalLetter Yes 196 197# This option enable or disable correction of small letter to capital letter after dot 198# Example: 199#CorrectCapitalLetterAfterDot Yes 200CorrectCapitalLetterAfterDot Yes 201 202# This option enable or disable correction of two space with a comma and a space 203# Example: 204#CorrectTwoSpaceWithCommaAndSpace Yes 205CorrectTwoSpaceWithCommaAndSpace No 206 207# This option enable or disable correction of two minus with a dash 208# Example: 209#CorrectTwoMinusWithDash Yes 210CorrectTwoMinusWithDash No 211 212# This option enable or disable correction of two minus with a emdash 213# Example: 214#CorrectDashWithEmDash Yes 215CorrectDashWithEmDash Yes 216 217# This option enable or disable correction of (c) with a copyright sign 218# Example: 219#CorrectCWithCopyright Yes 220CorrectCWithCopyright No 221 222# This option enable or disable correction of (tm) with a trademark sign 223# Example: 224#CorrectTMWithTrademark Yes 225CorrectTMWithTrademark No 226 227# This option enable or disable correction of (r) with a registered sign 228# Example: 229#CorrectRWithRegistered Yes 230CorrectRWithRegistered No 231 232# This option enable or disable correction of three points with a ellipsis sign 233# Example: 234#CorrectThreePointsWithEllipsis Yes 235CorrectThreePointsWithEllipsis No 236 237# This option enable or disable flushing internal buffer when pressed Escape 238# Example: 239#FlushBufferWhenPressEscape Yes 240FlushBufferWhenPressEscape No 241 242# This option enable or disable flushing internal buffer when pressed Enter or Tab 243# Example: 244#FlushBufferWhenPressEnter Yes 245FlushBufferWhenPressEnter No 246 247# This option disable or enable show OSD 248# Example: 249#ShowOSD Yes 250ShowOSD No 251 252# This option set font for OSD 253# Example: 254#FontOSD -*-*-*-*-*-*-32-*-*-*-*-*-*-u 255FontOSD -*-*-*-*-*-*-32-*-*-*-*-*-*-u 256 257# Binds OSDs for some actions 258AddOSD XneurStart Enable X Neural Switcher запущен 259AddOSD XneurReload Enable X Neural Switcher перезагружен 260AddOSD XneurStop Enable X Neural Switcher остановлен 261AddOSD PressKeyLayout1 262AddOSD PressKeyLayout2 263AddOSD PressKeyLayout3 264AddOSD PressKeyLayout4 265AddOSD EnableLayout1 266AddOSD EnableLayout2 267AddOSD EnableLayout3 268AddOSD EnableLayout4 269AddOSD AutomaticChangeWord 270AddOSD ManualChangeWord 271AddOSD ManualTranslitWord 272AddOSD ManualChangecaseWord 273AddOSD ManualPreviewChangeWord 274AddOSD ChangeString 275AddOSD ChangeSelected 276AddOSD TranslitSelected 277AddOSD ChangecaseSelected 278AddOSD PreviewChangeSelected 279AddOSD ChangeClipboard 280AddOSD TranslitClipboard 281AddOSD ChangecaseClipboard 282AddOSD PreviewChangeClipboard 283AddOSD ReplaceAbbreviation 284AddOSD CorrectIncidentalCaps 285AddOSD CorrectTwoCapitalLetter 286AddOSD ExecuteUserAction Enable Выполняется команда 287AddOSD BlockKeyboardAndMouseEvents 288AddOSD UnblockKeyboardAndMouseEvents 289 290# This option disable or enable show popup messages 291# Example: 292#ShowPopup Yes 293ShowPopup Yes 294 295# This option defines popup expiration interval in milliseconds 296# Example: 297#PopupExpireTimeout 1000 298PopupExpireTimeout 1000 299 300# Binds popup messages for some actions 301AddPopup XneurStart Enable X Neural Switcher запущен 302AddPopup XneurReload Enable X Neural Switcher перезагружен 303AddPopup XneurStop Enable X Neural Switcher остановлен 304AddPopup PressKeyLayout1 305AddPopup PressKeyLayout2 306AddPopup PressKeyLayout3 307AddPopup PressKeyLayout4 308AddPopup EnableLayout1 309AddPopup EnableLayout2 310AddPopup EnableLayout3 311AddPopup EnableLayout4 312AddPopup AutomaticChangeWord 313AddPopup ManualChangeWord 314AddPopup ManualTranslitWord 315AddPopup ManualChangecaseWord 316AddPopup ManualPreviewChangeWord 317AddPopup ChangeString 318AddPopup ChangeSelected 319AddPopup TranslitSelected 320AddPopup ChangecaseSelected 321AddPopup PreviewChangeSelected Enable Предпросмотр коррекции выделеного текста 322AddPopup ChangeClipboard 323AddPopup TranslitClipboard 324AddPopup ChangecaseClipboard 325AddPopup PreviewChangeClipboard Enable Предпросмотр коррекции буфера обмена 326AddPopup ReplaceAbbreviation 327AddPopup CorrectIncidentalCaps 328AddPopup CorrectTwoCapitalLetter 329AddPopup ExecuteUserAction Enable Выполняется команда 330AddPopup BlockKeyboardAndMouseEvents 331AddPopup UnblockKeyboardAndMouseEvents 332 333# This option disable or enable checking language on input process 334# Example: 335#CheckOnProcess Yes 336CheckOnProcess Yes 337 338# This option disable or enable CapsLock use 339# Example: 340#DisableCapsLock Yes 341DisableCapsLock No 342 343# This option disable or enable correction spaces befor punctuation 344# Example: 345#CorrectSpaceWithPunctuation No 346CorrectSpaceWithPunctuation No 347 348# This option disable or enable pattern mining and recognition (autocompletion) 349# Example: 350#Autocompletion No 351Autocompletion Yes 352 353# This option disable or enable adding space after autocompletion 354# Example: 355#AddSpaceAfterAutocompletion No 356AddSpaceAfterAutocompletion No 357 358# Add Applications names to exclude it from autocompletion process 359# Xneur will not process the autocompletion for this applications 360# Example: 361#AutocompletionExcludeApp Gnome-terminal 362AutocompletionExcludeApp Gnome-terminal 363 364# Use next options for troubleshoot on autoswitching 365# Disable autoswitching if pressed backspace 366TroubleshootBackspace No 367# Disable autoswitching if pressed left arrow 368TroubleshootLeftArrow No 369# Disable autoswitching if pressed right arrow 370TroubleshootRightArrow No 371# Disable autoswitching if pressed up arrow 372TroubleshootUpArrow No 373# Disable autoswitching if pressed down arrow 374TroubleshootDownArrow No 375# Disable autoswitching if pressed delete 376TroubleshootDelete No 377# Disable autoswitching if pressed enter 378TroubleshootEnter No 379# Disable autoswitching if pressed tab 380TroubleshootTab No 381# Disable autoswitching if layout switched 382TroubleshootSwitch Yes 383# Disable autoswitching for full screen apps 384TroubleshootFullScreen Yes 385 386# Add Applications names to exclude it from sending KeyRelease process 387# Xneur will not send KeyRelease events for this applications 388# Example: 389#SetDontSendKeyReleaseApp libreoffice-writer 390 391# Work-arround for compatibility with the completion 392CompatibilityWithCompletion Yes 393 394# Disabling this option will add any application to the list of excluded applications. 395TrackingInput Yes 396 397# Disabling this option will disable mouse tracking. 398TrackingMouse Yes 399 400# Modules list 401# Example: 402#LoadModule libxntest.so 403 404# That's all 405