It is very borring to click on a textfile and Geany gives an Erro Window: You accessed with the socket of other user. Avoid this JUST ADDING A "-i" in the geany.desktop (/usr/share/applications) in linux at the "Exec line"
Now on Line 142: Exec geany %F Better usability is: Exec geany -i %F