Kubuntu 18.04 can't set default web browser

Not ideal but I used the with the following command: option on Default Applications dialog in Kubuntu 18.04. For Firefox I would assume this would work: /usr/bin/firefox %s. I prefer Google Chrome so I used: /usr/bin/google-chrome %s

Screenshot of Default Applications dialog in Kubuntu 18.04


What was helping me: (I am using Kubuntu 18.04 LTS) find the following file /home/USERNAME/.config/mimeapps.list and edit it like this:

[Default Applications]
application/x-desktop=doublecmd.desktop;
inode/directory=doublecmd.desktop;
inode/symlink=pcmanfm.desktop
text/html=google-chrome.desktop
x-scheme-handler/http=google-chrome.desktop
x-scheme-handler/https=google-chrome.desktop

The last two x-scheme-handler/... lines were empty for me, so I wrote google chrome there as I prefer chrome.