gTox icon indicating copy to clipboard operation
gTox copied to clipboard

Tox URI scheme

Open KoKuToru opened this issue 10 years ago • 2 comments

More info at https://github.com/Tox/Tox-STS/blob/master/STS.md#tox-uri-scheme

We will need a way to signal a running gTox instance.. hmm

I think it should work the following way:

If client runs:

  1. IPC Signal to running client and close.
    • Does GTK has a platform independent solution for this ?
  2. Running client adds Tox ID
  3. Running client keeps running

If client doesn't run:

  1. Start a client
  2. add Tox ID
  3. Keep running

If more than 1 client runs:

Same as "If client runs" but signal all running clients..

Also lets add this ?

http://www.tkalin.com/blog_posts/using-console-vim-as-vim-protocol-handler-in-ubuntu/ Will be possible to use "tox://" or "tox://@" as url..

KoKuToru avatar Apr 04 '15 11:04 KoKuToru

Gtk:Application is the solution, but at the moment we use singletons.. means we would lose the ability to have multi-instances.

Which i don't care much of..

So when nobody is against it, I will remove the ability to start gTox more than once..

KoKuToru avatar Apr 11 '15 18:04 KoKuToru

i dont see any problem with just one instance. if we really want a multi account feature we could think about implementing a real one.

mohlek avatar Apr 12 '15 08:04 mohlek