Using Geany for development in Linux

noweare:
Yes, I have the shebang in the file.

If that is working then my Python program should run (albeit do nothing) when you enter

~/bin/pythonbuild.py

in a terminal.

You said you get "permission denied" so that seems to be the main problem because you said it does work when you enter
python pythonbuild.py dev/Arduino/sample/sample.ino
and I presume it will run my program when you enter

python pythonbuild.py

You have not said if you tried using Geany with the command

python ~/bin/pythonbuild.py "%d/%f"

Do you have syntax highlighting and autocomplete working ?

Yes, but the syntax highlighting is not identical to the Arduino IDE. To be honest the colours are meaningless.

...R