default-browser

xdg-open not open default browser

烈酒焚心 提交于 2020-01-01 10:53:17
问题 I have the following scenario: Ubuntu 16.04 machine with firefox and chrome installed, chrome being my default browser. I check this actions in the shell : cat /usr/share/applications/defaults.list cat /etc/mailcap cat /.config/mimeapps.list cat /.local/share/applications/mimeinfo.cache x-www-browser-> chrome is launch xdg-mime query default text/html response: google-chrome.desktop And does not appear firefox by any side, always chrome. This is fine. Also check: Click on a desktop file file

xdg-open not open default browser

北城余情 提交于 2020-01-01 10:52:15
问题 I have the following scenario: Ubuntu 16.04 machine with firefox and chrome installed, chrome being my default browser. I check this actions in the shell : cat /usr/share/applications/defaults.list cat /etc/mailcap cat /.config/mimeapps.list cat /.local/share/applications/mimeinfo.cache x-www-browser-> chrome is launch xdg-mime query default text/html response: google-chrome.desktop And does not appear firefox by any side, always chrome. This is fine. Also check: Click on a desktop file file

WPF WebBrowser - open links in default browser

泄露秘密 提交于 2019-12-13 00:45:46
问题 I am using a WPF System.Windows.Controls.WebBrowser control to show some HTML content that is downloaded from a service. Sometimes the HTML contains URLs ("a" elements) that should be clickable. By default, when such an URL is clicked it opens in Internet Explorer. I want them to open in the default browser instead. Note I am talking specifically about the WPF WebBrowser. There are tons of solutions for the WinForms browser, but they do not work for the WPF browser. The most common "solution"

How to change the browser for accessing git help pages?

对着背影说爱祢 提交于 2019-12-09 07:08:25
The problem is that whenever I'm trying to use git help pages, it is showing me the following error: Suyash@BaazWorkstation MINGW64 ~/Desktop/Git (master) $ git help log /usr/bin/start: line 8: cmd: command not found fatal: 'web--browse' appears to be a git command, but we were not able to execute it. Maybe git-web--browse is broken? I have tried the command Suyash@BaazWorkstation MINGW64 ~/Desktop/Git (master) $ git config --global web.browser chrome before, but no effect, also tried using google-chrome in place of chrome but it didn't work either. Please help with the problem. This is

How to change the browser for accessing git help pages?

牧云@^-^@ 提交于 2019-12-08 04:03:59
问题 The problem is that whenever I'm trying to use git help pages, it is showing me the following error: Suyash@BaazWorkstation MINGW64 ~/Desktop/Git (master) $ git help log /usr/bin/start: line 8: cmd: command not found fatal: 'web--browse' appears to be a git command, but we were not able to execute it. Maybe git-web--browse is broken? I have tried the command Suyash@BaazWorkstation MINGW64 ~/Desktop/Git (master) $ git config --global web.browser chrome before, but no effect, also tried using

xdg-open not open default browser

回眸只為那壹抹淺笑 提交于 2019-12-04 10:04:36
I have the following scenario: Ubuntu 16.04 machine with firefox and chrome installed, chrome being my default browser. I check this actions in the shell : cat /usr/share/applications/defaults.list cat /etc/mailcap cat /.config/mimeapps.list cat /.local/share/applications/mimeinfo.cache x-www-browser-> chrome is launch xdg-mime query default text/html response: google-chrome.desktop And does not appear firefox by any side, always chrome. This is fine. Also check: Click on a desktop file file.html -> chrome is launch And now comes the strange, if I run: xdg-open "http://www.example.com" For