Re: gok + gdm problem




Hi there,

I setted up gok in my debian system.
However, I do not manage to enable gok (v1.0.5) in gdm
I checked /etc/gdm/gdm.conf
I tried activate it using ctrl g but the actions have no effect.

Getting accessibility to work in GDM requires a bit of configuration.
Did you make sure to turn on accessibility in gdm.conf?  Make sure
AddGtkModules=true and GtkModulesList is set properly so it at least
includes gail:atk-bridge:<full path to libkeymouselistener>.  If
you want dwellmouselistener you can include it too, but just for
using a key-binding to launch GOK, you just need the keymouse
listener.  Make sure that the <full path to libkeymouselistener> is
valid for your system and not pointing somewhere incorrect.

The actual gestures are defined in the file /etc/gdm/modules/AccessKeyMouseEvents. You should look in this
file and make sure ctrl-g is defined to launch gok properly.
Confirm the command listed actually works on your system.  Note
the options carefully.  The configuration may require that you hold
down the key for a certain duration or repeat the key a certain
number of times.  Make sure you are actually performing the
gesture.  GDM should show an hourglass when it recognizes the
gesture.  If you see no hourglass, then your problem is that
the gesture isn't recognized.  If you see an hourglass, but
the program doesn't start, then the problem is that the
appliation (such as GOK) is having trouble starting.

Some verisons of the Xserver have a bug which causes repeat keys
to not work properly when XEviE is enabled, so you might find it
works better if you set the duration for the gesture to 0.

Some programs (I'm not sure about gok) require that the "gdm"
user have a writable home directory.  If you see the hourglass
after hitting the key, but GOK just doesn't show up, then this
is probably your problem.  Does giving the "gdm" user a
writable home directory solve the problem?  If so, then file
a bug against gok since it really shouldn't require a writable
home directory when used from the login program.

Note you can turn Gestures=true in the [debug] section of the
gdm.conf file.  This will cause debug messages from the gesture
listener to go to your syslog file.  This might help you debug
why the gesture listener isn't recognizing the gesture if that
is your problem.  If you can't figure out what is wrong, and
you aren't seeing an hourglass when you complete the gesture,
you can send me the syslog output and I'll try and help you
figure out what is wrong.

Your Xserver may also require some additional configuration
to make GOK work properly (like if you want an XInput device
to work instead of the normal keyboard/mouse).  But getting
GOK to start up in the first place is the first step.

Hope this helps.

Brian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]