Skip to content

Conversation

@JrFernando
Copy link
Contributor

@JrFernando JrFernando commented Nov 9, 2025

Add WebSearchPlugin, which allows you to open links directly in the system's default browser or perform searches via Google, DuckDuckGo, or Bing. Closes #1.

Search
image

Open URL
image

@JrFernando JrFernando changed the title Add web search plugin Add WebSearchPlugin Nov 9, 2025
Copy link
Owner

@leolost2605 leolost2605 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thank you this looks very promising only two minor comments :)

}

public override async void activate () throws Error {
Process.spawn_command_line_async (@"flatpak-spawn --host xdg-open \"$url\"");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use Gtk.UriLauncher here which uses portals and doesn't need the extra permission for the flatpak-spawn --host

}

public override async void activate () throws Error {
Process.spawn_command_line_async (@"flatpak-spawn --host xdg-open \"$url\"");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@JrFernando
Copy link
Contributor Author

Hi, thank you this looks very promising only two minor comments :)

That's great, I'll adjust those items. Thank you very much.

@JrFernando
Copy link
Contributor Author

@leolost2605 I made the requested corrections. I await your review, thank you.

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

Successfully merging this pull request may close these issues.

Feature request: Add support for performing search query in web browser

2 participants