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

Feature: Add default browser for given application #105

Open
qwertyuiopzxcvbnmlkjhgfdsa1 opened this issue Feb 3, 2023 · 4 comments
Open

Comments

@qwertyuiopzxcvbnmlkjhgfdsa1

There should be ability to set up default browser for URL opened in given application.

To be able to do this, there should be settings in Junction, where this option could be saved/changed.
What is needed:
1, Determine, from which application comes URL and have this information in application
2, Have list of applications(could be taken from gnome-control-center -> Applications?)
3, Have list of Browsers(http/s handlers)

Pair application and browser in settings and use this rule on base of which application triggered URL.

Use case:
1, I am in Word, have URL there, click to open it
2, Junction opens automatically predefined browser, because this option is saved in Junction settings.

@sonnyp
Copy link
Owner

sonnyp commented Feb 3, 2023

There is no way to do this on Linux ATM. When Junction is set as default browser and opened with a URL – there is no way to know why / from where.

It might be possible by communicating with a GNOME Shell extension but

  1. Works on GNOME only
  2. It will be hackish
  3. It's a lot of work

@sonnyp
Copy link
Owner

sonnyp commented Feb 3, 2023

Something I thought of that would be less hackish and possible better UX is to remember for workspace / virtual desktop.

Still needs a GNOME extension.

@sonnyp sonnyp changed the title Feature: Add default browser for given application without forcing to choose from predefined browsers Feature: Add default browser for given application Feb 3, 2023
@qwertyuiopzxcvbnmlkjhgfdsa1
Copy link
Author

There is no way to do this on Linux ATM. When Junction is set as default browser and opened with a URL – there is no way to know why / from where.

It might be possible by communicating with a GNOME Shell extension but

1. Works on GNOME only

2. It will be hackish

3. It's a lot of work

Is there a way in Gnome to recognize active window(app in this window) as after click on URL window become active?

And we may have active window information right after click in millisecond, so information about active window would be accurate, as this is our window, from where is going URL.

And by this approach reveal source of click.

@sonnyp
Copy link
Owner

sonnyp commented Feb 3, 2023

Without a gnome extension, no there isn't.

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