Commit ab8e813b authored by Brian Cameron's avatar Brian Cameron Committed by Brian Cameron

Now use full path to AT programs so gesture listeners do not depend on the

Tue Mar 08 14:35:00 2005  Brian Cameron <Brian.Cameron@Sun.Com>
        * acconfig.h, configure.in, AccessDwellMouseEvents.in,
          AccessKeyMouseEvents.in: Now use full path to AT
          programs so gesture listeners do not depend on the
          PATH environment variable to run.  By default gdm
          with use EXPANDED_BINDIR, but this can be overridden
          via the --with-at-bindir configure option.
parent 78936d45
......@@ -3,6 +3,12 @@ Tue Mar 08 14:35:00 2005 Brian Cameron <Brian.Cameron@Sun.Com>
* gui/modules/AccessKeyMouseEvents.in: Added -u when
launching magnifier so it is launched in horizontal
split mode which works better.
* acconfig.h, configure.in, AccessDwellMouseEvents.in,
AccessKeyMouseEvents.in: Now use full path to AT
programs so gesture listeners do not depend on the
PATH environment variable to run. By default gdm
with use EXPANDED_BINDIR, but this can be overridden
via the --with-at-bindir configure option.
Mon Mar 07 14:35:00 2005 Brian Cameron <Brian.Cameron@Sun.Com>
......
#undef PACKAGE
#undef VERSION
#undef AT_BINDIR
#undef GETTEXT_PACKAGE
#undef GDM_USER_PATH
#undef HALT_COMMAND
......
......@@ -65,7 +65,7 @@ AC_ARG_WITH(selinux, [ --with-selinux Add SELinux support])
withval=""
AC_ARG_WITH(post-path,
[ --with-post-path=<PATH> add PATH to end of user's PATH when logging in],[
[ --with-post-path=<PATH> add PATH to end of user's PATH when logging in],[
if test x$withval != x; then
AC_MSG_RESULT("PATH ${withval} with be added to end of user's PATH when logging in.")
fi])
......@@ -78,7 +78,7 @@ dnl PAM prefix
dnl
withval=""
AC_ARG_WITH(pam-prefix,
[ --with-pam-prefix=<prefix> specify where pam files go],[
[ --with-pam-prefix=<prefix> specify where pam files go],[
if test x$withval != x; then
AC_MSG_RESULT("PAM files will be installed in prefix ${withval}.")
fi])
......@@ -676,6 +676,19 @@ EXPANDED_LOGDIR=`eval echo $LOGDIR_TMP`
AC_SUBST(EXPANDED_LOGDIR)
AC_DEFINE_UNQUOTED(EXPANDED_LOGDIR,"$EXPANDED_LOGDIR")
withval=""
AC_ARG_WITH(at-bindir,
[ --with-at-bindir=<PATH> PATH to Accessible Technology programs [default=EXPANDED_BINDIR]],)
if test x$withval != x; then
AT_BINDIR="$withval"
else
AT_BINDIR=$EXPANDED_BINDIR
fi
AC_SUBST(AT_BINDIR)
AC_DEFINE_UNQUOTED(AT_BINDIR,"$AT_BINDIR")
AC_MSG_CHECKING(for fbconsole (for Solaris))
if test -x /usr/openwin/bin/fbconsole; then
AC_DEFINE(HAVE_FBCONSOLE)
......
......@@ -30,7 +30,7 @@
#
# e.g.
#
# <Add> @EXPANDED_BINDIR@/gnome-mag
# <Add> @AT_BINDIR@/gnome-mag
# current:
TBLR I 10000 gok --login --access-method=dwellselection
TBLR I 10000 @AT_BINDIR@/gok --login --access-method=dwellselection
......@@ -15,7 +15,7 @@
#
# e.g.
#
# <Control>k 5 1000 10000 gok --login --access-method=directselection
# <Control>k 5 1000 10000 @AT_BINDIR@/gok --login --access-method=directselection
#
# Means press Contol-k 5 times, holding each keypress down for at least 1000ms
# each time and with no greater interval than 10000ms between each event in the
......@@ -26,8 +26,8 @@
# otherwise the sequence will be lost.
#
# e.g.
# Shift_L 5 1000 10000 gok --login --access-method=directselection
# Shift_R 5 1000 10000 gok --login --access-method=directselection
# Shift_L 5 1000 10000 @AT_BINDIR@/gok --login --access-method=directselection
# Shift_R 5 1000 10000 @AT_BINDIR@/gok --login --access-method=directselection
#
# Will start gok if you press either shift key 5 times holding it down for more
# then 1 second each time.
......@@ -39,7 +39,7 @@
#
# e.g.
#
# <Mouse2> 4 3000 6000 @EXPANDED_BINDIR@/gnopernicus
# <Mouse2> 4 3000 6000 @AT_BINDIR@/gnopernicus
#
# Note that mouse numbers are 1-based so <Mouse1> is the left mouse button,
# <Mouse3> is the right mouse button and <Mouse2> is the middle mouse button.
......@@ -51,26 +51,26 @@
#
# e.g.
#
# <Add> @EXPANDED_BINDIR@/gnome-mag
# <Add> @AT_BINDIR@/gnome-mag
#
# Note that pressing any other keys
# current:
# hold right or left mouse button 3 times for 3 seconds each time
<Mouse1> 3 3000 10000 gok --login --access-method=directselection
<Mouse1> 3 3000 10000 @AT_BINDIR@/gok --login --access-method=directselection
# we add the right mouse button as it may be the left mouse button
# for a left handed user
<Mouse3> 3 3000 10000 gok --login --access-method=directselection
<Mouse3> 3 3000 10000 @AT_BINDIR@/gok --login --access-method=directselection
<Switch1> 1 5000 0 gok --login --access-method=automaticscanning --scan-action=switch1 --select-action=switch1
<Switch2> 3 50 3000 gok --login --access-method=inversescanning --scan-action=switch1 --select-action=switch2
<Switch3> 3 1000 10000 gok --login --access-method=automaticscanning --scan-action=switch3 --select-action=switch3
<Switch1> 1 5000 0 @AT_BINDIR@/gok --login --access-method=automaticscanning --scan-action=switch1 --select-action=switch1
<Switch2> 3 50 3000 @AT_BINDIR@/gok --login --access-method=inversescanning --scan-action=switch1 --select-action=switch2
<Switch3> 3 1000 10000 @AT_BINDIR@/gok --login --access-method=automaticscanning --scan-action=switch3 --select-action=switch3
# press ctrl-k for 1 second
# gnopernicus, speech mode
<Control>s 1 1000 10000 srcore --login --enable-speech
<Control>s 1 1000 10000 @AT_BINDIR@/srcore --login --enable-speech
# gnopernicus magnifier
<Control>m 1 1000 10000 srcore --login --enable-magnifier -u
<Control>m 1 1000 10000 @AT_BINDIR@/srcore --login --enable-magnifier -u
# both
<Control>g 1 1000 10000 srcore --login
<Control>g 1 1000 10000 @AT_BINDIR@/srcore --login
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment