Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to configure browser to open links #79

Closed
snth opened this issue Aug 30, 2023 · 2 comments
Closed

Ability to configure browser to open links #79

snth opened this issue Aug 30, 2023 · 2 comments

Comments

@snth
Copy link

snth commented Aug 30, 2023

Hi,

I was just playing around with this and it seems to try to use lynx or w3m as the browser to open links.

I would like to configure this to use my system browser, usually this is something like open <LINK> in the terminal.

Thanks

@davep
Copy link
Contributor

davep commented Aug 30, 2023

Frogmouth, when opening an "external" link, uses Python's own webbrowser controller; it should be opening whatever makes sense to it based on your operating system and environment. For example, on macOS, if I open a web link in a Markdown document it opens in my system's graphical browser.

@snth
Copy link
Author

snth commented Aug 30, 2023

Ah thanks.

I just tested python -m webbrowser -t "https://www.python.org" in different environments and it did open my system browser in WSL but lynx in a tmux session.

@snth snth closed this as completed Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants