Giter Site home page Giter Site logo

Comments (5)

vladimiry avatar vladimiry commented on July 21, 2024 1

Hi @freed00m, I'd prefer to avoid adding OS specific logic into the app, at least if that's not really necessary. So I have to decline this feature request.

You can set the default browser calling similar command xdg-settings set default-web-browser firefox.desktop, see respective Arch Wiki page. You can find all the desktop shortcuts in the /usr/share/applications folder.

from electronmail.

freed00m avatar freed00m commented on July 21, 2024 1

@vladimiry that is not working couse the xdg-settings wont set browser if the $BROWSER variable exists and set.
Despite being set, xdg ignores it.

$ xdg-settings set default-web-browser chromium.desktop
xdg-settings: $BROWSER is set and can't be changed with xdg-settings
$ echo $BROWSER
qutebrowser

and links are being openned in firefox.. That's why I hate xdg, I wanted to have $BROWSER honored.

Agreed this issue is upstream and can stay as WONTFIX.

from electronmail.

dirkjanvanvliet avatar dirkjanvanvliet commented on July 21, 2024

I hope I am allowed to ask my question here, many thanks in advance. But I have the problem in Kubuntu 20.04 that all links in ElectronMail are opened in Firefox and not in my default browser.

In the OS I've set Vivaldi as my default browser and also I run the following command in the terminal (which did not give any errors):
xdg-settings set default-web-browser chromium.desktop

It's a minor issue, though would be nice if this can be fixed either in ElectronMail or on my user-side.
electronmail

from electronmail.

vladimiry avatar vladimiry commented on July 21, 2024

I don't have installed Kubuntu to test the case. Maybe try some steps listed in https://askubuntu.com/questions/788043/where-to-change-how-xdg-open-opens-urls-sync-with-kde-open.

from electronmail.

dirkjanvanvliet avatar dirkjanvanvliet commented on July 21, 2024

I don't have installed Kubuntu to test the case. Maybe try some steps listed in https://askubuntu.com/questions/788043/where-to-change-how-xdg-open-opens-urls-sync-with-kde-open.

Many thanks, this fixed it. I've run these commands in the terminal:

$ xdg-settings set default-url-scheme-handler http vivaldi.desktop
$ xdg-settings set default-url-scheme-handler https vivaldi.desktop

That fixed it. Many thanks again and also for the development of this app!

from electronmail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.