Guest User

Untitled

a guest
Sep 4th, 2012
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.72 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 Yes
  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. ExcludeLanguage us
  22.  
  23. # Define initial keyboard layout for all new applications
  24. DefaultXkbGroup 0
  25.  
  26. # Add Applications names to exclude it from procces with xneur
  27. # Xneur will not process the input for this applications
  28. # Example:
  29. #ExcludeApp Gaim
  30. ExcludeApp /bin/bash
  31. ExcludeApp Terminal
  32. ExcludeApp Wine
  33. ExcludeApp Xfdesktop
  34.  
  35. # Use this parameter to force set work mode in current application to Auto.
  36. # Example:
  37. #SetAutoApp Gedit
  38.  
  39. # Use this parameter to force set work mode in current application to Manual.
  40. # Example:
  41. #SetManualApp Anjuta
  42.  
  43. # Binds hotkeys for some actions
  44. AddBind ChangeWord Break
  45. AddBind TranslitWord
  46. AddBind ChangecaseWord
  47. AddBind PreviewChangeWord
  48.  
  49. AddBind ChangeString
  50. AddBind ChangeMode Control Print
  51. AddBind ChangeSelected Shift Break
  52. AddBind TranslitSelected Alt Scroll_Lock
  53. AddBind ChangecaseSelected Shift Alt Break
  54. AddBind PreviewChangeSelected Control Pause
  55. AddBind ChangeClipboard Control Scroll_Lock
  56. AddBind TranslitClipboard
  57. AddBind ChangecaseClipboard
  58. AddBind PreviewChangeClipboard
  59. AddBind EnableLayout1
  60. AddBind EnableLayout2
  61. AddBind EnableLayout3
  62. AddBind EnableLayout4
  63. AddBind RotateLayout
  64. AddBind RotateLayoutBack
  65. AddBind ReplaceAbbreviation Control Tab
  66. AddBind AutocompletionConfirmation Tab
  67. AddBind BlockKeyboardAndMouseEvents
  68. AddBind 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>
  73. AddAction Alt t Вызов терминала <cmd>gnome-terminal</cmd>
  74. AddAction Alt g Открыть Gedit <cmd>gedit</cmd>
  75. AddAction Super_L Открыть Nautilus <cmd>nautilus ~/</cmd>
  76. AddAction Super f Открыть ссылку в Firefox <cmd>xsel -o | xargs firefox --new-tab</cmd>
  77. 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>
  78. 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>
  79. 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>
  80. 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>
  81.  
  82. # Word Replacing
  83. # Ignore keyboard layout for abbreviations list
  84. # Example:
  85. #ReplaceAbbreviationIgnoreLayout No
  86. ReplaceAbbreviationIgnoreLayout No
  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
  95. PlaySounds Yes
  96.  
  97. # This option defined sound playing volume percent
  98. # Example:
  99. #SoundVolumePercent 10
  100. SoundVolumePercent 15
  101.  
  102. # Binds sounds for some actions
  103. AddSound XneurStart
  104. AddSound XneurReload
  105. AddSound XneurStop
  106. AddSound PressKeyLayout1 Enable /usr/share/xneur/sounds/layout1type.wav
  107. AddSound PressKeyLayout2 Enable /usr/share/xneur/sounds/layout2type.wav
  108. AddSound PressKeyLayout3
  109. AddSound PressKeyLayout4
  110. AddSound EnableLayout1
  111. AddSound EnableLayout2
  112. AddSound EnableLayout3
  113. AddSound EnableLayout4
  114. AddSound AutomaticChangeWord Enable /usr/share/xneur/sounds/itemback.wav
  115. AddSound ManualChangeWord
  116. AddSound ManualTranslitWord
  117. AddSound ManualChangecaseWord
  118. AddSound ManualPreviewChangeWord
  119. AddSound ChangeString
  120. AddSound ChangeSelected
  121. AddSound TranslitSelected
  122. AddSound ChangecaseSelected
  123. AddSound PreviewChangeSelected
  124. AddSound ChangeClipboard
  125. AddSound TranslitClipboard
  126. AddSound ChangecaseClipboard
  127. AddSound PreviewChangeClipboard
  128. AddSound ReplaceAbbreviation Enable /usr/share/xneur/sounds/switch.wav
  129. AddSound CorrectIncidentalCaps
  130. AddSound CorrectTwoCapitalLetter
  131. AddSound CorrectTwoSpaceWithCommaAndSpace
  132. AddSound CorrectTwoMinusWithDash
  133. AddSound CorrectCWithCopyright
  134. AddSound CorrectTMWithTrademark
  135.  
  136. AddSound CorrectRWithRegistered
  137. AddSound ExecuteUserAction Enable /usr/share/xneur/sounds/switch.wav
  138. AddSound BlockKeyboardAndMouseEvents
  139. AddSound UnblockKeyboardAndMouseEvents
  140.  
  141. # This option enable or disable self education of xneur
  142. # Example:
  143. #EducationMode No
  144. EducationMode No
  145.  
  146. # This option enable or disable layout remember for each window
  147. # Example:
  148. #LayoutRememberMode No
  149. LayoutRememberMode Yes
  150.  
  151. # Use this parameter to force enable layout remember for each application, not window.
  152. # Option "LayoutRememberMode" must be enabled.
  153. # Example:
  154. #LayoutRememberModeForApp Gaim
  155. LayoutRememberModeForApp Wine
  156.  
  157. # This option enable or disable saving selection text
  158. # Example:
  159. #SaveSelectionMode No
  160. SaveSelectionMode No
  161.  
  162. # This option enable or disable rotating layout after convert selected text
  163. # Example:
  164. #RotateLayoutAfterChangeSelectedMode No
  165. RotateLayoutAfterChangeSelectedMode No
  166.  
  167. # This option define delay before sendind events to application (in milliseconds between 0 to 50).
  168. SendDelay 0
  169.  
  170. # This option enable or disable logging keyboard
  171. # Example:
  172. #LogSave No
  173. LogSave No
  174.  
  175. # This option set max size of log file (bytes).
  176. # Example:
  177. #LogSize 1048576
  178. LogSize 1048576
  179.  
  180. # This option define e-mail for send log file, if it's size greater then max size.
  181. # Example:
  182.  
  183. # This option define host to send e-mail without login and password.
  184. # Example:
  185. #LogHostIP 127.0.0.1
  186. #LogHostIP mail.example.com
  187. LogHostIP
  188.  
  189. # This option define port to send e-mail without login and password.
  190. # Example:
  191. #LogPort 25
  192. LogPort 25
  193.  
  194. # This option enable or disable correction of iNCIDENTAL CapsLock
  195. # Example:
  196. #CorrectIncidentalCaps Yes
  197. CorrectIncidentalCaps Yes
  198.  
  199. # This option enable or disable correction of two CApital letter
  200. # Example:
  201. #CorrectTwoCapitalLetter Yes
  202. CorrectTwoCapitalLetter Yes
  203.  
  204. # This option enable or disable correction of small letter to capital letter after dot
  205. # Example:
  206. #CorrectCapitalLetterAfterDot Yes
  207. CorrectCapitalLetterAfterDot No
  208.  
  209. # This option enable or disable correction of two space with a comma and a space
  210. # Example:
  211. #CorrectTwoSpaceWithCommaAndSpace Yes
  212. CorrectTwoSpaceWithCommaAndSpace No
  213.  
  214. # This option enable or disable correction of two minus with a dash
  215. # Example:
  216. #CorrectTwoMinusWithDash Yes
  217. CorrectTwoMinusWithDash No
  218.  
  219. # This option enable or disable correction of (c) with a copyright sign
  220. # Example:
  221. #CorrectCWithCopyright Yes
  222. CorrectCWithCopyright No
  223.  
  224. # This option enable or disable correction of (tm) with a trademark sign
  225. # Example:
  226. #CorrectTMWithTrademark Yes
  227. CorrectTMWithTrademark No
  228.  
  229. # This option enable or disable correction of (r) with a registered sign
  230.  
  231. # Example:
  232. #CorrectRWithRegistered Yes
  233. CorrectRWithRegistered No
  234.  
  235. # This option enable or disable flushing internal buffer when pressed Escape
  236. # Example:
  237. #FlushBufferWhenPressEscape Yes
  238. FlushBufferWhenPressEscape No
  239.  
  240. # This option enable or disable flushing internal buffer when pressed Enter or Tab
  241. # Example:
  242. #FlushBufferWhenPressEnter Yes
  243. FlushBufferWhenPressEnter No
  244.  
  245. # This option disable or enable processing word when pressed Enter or Tab
  246. # Example:
  247. #DontProcessWhenPressEnter Yes
  248. DontProcessWhenPressEnter No
  249.  
  250. # This option disable or enable show OSD
  251. # Example:
  252. #ShowOSD Yes
  253. ShowOSD No
  254.  
  255. # This option set font for OSD
  256. # Example:
  257. #FontOSD -*-*-*-*-*-*-32-*-*-*-*-*-*-u
  258. FontOSD -*-*-*-*-*-*-32-*-*-*-*-*-*-u
  259.  
  260. # Binds OSDs for some actions
  261. AddOSD XneurStart Enable X Neural Switcher запущен
  262. AddOSD XneurReload Enable X Neural Switcher перезагружен
  263. AddOSD XneurStop Enable X Neural Switcher остановлен
  264. AddOSD PressKeyLayout1
  265. AddOSD PressKeyLayout2
  266. AddOSD PressKeyLayout3
  267. AddOSD PressKeyLayout4
  268. AddOSD EnableLayout1
  269. AddOSD EnableLayout2
  270. AddOSD EnableLayout3
  271. AddOSD EnableLayout4
  272. AddOSD AutomaticChangeWord
  273. AddOSD ManualChangeWord
  274. AddOSD ManualTranslitWord
  275. AddOSD ManualChangecaseWord
  276. AddOSD ManualPreviewChangeWord
  277.  
  278.  
  279. # This option disable or enable checking language on input process
  280. # Example:
  281. #CheckOnProcess Yes
  282. CheckOnProcess No
  283.  
  284. # This option disable or enable CapsLock use
  285. # Example:
  286. #DisableCapsLock Yes
  287. DisableCapsLock No
  288.  
  289. # This option disable or enable correction spaces befor punctuation
  290. # Example:
  291. #CorrectSpaceWithPunctuation No
  292. CorrectSpaceWithPunctuation No
  293.  
  294. # This option disable or enable pattern mining and recognition (autocompletion)
  295. # Example:
  296. #Autocompletion No
  297. Autocompletion No
  298.  
  299. # This option disable or enable adding space after autocompletion
  300. # Example:
  301. #AddSpaceAfterAutocompletion No
  302. AddSpaceAfterAutocompletion Yes
  303.  
  304. # Add Applications names to exclude it from autocompletion process
  305. # Xneur will not process the autocompletion for this applications
  306. # Example:
  307. #AutocompletionExcludeApp Gnome-terminal
  308. AutocompletionExcludeApp /usr/bin/bash
  309. AutocompletionExcludeApp Gnome-terminal
  310. AutocompletionExcludeApp Terminal
  311.  
  312. # Use next options for troubleshoot on autoswitching
  313. # Disable autoswitching if pressed backspace
  314. TroubleshootBackspace No
  315. # Disable autoswitching if pressed left arrow
  316. TroubleshootLeftArrow No
  317. # Disable autoswitching if pressed right arrow
  318. TroubleshootRightArrow No
  319. # Disable autoswitching if pressed up arrow
  320. TroubleshootUpArrow No
  321. # Disable autoswitching if pressed down arrow
  322. TroubleshootDownArrow No
  323.  
  324. # Disable autoswitching if pressed delete
  325. TroubleshootDelete No
  326. # Disable autoswitching if layout switched
  327. TroubleshootSwitch Yes
  328. # Disable autoswitching for full screen apps
  329. TroubleshootFullScreen Yes
  330.  
  331. # Work-arround for compatibility with the completion
  332. CompatibilityWithCompletion No
  333.  
  334. # Disabling this option will add any application to the list of excluded applications.
  335. TrackingInput Yes
  336.  
  337. # Disabling this option will disable mouse tracking.
  338. TrackingMouse Yes
  339.  
  340. # Disable send KeyRelease event
  341. DontSendKeyRelease No
  342.  
  343. # Modules list
  344. # Example:
  345. #LoadModule libxntest.so
  346.  
  347. # That's all
Advertisement
Add Comment
Please, Sign In to add comment