I would like to give a feedback to the code mentioned above. This is what I did: Because in `~/.local/` there was no folder `bin`, I created a folder `bin`. In that folder `bin`, I created a document with the name `geany`, with the code mentioned above as content. In `/usr/bin/` I looked for a document with the name `geany`, just to check if the path of `GEANY_EXEC="/usr/bin/geany"` is correct. Then I did in the terminal `sudo chmod +x ~/.local/bin/geany` to make the script executable. In the script `geany` that is located in `~/.local/bin/`, I changed `DELAY=0.5` from `0.5` to `0.6`, because the used computer is not so fast. Then I saved the document. The script works perfect for me.