This is a great input method for mouse avoiders. Is there any command
like 'keynav --listen' that could tell the already running keynav
instance to start zooming so that scripts can call keynav?
I can use xdotool to make a script virtually press ctrl-; but this is
kludgy and messes up sometimes.
Sincerely yours,
John B.
Dear keynavvers,
This is a great input method for mouse avoiders. Is there any command
like 'keynav --listen' that could tell the already running keynav
instance to start zooming so that scripts can call keynav?
I can use xdotool to make a script virtually press ctrl-; but this is
kludgy and messes up sometimes.
Sincerely yours,
John B.
--
You received this message because you are subscribed to the Google Groups "keynav-users" group.
To post to this group, send email to keynav...@googlegroups.com.
To unsubscribe from this group, send email to keynav-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/keynav-users?hl=en.
That sounds great. But it does require a user to know about pipes/
sockets/whatevers. Since you should be expected to only have one
instance of keynav running, I hope there's a way to make 'keynav --
listen' talk to the only running instance (or err when keynav isn't
running) without a user needing to understand this.
Lots of media players do this, e.g.
mocp --pause
vlc --pause
totem --play-pause
and you're more likely to have multiple instances of those than
keynav.
Again thanks for this incredible program!
I think the best way would be to introduce a new setting in the rc file,
like:
control-socket ~/.keynav.d/sock
which would create an unix domain socket (which would allow multiple
users and sessions on the same machine, contrarily to a traditional
socket) on the specified path when keynav --server is used.
A fifo would also be fine.
keynav --client [command] (or stdin if no command is supplied) would
simply relay the command to the server.
Alternatively, you could listen by default if control-socket is
specified in the .rc, and skip anything but control-socket if --client
is supplied (yeah, it would be nice to call keynav --client without
DISPLAY being set!).
My inspiration comes from the ssh-agent/emacs daemon interface.