I created a plugin using QGIS Plugin Builder Plugin using the Template Tool Button with dock widget. Works fine, but I have to click the associated button each time I start QGIS in order to open the dock widget.
Question: How can I make QGIS open the dock widget at each start, or at least remind its state like those of the core plugins (GPS Information Panel for example)?
self.run()
function into the__init__
of your plugin. However be aware, that functionality will work but QGIS won't open its own GUI till you close your plugin