I am trying to set QGIS 2.8.1 (Linux Mint 17.2) to add the filename/path to layouts.
I am using this post as a guide How to add the current project path in Print Composer? However, I haven't got startup.py - I ran searchmonkey on my entire hard disk. The PyQGIS cookbook says "...if it's exists" but no reference to how to create it.
I tried creating a file of that name & pasting the code into it but QGIS wouldn't start, with Python-related complaints. I'm assuming the file should have a header & instructions, like an HTML document does? I can't seem to find this. I've looked in the QGIS settings to try & find it, with no success. BTW, I'm completely new to Python.