Capabilities for Hyper in keybindings

Asked by superboot on 2018-09-15

I'd like to use a Hyper key in my keybindings. I've mapped this to mod3 using xbindkeys, and it works in the GUI to set keybindings. However, terminator reports on stderr:

  keybindings.reload failed to parse binding '<Hyper>f': Unhandled modifier '<Hyper>'

I see in the code (keybindings.py) there is a dict of modifier names to gtk.gdk objects.

Can we just add a:

    'hyper': gtk.gdk.MOD3_MASK

to the dict?

What else would be required to patch for this feature?

Kind regards,

John

Question information

Language:
English Edit question
Status:
Solved
For:
Terminator Edit question
Assignee:
No assignee Edit question
Solved by:
superboot
Solved:
2018-09-15
Last query:
2018-09-15
Last reply:
superboot (greasecar) said : #1

This in fact works. It really was just that simple.

It may be too non-standard to assume mod3 is on Hyper, but at least it is simple enough to implement if you deem it stable.

-John