Advertisement
AZJIO

XNeur

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