Is there any way to let the Shift, Ctrl and Alt keys behave as toggles under X? I know how one could do it under CLI (for example, by doing this) but found no reference for doing so under X.
Please note that this is not a question on sticky keys, which can be enabled by an accessibility option.