Using Gtk Application we can prevent multiple instance of the program.
It is possible to send the command parameters to primary instance from the remote instance when Gio.ApplicationFlags.HANDLES_COMMAND_LINE
is enabled while creating The Gtk Application.
By this we we send the Arguments same Gtk Application from command line, which is pretty awesome.
But there is the problem, is there any way to get the information back to the remote/normal instance so that while doing the query from commandline it can display back. Since the remote instance exit right after it finds the primary instance.
I'm using python.