I need to submit an extended function key (like F17 or F17 ) to a program that runs in the terminal (I use the default gnome-terminal
but could use another if it works there).
Is there a way in Ubuntu 11.04 to generate those key hits? I'm searching for something like Shift+F7 to generate F17 (what I currently use in Reflection under Windows).
My keyboard is set to generic 105 keys PC with the US Qwerty layout.
xmodmap
may be the program to look into here, though it looks like it will take some fiddling. There is some discussion about using xmodmap to simulate a super/fn key and generate F13-20 keycodes here. You need to find they keycodes currently used for Shift-F7 using the technique in that link, then remap them in your ~/.Xmodmap file. So for example if your Shift-F7 keycode was 320 your ~/.Xmodmap would look like:A couple of the comments here look pretty useful for this.