VMware Communities
Sinorama
Enthusiast
Enthusiast

xdg-open vmware workstation

Running web client for vmware esxi 6.7 on ubuntu 18.04. When I select Launch Remote Console it starts xdg-open for vmware player. How do I change this to vmware workstation pro 15.02?

Reply
0 Kudos
2 Replies
bluefirestorm
Champion
Champion

Go to the settings of the browser that you use and change the associated application to the vmrc extensions.

I pasted a screenshot below of Firefox on Windows; so how it is exactly is dependent on the browser that you use.

pastedImage_0.png

Reply
0 Kudos
Sinorama
Enthusiast
Enthusiast

Thank you for your help with my xdg-open problem. Your method used in Firefox browser does indeed offer a choice between Workstation and Player for launching a remote console for esxi vm. I am able to make the workstation choice sticky as well.

However, I failed to mention that I am using Google Chrome browser. I tried adding an entry for ~/.local/share/applications/mimeapps.list and a restart but the default for xdg-open remains vmware player.

x-scheme-handler/vmrc=/usr/share/applications/vmware-workstation.desktop

Finally, I was able to change the default xdg-open for mimetype vmrc

xdg-mime default vmware-workstation.desktop x-scheme-handler/vmrc

xdg-mime query default x-scheme-handler/vmrc

logout

Reply
0 Kudos