Custom protocol in linux?

后端 未结 4 1314
闹比i
闹比i 2020-12-14 09:42

I am attempting to port one of my hobby project to linux. Preferrably to Mono since it is written in C#. But I am looking into Python as well.

One of the feature of

4条回答
  •  醉酒成梦
    2020-12-14 10:03

    There's not going to be a single answer, because that will be happening at the X window manager level at best. In general, you're going to need to have some chunk of code you can put into your path, and associate the name with the protocol. Have a look at the about:config page, which is where the handlers are set up.

    That's really all that Windows does too, it's just that stuff is in the registry.

    This looks like a decent drescription for Firefox.

提交回复
热议问题