mrfixit2001 / debian_desktop

Feature Complete Debian Desktop
74 stars 5 forks source link

[PBP] Chromium doesn't open hyperlinks clicked from other programs #19

Open adamzea opened 5 years ago

adamzea commented 5 years ago

When Chromium is set as the default browser, and you click a hyperlink in HexChat or Evolution or other programs, Chromium opens... starts to load a new window with the link and then reverts to the default new tab blank page without showing the web page that was linked to.

I believe there was a fix described in the IRC chat room, but I never got it to work.

adamzea commented 5 years ago

I found the fix.

  1. "sudo leafpad" to launch leafpad text editor as super user
  2. Open /usr/share/applications/chromium-browser.desktop
  3. For every "EXEC" line, add " %U" to the end. So for example, the first one will be changed to "Exec=chromium-browser --disk-cache-size=2147483648 --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.63.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" %U"