[Geany-devel] Patch to control different geany instances

Jörn Reder joern at xxxxx
Sun Nov 15 12:28:56 UTC 2009


at first: congratulations for this great piece of software! It's fun to
work with it, everything is well documented and goes straight forward.

Just one little bit was missing for me and adding it was easy ;)

Attached you find a tiny patch which adds a new command line option: 
--socket-file. This way you can have different geany instances running 
(e.g. one on each workspace) and are able to push new files to a 
specific instance.

This applies as well to this feature request:


e.g. by using this cmd line to open files:

  geany --socket-file=/tmp/geany-sock-$( xprop -root _NET_CURRENT_DESKTOP | awk '{print $3}' )



Think before you code. And while you're coding it won't hurt either. ;)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: geany-trunk-r4424-socket-file-patch.txt
URL: <http://lists.geany.org/pipermail/devel/attachments/20091115/2d39dddb/attachment.txt>

More information about the Devel mailing list