.TH XNEURRC 5 .SH NAME xneurrc - configuration file for XNeur .SH DESCRIPTION .PP In this file defined options for XNeur. May be created or changed manuallly or with \fIgXNeur\fP or \fIkXNeur\fP. Location for manual settings: ~/.xneur/xneurrc. Location of base settings: {prefix}/etc/xneur/xneurrc .SH OPTIONS .TP 8 .B Version Defines conformity of the configuration file to the program version. For XNeur version 0.5.0, the value of is 0.5.0. .TP 8 .B ManualMode Describes program working mode. Here, the value of can be "Yes" or "No", which means, respectively, work in manual or automatic mode. In the automatic mode, the program "on fly" determines the input language and switches the keyboard layout, at the same time changing the word typed in. In the manual mode, the program does not use algorithms of language recognition, layout switching and text conversion take place on user request by pressing hot keys. .TP 8 .B LogLevel Defines level of diagnostic output to console. Here, takes the values "Error", "Warning", "Log", "Debug", "Trace". By changing this parameter, the detail of output to console can be controlled. .TP 8 .B ExcludeLanguage Defines the language, with which the program WILL NOT work. Here, stands for the language, for which the layout should be specified (e.g. ru, us, by, de...). .TP 8 .B DefaultXkbGroup Define initial keyboard layout for all new applications. Here, stands for the number of XKB layout for this language in the system (takes values from 0 to 3). .TP 8 .B ExcludeApp Defines an application, in which the program WILL NOT work. Here, is an identifier of the program window, input in which is processed by XNeur. can be obtained with the xprop utility. Multiple entries for this option in a single configuration file are allowed, like "one program - one option ExcludeApp". .TP 8 .B SetAutoApp Defines an application, in which the program will always work in the automatic mode, independent of the DefaultMode option. Here, is an identifier of the program window, input in which is processed by xneur. app_name can be obtained with the xprop utility. Multiple entries for this option in a single configuration file are allowed, like "one program - one option SetAutoApp". .TP 8 .B SetManualApp Defines an application, in which the program will always work in the manual mode, independent of the DefaultMode option. Here, is an identifier of the program window, input in which is processed by xneur. app_name can be obtained with the xprop utility. Multiple entries for this option in a single configuration file are allowed, like "one program - one option SetManualApp". .TP 8 .B AddBind [Control | Alt | Shift | Super] [key] Defines hot keys for xneur control. Here, stands for an action of XNeur, stands for a special key. takes the following values: "ChangeWord" (replace word/cancel last auto replacement), "ChangeString" (replace last string), "ChangeMode" (switch between the auto and the manual program modes), "ChangeSelected" (convert selected text to another layout), "TranslitSelected" (convert selected Cyrillic test to translit), "ChangecaseSelected" (change lettercase of selected text), "EnableLayout1" (enable of first layout), "EnableLayout2" (enable of second layout), "EnableLayout3" (enable of third layout), "EnableLayout4" (enable of fourth layout), "ReplaceAbbreviation" (replace abbreviation to full text) or "BlockKeyboardAndMouseEvents" (blocking all events of keyboard and mouse). [key] takes the values defined in your latin keyboard. Skip this value if hot key undefined. .TP 8 .B AddAction [Control | Alt | Shift | Super] Defines hot keys for user actions. Here, is user actions (e.g. firefox or gnome-terminal), stands for a special key. takes the values defined in your latin keyboard. .TP 8 .B ReplaceAbbreviationIgnoreLayout This option enable or disable of the ignore keyboard layout for abbreviations list. Here, takes the values "Yes", "No". .TP 8 .B ReplaceAbbreviation Define an abbreviation, which be replased to full text. Here, is abreviation and is text. Multiple entries for this option in a single configuration file are allowed, like "one abbreviation - one option ReplaceAbbreviation". .TP 8 .B PlaySound This option enable or disable sound playing. Here, takes the values "Yes", "No". .TP 8 .B AddSound Binds sounds for some actions. Here, takes the following values: "XneurStart", "XneurReload", "XneurStop", "PressKeyLayout1", "PressKeyLayout2", "PressKeyLayout3", "PressKeyLayout4", "EnableLayout1", "EnableLayout2", "EnableLayout3", "EnableLayout4", "AutomaticChangeWord", "ManualChangeWord", "ChangeString", "ChangeSelected", "TranslitSelected", "ChangecaseSelected", "ReplaceAbbreviation", "CorrectIncidentalCaps", "CorrectTwoCapitalLetter", "ExecuteUserAction" and "BlockKeyboardAndMouseEvents". is .wav file placed in ~/.xneur/sounds or in basic place ({prefix}/share/xneur/sounds/). takes the values "Disable", "Enable". .TP 8 .B SoundVolumePercent Defined sound playing volume percent. Here, takes the values from 0 to 100. .TP 8 .B EducationMode Defines, if XNeur will work in self-training. A wrong input will be added to the dictionary, if it is twice converted into a specific layout manually. If this option is on, this will lead to a bigger dictionary. Does not make sence for the manual operating mode. Here, takes the values "Yes", "No". .TP 8 .B LayoutRememberMode This option enable or disable layout remember for each window Here, takes the values "Yes", "No". .TP 8 .B LayoutRememberModeForApp This option force enable layout remember for each application, not window. Here, is an identifier of the program window, input in which is processed by xneur. app_name can be obtained with the xprop utility. .TP 8 .B SaveSelectionMode Define, if a selection will stay after changes, made by user actions, defined by the AddBind parameter. Here, takes the values "Yes", "No". .TP 8 .B RotateLayoutAfterChangeSelectedMode This option enable or disable rotating layout after convert selected text. Here, takes the values "Yes", "No". .TP 8 .B SendDelay This option define delay in milliseconds before sendind events to application. Here, must be until 0 to 50. .TP 8 .B LogSave This option enable or disable logging keyboard. Log places in ~/.xneur/xneurlog Here, takes the values "Yes", "No". .TP 8 .B LogSize This option set max size of log file (bytes) .TP 8 .B LogMail This option define e-mail for send log file, if it's size greater then max size .TP 8 .B LogHostIP This option define ip of host to send e-mail without login and password. .TP 8 .B LogPort This option define port of host to send e-mail without login and password. .TP 8 .B CorrectIncidentalCaps This option enable or disable correction of iNCIDENTAL CapsLock. Here, takes the values "Yes", "No". .TP 8 .B CorrectTwoCapitalLetter This option enable or disable correction of two CApital letter. Here, takes the values "Yes", "No". .TP 8 .B FlushBufferWhenPressEscape This option enable or disable flushing internal buffer when pressed Escape. Here, takes the values "Yes", "No". .TP 8 .B FlushBufferWhenPressEnter This option enable or disable flushing internal buffer when pressed Enter or Tab. Here, takes the values "Yes", "No". .TP 8 .B DontProcessWhenPressEnter This option disable or enable processing word when pressed Enter or Tab. Here, takes the values "Yes", "No". .TP 8 .B ShowOSD This option disable or enable show OSD. Here, takes the values "Yes", "No". .TP 8 .B FontOSD This option set font for OSD. Here, takes the value, that can be received with command "xfontsel -print". .TP 8 .B AddOSD Binds OSD for some actions. Here, takes the following values: "XneurStart", "XneurReload", "XneurStop", "PressKeyLayout1", "PressKeyLayout2", "PressKeyLayout3", "PressKeyLayout4", "EnableLayout1", "EnableLayout2", "EnableLayout3", "EnableLayout4", "AutomaticChangeWord", "ManualChangeWord", "ChangeString", "ChangeSelected", "TranslitSelected", "ChangecaseSelected", "ReplaceAbbreviation", "CorrectIncidentalCaps", "CorrectTwoCapitalLetter", "ExecuteUserAction" and "BlockKeyboardAndMouseEvents". is text will be displayed. takes the values "Disable", "Enable". .TP 8 .B ShowPopup This option disable or enable show popup messages. Here, takes the values "Yes", "No". .TP 8 .B PopupExpireTimeout This option define popup expiration interval in milliseconds. Here, must be until 0 to 30000. .TP 8 .B AddPopup Binds popup messages for some actions. Here, takes the following values: "XneurStart", "XneurReload", "XneurStop", "PressKeyLayout1", "PressKeyLayout2", "PressKeyLayout3", "PressKeyLayout4", "EnableLayout1", "EnableLayout2", "EnableLayout3", "EnableLayout4", "AutomaticChangeWord", "ManualChangeWord", "ChangeString", "ChangeSelected", "TranslitSelected", "ChangecaseSelected", "ReplaceAbbreviation", "CorrectIncidentalCaps", "CorrectTwoCapitalLetter", "ExecuteUserAction" and "BlockKeyboardAndMouseEvents". is text will be displayed. takes the values "Disable", "Enable". .TP 8 .B CheckOnProcess This option disable or enable checking language on input process. Here, takes the values "Yes", "No". .TP 8 .B DisableCapsLock This option disable or enable CapsLock use. Here, takes the values "Yes", "No". .TP 8 .B CorrectSpaceWithPunctuation This option disable or enable correction spaces before and after punctuation. Here, takes the values "Yes", "No". .TP 8 .B CorrectTwoSpaceWithCommaAndSpace This option disable or enable correction of two space with a comma and a space. Here, takes the values "Yes", "No". .TP 8 .B CorrectTwoMinusWithDash This option disable or enable correction of two minus with a dash. Here, takes the values "Yes", "No". .TP 8 .B CorrectCWithCopyright This option disable or enable correction of (c) with a copyright sign. Here, takes the values "Yes", "No". .TP 8 .B CorrectTMWithTrademark This option disable or enable correction of (tm) with a trademark sign. Here, takes the values "Yes", "No". .TP 8 .B CorrectRWithRegistered This option disable or enable correction of (r) with a registered sign. Here, takes the values "Yes", "No". .TP 8 .B Autocompletion This option disable or enable pattern mining and recognition (autocompletion). Here, takes the values "Yes", "No". .TP 8 .B AddSpaceAfterAutocompletion This option disable or enable adding space after autocompletion. Here, takes the values "Yes", "No". .TP 8 .B AutocompletionExcludeApp Defines an application, in which the program will exclude it from autocompletion process. Here, is an identifier of the program window, input in which is processed by xneur. app_name can be obtained with the xprop utility. Multiple entries for this option in a single configuration file are allowed, like "one program - one option AutocompletionExcludeApp". .TP 8 .B LoadModule This option define loadable plugin for xneur. Here, is name of shared library. .TP 8 .B TroubleshootBackspace This option disable or enable autoswitching if pressed backspace. Here, takes the values "Yes", "No". .TP 8 .B TroubleshootLeftArrow This option disable or enable autoswitching if pressed left arrow. Here, takes the values "Yes", "No". .TP 8 .B TroubleshootRightArrow This option disable or enable autoswitching if pressed right arrow. Here, takes the values "Yes", "No". .TP 8 .B TroubleshootUpArrow This option disable or enable autoswitching if pressed up arrow. Here, takes the values "Yes", "No". .TP 8 .B TroubleshootDownArrow This option disable or enable autoswitching if pressed Down arrow. Here, takes the values "Yes", "No". .TP 8 .B TroubleshootDelete This option disable or enable autoswitching if pressed Delete. Here, takes the values "Yes", "No". .TP 8 .B TroubleshootSwitch This option disable or enable autoswitching if layout switched (Pause/Break by default). Here, takes the values "Yes", "No". .TP 8 .B TroubleshootFullScreen This option disable or enable autoswitching for full screen apps. Here, takes the values "Yes", "No". .TP 8 .B DontSendKeyRelease This option disable or enable sending KeyRelease event. Here, takes the values "Yes", "No". .TP 8 .B CompatibilityWithCompletion This option disable or enable work-arround for compatibility with the completion. Here, takes the values "Yes", "No". .TP 8 .B TrackingInput Disabling this option will add any application to the list of excluded applications. Here, takes the values "Yes", "No". .TP 8 .B TrackingMouse Disabling this option will disable mouse tracking. Here, takes the values "Yes", "No". .SH "SEE ALSO" xneur(1), gxneur(1) .SH AUTHOR Andrew Crew Kuznetsov, Nikolay Yankin