[Github-comments] [geany/geany] Opening a new tab in an existing instance from shell (#1512)

Vasiliy Faronov notifications at xxxxx
Fri Jun 9 15:30:22 UTC 2017


You can use the `--socket-file` option to open a file in a specific instance of Geany. For example, if you execute these two commands:

```
geany --socket-file=/tmp/geany1 /tmp/foo
geany --socket-file=/tmp/geany1 /tmp/bar
```

you get one instance of Geany with two open documents, `/tmp/foo` and `/tmp/bar`.

Here’s a script I use (on Linux) to have one instance of Geany per workspace: https://gist.github.com/vfaronov/6843c6bc817521bfab7e58fff139c525

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1512#issuecomment-307421082
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170609/9fbc4bc8/attachment.html>


More information about the Github-comments mailing list