File sample.xyakurc of Package xyaku
#
# Configuration file for xyaku
# This file is installed as /usr/libexec/xyaku/xyakurc.
# You can copy this to $HOME/.xyakurc as per-user configuration.
#
# Unfortunately, the format is a bit annoying(not difficult).
# When you test your configuration, you can try the following option.
# $ xyaku -config xyakurc -parsemsg 1
# This shows the parser result to stdout.
#
#
# Specify version.
# This version number is independent from xyaku's version.
# This is xyakurc's version number.
# If you omit this, it fallbacks to version 1.
# Currently, accepted version is 1 or 2.
#
Version 2
#
# Specify ModulePath
# You can specify multiple pathes.
#
ModulePath /usr/lib/xyaku
#
# Format of addin-command:
# Key keyname Modifiers use_cache max_nlines max_bufsiz max_width command [arg1 arg2 ...]
# keyname: One of the entries from /usr/include/X11/keysymdef.h, with the leading XK_ omitted.
# Modifiers: C-control, S-shift, M-mod1, L-lock, A-all. Combination such as CS is acceptable.
# use_cache: Specify to use cache. Value is true or false.
# max_nlines: Specify the max number of lines to show result. 0 means default(16).
# max_bufsiz: Specify the max buffer size to show result. 0 means default(1024byte).
# max_width: Specify the max width to show result.
# 0 means no specification(determined by result string).
# command: Specify add-in command and arguments.
# Trailing words are treated as arguments, even if they start with #.
#
# edict.sh searches in the EDICT English/Japanese dictionary for the specified word.
# See http://www.dgs.monash.edu.au/~jwb/edict.html about edict.
Key F1 C true 0 0 0 edict.sh -d /usr/share/edict/edict
# engdic.sh searches in the Korean/English endic dictionary for the specified word:
#Key F1 C true 0 0 0 engdic.sh -d /usr/share/engdic
Key F2 C true 0 0 0 searcheb.rb -d /cdrom
Key F3 C true 64 6144 0 dict.sh
# You can also use the "-d" option to specify a database of the dict client:
# Key F3 C true 64 6144 0 dict.sh -d wn
Key F4 C false 0 0 0 websearch.sh -e yahoo
Key F1 S false 50 3072 640 help.sh
Key F2 S false 0 0 0 websearch.sh -e dic.yahoo.co.kr
Key F3 S false 0 0 0 websearch.sh -e dic.naver.com
Key F10 C false 0 0 0 clearcache.sh
#
# Format of automode's addin-command:
# AutoKey keyname Modifiers use_cache max_nlines max_bufsiz max_width interval command [arg1 arg2 ...]
# interval: Interval time[millisecond]. 0 means default(1500).
#
#AutoKey F1 M true 0 0 0 1500 edict.sh
#AutoKey F2 M true 0 0 0 1500 searcheb.rb -d /mnt/cdrom
#AutoKey F3 M true 64 6144 0 2000 dict.sh
#
# If you want to use these, please remove comment.
#
# Key F5 C false 0 0 0 openurl.sh
# Key F6 C false 0 0 0 showrc.sh