Skip to content

Pywebview nix#1256

Open
MischaPanch wants to merge 2 commits intopywebviewfrom
pywebview-nix
Open

Pywebview nix#1256
MischaPanch wants to merge 2 commits intopywebviewfrom
pywebview-nix

Conversation

@MischaPanch
Copy link
Copy Markdown
Contributor

WIP

@MischaPanch MischaPanch changed the base branch from main to pywebview March 31, 2026 13:21
Comment on lines +25 to +26
On Linux, native app support requires GTK 3 and WebKit2GTK. When running Serena via the [Nix flake](nix-usage),
these libraries are bundled automatically, so the native dashboard viewer (with system tray) works out of the box.
Copy link
Copy Markdown
Contributor

@opcode81 opcode81 Mar 31, 2026

Choose a reason for hiding this comment

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

The wording is inaccurate, implying that these specific libraries are required (and that their installation could perhaps in general enable GUI support).

Suggestion:

On Linux, native app support is difficult to provide in general, as it requires a desktop environment with corresponding UI framework libraries pre-installed.
When running Serena via the Nix flake, suitable libraries are bundled automatically and Serena will make use of them, such that the native dashboard viewer (with system tray) works out of the box.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is very much a draft, made by Claude. I just want to check whether it runs on my linux laptop (hence the WIP as PR description)

Copy link
Copy Markdown
Contributor

@opcode81 opcode81 Mar 31, 2026

Choose a reason for hiding this comment

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

I know, but since I was looking at this out of interest, I thought I'd directly remark on the improvements that came to my mind.

opening is not a requirement to be able to access the dashboard on these platforms.

On Linux, access to the dashboard is more cumbersome without native app support.
On Linux without the Nix wrapper, access to the dashboard is more cumbersome without native app support.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perhaps add link to Nix section.

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.

2 participants