--sticky option not working?

13 views
Skip to first unread message

harshrc

unread,
Jan 29, 2012, 7:40:45 PM1/29/12
to key-mon discuss
Hi ,

I have sticky keys set up in linux cli using:

# xkbset sticky -twokey latchlock

I installed key-mon using debian (later I also hg cloned and build a
deb package and installed it)

I start keymon using

key-mon --sticky

But it didnt work, i.e pressing ctrl -> Ctrl image would restore to
default after a time lapse.
I then changed the source:
self.options.sticky_mode = True
just before the check before switching to default image. This worked
as I imagined it should. So probably this is a bug, if not I apologize
for this email.

I hope somebody also implements the latchlock functionality i,e if
Ctrl is pressed twice, then it gets locked.

Thanks for this nice tool, I searched for many hours on google, in
linux forums and what not, this is the closest thing to what I needed,
ie. the ability to see the status of the current sticky key.

-Harsh

Yu-Jie Lin

unread,
Jan 30, 2012, 5:42:09 PM1/30/12
to key-mon...@googlegroups.com
Hmm, this is a bit of strange, I just tried these two revisions:

changeset: 296:7a34a13b201f
date: Wed Sep 07 23:14:07 2011 +0800
summary: Add a set of multimedia key codes

changeset: 308:81f83b82c064
date: Sun Jan 22 15:27:42 2012 -0500
summary: Version 1.9 created.

One was last time I pushed, the other was latest commit. Sticky mode
works in both via CLI --sticky option.

The only thing I didn't do was running the xkbset command because I
didn't have it. However, I didn't think it wouldn't change the result.

But maybe you can try not to run xkbset and see if key-mon's working.
Just FYI, key-mon's sticky mode is not aware of X keyboard's mode. It
only emulates.

I think you should also create an issue report, this could be a bug or
something.

Also for reference, there is an issue about latchlock (thanks for
mentioning it, I didn't know the correct name)

http://code.google.com/p/key-mon/issues/detail?id=105

Scott Kirkwood

unread,
Feb 2, 2012, 7:21:18 PM2/2/12
to key-mon...@googlegroups.com
I'm not seeing this problem either.
I do notice that you can call key_mon with -sticky (with only one minus) and it doesn't complain, but it doesn't work either.
Could it be you didn't pass the two minus signs?

If not you could try passing --reset, which will clear out your settings - that might work.
Reply all
Reply to author
Forward
0 new messages