Группа :: Система/X11
Пакет: xvkbd
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: xvkbd-3.0-alt5.patch
Скачать
Скачать
README | 2 +-
xvkbd.c | 6 +++---
xvkbd.man | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README b/README
index 912baaf..ad92ef5 100644
--- a/README
+++ b/README
@@ -93,7 +93,7 @@ Operation
characters of the selected word by clicking one of the words in the
list.
- The dictionary (list of words) file is /usr/dict/words by default, but
+ The dictionary (list of words) file is /usr/share/dict/words by default, but
it can be changed by -dict option or xvkbd.dictFile resouce.
Main Menu
diff --git a/xvkbd.c b/xvkbd.c
index 1dd2904..d3f699b 100644
--- a/xvkbd.c
+++ b/xvkbd.c
@@ -346,7 +346,7 @@ static XtResource application_resources[] = {
{ "keyFile", "KeyFile", XtRString, sizeof(char *),
Offset(key_file), XtRImmediate, ".xvkbd" },
{ "dictFile", "DictFile", XtRString, sizeof(char *),
- Offset(dict_file), XtRImmediate, "/usr/dict/words" },
+ Offset(dict_file), XtRImmediate, "/usr/share/dict/words" },
{ "customizations", "Customizations", XtRString, sizeof(char *),
Offset(customizations), XtRImmediate, "default" },
{ "editableFunctionKeys", "EditableFunctionKeys", XtRInt, sizeof(int),
@@ -364,7 +364,7 @@ static XtResource application_resources[] = {
{ "keyClickDuration", "KeyClickDuration", XtRInt, sizeof(int),
Offset(key_click_duration), XtRImmediate, (XtPointer)1 },
{ "autoClickDelay", "AutoClickDelay", XtRInt, sizeof(int),
- Offset(autoclick_delay), XtRImmediate, (XtPointer)500 },
+ Offset(autoclick_delay), XtRImmediate, (XtPointer)0 },
};
#undef Offset
@@ -1154,7 +1154,7 @@ static void SendKeyPressedEvent(KeySym keysym, unsigned int shift)
* via xvkbd can be listed, and choosing one of them will send the
* suffix to the clients.
* Words for completion will be read from dictionary file specified
- * with xvkbd.dictFile resource, such as /usr/dict/words.
+ * with xvkbd.dictFile resource, such as /usr/share/dict/words.
*/
static Widget completion_panel = None;
static Widget completion_entry = None;
diff --git a/xvkbd.man b/xvkbd.man
index d3dd26b..9969338 100644
--- a/xvkbd.man
+++ b/xvkbd.man
@@ -116,7 +116,7 @@ words started with the characters will be listed in the panel,
and you can enter the remaining characters of the selected word
by clicking one of the words in the list.
.PP
-The dictionary (list of words) file is \fB/usr/dict/words\fP by default,
+The dictionary (list of words) file is \fB/usr/share/dict/words\fP by default,
but it can be changed by \fB-dict\fP option or \fBxvkbd.dictFile\fP resouce.
.SH " Main Menu"