Debugging keyboard overlay+xbindkeys

Mihail Konev k.mvc at ya.ru
Sat Nov 5 19:37:44 UTC 2016


On Sat, Nov 05, 2016 at 03:43:49AM +0500, Mihail Konev wrote:
> On Sat, Nov 05, 2016 at 03:26:54AM +0500, Mihail Konev wrote:
> > E.g. you cannot have caps+y be 'yen' and 'YEN' easily.
> (Assuming that Unicode 'yen' does not capitalize to 'YEN').
> E.g. caps+y -> ':' ; caps+Y -> '@' .

Correct version:
E.g. you cannot have caps+y be 'a' and 'b' easily.

You have to define a "putaside" keycode to them at levels 1 and 2,
and then .overlay1= into it.

Similarly with the RedirectKey action.

The only reason not to use arrow-keysyms-on-levels is that
MonoDevelop, Java apps, VTE do not recognize them as "arrows",
i.e. you cannot shift-select, or shift-scroll.

A possible solution to avoid abovementioned indirection when
defining "arrow layers" would be to have ShiftModsOnly flag,
which would then be put onto arrow keysyms.
This is only a workaround around broken clients, of course.


More information about the xorg-devel mailing list