After Chrome version 77, the checkbox to always open RV when opening rvlinks is missing, making it very annoying everytime you click Play on RV as Chrome asks for confirmation, after Chrome version 79 there is a special policy (ExternalProtocolDialogShowAlwaysOpenCheckbox) that you can enable to get the checkbox back, this example is for Linux, but you can follow the same approach for win and mac. (More details for MacOS setup can be found below.)
Create the folders needed. mkdir -p /etc/opt/chrome/policies/managed/
Create an empty Json file touch /etc/opt/chrome/policies/managed/managed_policies.json
(NOTE: the quotes in this snippet can become corrupt when copy/pasting. Should you have an issue, try @frank’s tip below of retyping them once pasted.)
That’s it! Start Chrome the checkbox should be there.
NOTE: For Chrome versions 77 and 78 there is a workaround, directly add the rvlink protocol handler as an excluded scheme in the Preferences file in ~/.config/google-chrome/Default/Preferences
Thanks @johnny.duguid for leading me here, and thanks @macbeth for writing this up!
Unfortunately it isn’t working for me, I’m sure I’m missing something though.
This is my json file:
Thanks @macbeth, I had a look and the article doesn’t really offer any more info. I made sure the json file is readable by my user id so I have no idea what else to look for.
I copy/pasted all file paths and the json content so typos shouldn’t be the issue.
I also tried the “HomepageLocation” policy from the example page but to no avail.
I might be stuck with confirming every single AMI for now
Hi @frank did you actually managed to fix this?
It just cross to my mind (while having a similar problem in another machine), that maybe Chrome is not finding RV as an official x-scheme-handler in Gnome?
[yolo@yolo ~]$ xdg-settings get default-url-scheme-handler rvlink
rv.desktop
To be able to get this, I used the gconfgtool-2 and added custom desktop files and mimeapps handlers for gnome.
let me know if you still have the problem I can share you my files for this.
Thanks @macbeth, yes, I tried everything I can think off but to no avail.
I am using kde though but maybe it uses gnome’s config for this?!
This is my gio output:
Oh could be something related to KDE then? : (
And yes I read the same somewhere that Chrome stills uses the gnome config for this, I have no experience in KDE but maybe it stills has some gnome config underlying somewhere in the system.
I’m trowing rocks to the air here then cause I have no experience with KDE, and probably not all this steps are needed in gnome either, but whenever I have a problem I do all of this:
Inside my /usr/share/applications/rv.desktop I added a mimetype:
Thanks @macbeth, will try your suggestions. I don’t even have a /usr/share/applications/rv.desktop, but I remember setting it up initially somewhere, so need to dig into it some more again.
I will report back here,
Thanks for all your advise!!
Enable checkbox “Always open these types of links in the associated app” in dialog for Ubuntu
/etc/opt/chrome/policies/managed/managed_policies.json
{
“ExternalProtocolDialogShowAlwaysOpenCheckbox”: true,
“URLWhitelist”: [
“.zoom.us”
]
}
I finally got this to work. Jeeeeeeeeeeesus.
So, what worked was @macbeth’s very first solution at the top of this thread.
However, when copy pasting this line:
The quotes somehow end up invalid. They show up but the file is not evaluated as expected. I only figured it out because I found another post somewhere in Google-land that offered the same solution and I just copy/pasted it again noticing that the syntax highlighting in vim changed.
So yeah, retyping the quotes, then restarting Chrome fixed it for me. Did you all hear my sigh of relief?!
OMG, @johnny.duguid Can you help us and edit my post to correct the quotes on it? I use to have permissions to edit my posts, but I lost them probably because of lack of activity because of the coronavirus : D
Thanks!