I am looking for a way to get access to the F1 - F12 keys for some interactive terminal applications (i.e. htop )
I don’t need any other keys in the soft keyboard than the F-keys, as I am using sailfish on Gemini pda, which has hardware keyboard with anything else.
Before coming to sailfish I was using the same device with android and termux. There a config file could make a custom softkeyboard of only one line of keys, with these particular keys.
I haven’t been able to find configurations options similar to this in fingerterm, but I do see that there is an option to switch keyboard layout, so I am hoping it may be possible
I already found the F-keys for ToeTerm in the english extended keyboard layout, so that one is up and running already
the F-keys fit perfectly in the bottom row, and if I add two extra keys, the clickable area aligns just right to match the matching F-key legend inside of htop (at least with my current font size)
maybe a little off topic, but do you either of you know if a soft key can send two simultanious keys?
I am thinking to put some useful buttons in the two extra soft keys I ligned up. (i.e. ctrl + b, for the default tmux command prefix)
If I remember correctly you can’t do that (like press button A and send Ctrl+C).
Glad it worked for you! If you have any github/ gitlab upload your layout and share the link!
Doesn’t seem to be possible from layout (modifier key codes are hardcoded and passing key value + modifier value doesn’t work as qt expects the modifiers separately it seems) you could probably add a custom button in keyboard.qml to call term.keyPress(event.key,event.modifiers); directly with the combo you need