kotatogram-desktop icon indicating copy to clipboard operation
kotatogram-desktop copied to clipboard

[Feature Request] A -noregister flag to disable auto scheme register

Open the-blank-x opened this issue 2 years ago • 7 comments

Is your feature request related to a problem?

If having 8+ options to open tg:// links yes

Describe the solution you'd like

As mentioned in the title, a -noregister flag to disable auto scheme register

Describe alternatives you've considered

Deleting the registered schemes manually (on Linux it's in ~/.local/share/applications)

Additional context

Not sure if I should pick Kotatogram Desktop, Telegram Desktop, Telegram Desktop, Telegram Desktop, Telegram Desktop, Telegram Desktop, Telegram Desktop, or Telegram Desktop

the-blank-x avatar Oct 20 '21 12:10 the-blank-x

I don't think -noregister option in Kotatogram will help you with a lot of Telegram Desktops

ilya-fedin avatar Oct 20 '21 12:10 ilya-fedin

I usually test kotato builds, I think firefox capped it

the-blank-x avatar Oct 20 '21 12:10 the-blank-x

20211020_191821.jpg

the-blank-x avatar Oct 20 '21 12:10 the-blank-x

It's weird, the code should remove old files before registering a new one: https://github.com/desktop-app/lib_base/blob/master/base/platform/linux/base_url_scheme_linux.cpp#L170

How did you get a lot of files?

ilya-fedin avatar Oct 20 '21 12:10 ilya-fedin

Arguments passed to the binary? /usr/etc/kotatogram-desktop is different from ~/downloads/k/k -workdir /tmp/a

the-blank-x avatar Oct 20 '21 12:10 the-blank-x

scheme handlers contain only workdir, so such amount of files can be only if you have a lot of workdirs (what is pointless)

ilya-fedin avatar Oct 20 '21 13:10 ilya-fedin

@the-blank-x the issue is going to be closed if you won't answer

ilya-fedin avatar Nov 04 '21 09:11 ilya-fedin