Code: Select all
#!/bin/sh
xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7
#for precise, the F2 wasn't needed.
#script to execute the following string in geany (needs a few tweaks to the keyboard config file or a swap with the key.config file in the word processing and related folder at the pupli repo.
# send line where cursor sits (or what's been highlighted) to the terminal, run it, close the terminal, return to the editing view.
#you may want to put compile and build back (f8 and f9, iirc) if you like geany's built in shortcuts. i messed with those but they have nothing to do with the vtg function.
that's it. the F2 is the only needed change. i was messing around with the timing and a few other things, but it's just a case of quirky 7.2 needs to have the editor in focus to close out the sidebar and terminal and precise didn't. or 32 bit didn't (both were using geany 1.24 for the most part).xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7