Hi, folks.
Is it possible to enable the use of the function keys, F1-F12, as modifier keys?
I love Geany's custom keybindings, but I'm running out of intuitive options, especially with multiple plugins and multiple custom Lua scripts. Using the function keys as extra modifiers would help a lot.
It would be much easier to remember, say, F9+c = compile, F9+m = make, F9+o = Make custom object, F9+e = Execute, rather than using F8, F9, Shift+F8, Shift+F9, Ctrl+Shift+F8, etc. Plus there would be over a thousand shortcuts available that way (although using Ctrl+Shift+Alt+F12 might require dislocating fingers).
Is it feasible to implement this in Geany?
Thrawn
On 29 May 2013 08:04, Thrawn shell_layer-geany@yahoo.com.au wrote:
Hi, folks.
Is it possible to enable the use of the function keys, F1-F12, as modifier keys?
I love Geany's custom keybindings, but I'm running out of intuitive options, especially with multiple plugins and multiple custom Lua scripts. Using the function keys as extra modifiers would help a lot.
It would be much easier to remember, say, F9+c = compile, F9+m = make, F9+o = Make custom object, F9+e = Execute, rather than using F8, F9, Shift+F8, Shift+F9, Ctrl+Shift+F8, etc. Plus there would be over a thousand shortcuts available that way (although using Ctrl+Shift+Alt+F12 might require dislocating fingers).
Is it feasible to implement this in Geany?
This isn't a Geany problem. I would expect Geany to accept it, ... if you can persuade GDK and your keyboard mapping software to accept it.
GDK normally has <control>, <shift>, <lock> (shift or caps depending on keymap), <super> (usually the windows key), <hyper>, <meta> but it also has 5 "virtual" modifiers. <mod1> is usually <alt>, <mod2-5> depend on the keymap.
I don't know what your keymap is, and how much control your desktop gives you, mine is kind of limited. But if you can persuade it to generate meta or hyper modifiers you have a whole new set of bindings to play with. :)
Cheers Lex
Thrawn _______________________________________________ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
On Tue, 28 May 2013 15:04:27 -0700 (PDT) Thrawn shell_layer-geany@yahoo.com.au wrote:
Is it possible to enable the use of the function keys, F1-F12, as modifier keys?
It can be done under X11 with a custom key map, but Fx will become a modifier for all programs...
I love Geany's custom keybindings, but I'm running out of intuitive options, especially with multiple plugins and multiple custom Lua scripts. Using the function keys as extra modifiers would help a lot.
Have you used all <windows> key combinations? They are be available as <Super>+x under most WM-s...
OK, mixed results!
I was able to use xmodmap to make F2 generate Meta or Hyper keys. However, when I used Meta in Geany, it was interpreted as Alt, and Hyper was interpreted as Alt + Super.
On the bright side of things, seeing that made me realise that I can modify the Super key with Ctrl, Shift, Alt, or a combination of them. It's something, at least. By my calculations, even if we ignore using Super by itself (which is error-prone), there are still 13 possible combinations of Ctrl, Shift, Alt, and Super, each of which can be used with the full keyboard. I'll see how I go.
Thanks for the feedback!
--- On Thu, 30/5/13, Dimitar Zhekov dimitar.zhekov@gmail.com wrote:
From: Dimitar Zhekov dimitar.zhekov@gmail.com Subject: Re: [Geany-Devel] Idea: use function keys as modifiers? To: shell_layer-geany@yahoo.com.au, "Geany development list" devel@lists.geany.org Received: Thursday, 30 May, 2013, 3:21 AM On Tue, 28 May 2013 15:04:27 -0700 (PDT) Thrawn shell_layer-geany@yahoo.com.au wrote:
Is it possible to enable the use of the function keys,
F1-F12, as modifier keys?
It can be done under X11 with a custom key map, but Fx will become a modifier for all programs...
I love Geany's custom keybindings, but I'm running out
of intuitive options, especially with multiple plugins and multiple custom Lua scripts. Using the function keys as extra modifiers would help a lot.
Have you used all <windows> key combinations? They are be available as <Super>+x under most WM-s...
-- E-gards: Jimmy