Need to bind an F key to perform Ctrl-S in Gedit and reload page browser. Can't get xdotool to find Gedit window on Ubuntu 17.10
$ xdotool search --name "Opera" | tail -1
58720257
$ xdotool search --name "Gedit" | tail -1
$
Tried changing search string to "Text Editor", file name, etc. xdotool can't find only Gedit. Works for any other desktop window. It's always the active window so finding that would also work.