On 2021-11-05, Kenny McCormack <gaz...@shell.xmission.com
> I'm using tightvncviewer in fullscreen mode, and want to try the
> grabKeyboard option. According to the man page, this can only be set via a
> resource (note that most of the things you can set as resources have a
> corresponding [and easier to use] command line option, but, alas, not this
tighvnc is, it says, an Xt client, so it should accept the generic
command-line resource-setting option:
tightvnc -xrm '*.grabKeyboard: true'
echo '*.grabKeyboard: true' | xrdb -merge
That sets the grabKeyboard resource for all programs; to be specific,
you need to know the program/class name.
If you want to keep it. put
in your .Xresources file (or whatever your distribution uses)