Tensai75 / nzb-monkey-go

NZB Monkey Go - Golang version of the NZB Monkey with included NZB direct search
MIT License
75 stars 8 forks source link

after clicking link, the open with dialog is opening and I can't select any app #24

Closed DaPeace closed 4 months ago

DaPeace commented 10 months ago

I installed a blank Ubuntu 22 Desktop. After setting up nzbmonkey-go, when clicking a nzblnk it only opens the "open with" dialog and I can't find any solution how to start nzbmonkey-go.

Thanks for help!

nzb-tuxxx commented 10 months ago

After installing the .deb run nzb-monkey-go --register from command line

jpoggi commented 10 months ago

Hi,

Try creating this file

~/.local/share/applications/mimeinfo.cache

with this content:

[MIME Cache] x-scheme-handler/nzblnk=nzblnk.desktop;

You can also verify this file:

~/.local/share/applications/nzblnk.desktop

with this content:

[Desktop Entry] Type=Application Name=NZBlnk Exec=/usr/bin/gnome-terminal --hide-menubar --geometry=100x16 --working-directory="/usr/bin" -e "/usr/bin/nzb-monkey-go %u" Path=/usr/bin MimeType=x-scheme-handler/nzblnk; NoDisplay=true Terminal=false

prime0n commented 9 months ago

I installed a blank Ubuntu 22 Desktop. After setting up nzbmonkey-go, when clicking a nzblnk it only opens the "open with" dialog and I can't find any solution how to start nzbmonkey-go. Thanks for help!

Can confirm. I have the same behave on a VirtualBox Linux (Kubuntu 23) VM (Win Host) No association after '--register' call

After installing the .deb run nzb-monkey-go --register from command line

Doesn't help at all. I have tried several times in different locations (same with the ZIP version, with previouse purge of the *.deb version).

Hi, Try creating this file ~/.local/share/applications/mimeinfo.cache with this content: [MIME Cache] x-scheme-handler/nzblnk=nzblnk.desktop; You can also verify this file: ~/.local/share/applications/nzblnk.desktop with this content: [Desktop Entry] Type=Application Name=NZBlnk Exec=/usr/bin/gnome-terminal --hide-menubar --geometry=100x16 --working-directory="/usr/bin" -e "/usr/bin/nzb-monkey-go %u" Path=/usr/bin MimeType=x-scheme-handler/nzblnk; NoDisplay=true Terminal=false

~/.local/share/applications/mimeinfo.cache is missing after '--register' call. I have created it manually, but without success.

~/.local/share/applications/nzblnk.desktop is present but seems diffrent because i do not use gnome. Maybe a new KDE Konsole issue?

@EDIT It is definitley a Ubuntu problem and not an nzb-monkey-go problem. I changed to Kali Linux (Plasma-KDE) as VM and it works fine.