In case the behavior described in this issue is intentional or won't be fixed, here is a script that somewhat restores old behavior: ``` #!/usr/bin/env bash
# this script works around behavior where geany does not activate newly # opened documents on start, but does when arguments are passed to an # already running instance
GEANY_EXEC="/usr/bin/geany" DELAY=0.5
if pgrep geany ; then if [ $# -eq 0 ] ; then # bring already running instance to foreground xdotool search --desktop 0 --onlyvisible --class geany windowactivate else # pass arguments to already running instance $GEANY_EXEC "$@" & fi else # run geany, then pass arguments to new instance $GEANY_EXEC & [ $# -ne 0 ] && sleep $DELAY && $GEANY_EXEC "$@" fi ```