-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
obsidian: fix wayland support #284971
obsidian: fix wayland support #284971
Conversation
Please rebase and follow NixOS Commit conventions instead of Conventional Commits |
b012ecd
to
45fd792
Compare
45fd792
to
396a955
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe one commit with both changes would be enough, however I don't mind the two.
I think two commits are more correct. Since the changes are unrelated, it fits better with the one commit per logical unit convention. |
when this is going to be merged? as it seems to not lacking anything and already approved |
@Suyashtnt you might wanna test it with the |
same but i'm stable 23.11. Using electron_24 solves the issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me
Fixes NixOS#268490 for Obsidian. Implementation inspired by the Insomnia derivation.
396a955
to
7a1a3df
Compare
Can we merge this PR? All users that reported a problem either used the wrong version or are not providing further details to see if it's actually an issue with this PR. For niknetniko and me, this patch works and was already proven to work in other chromium apps. It was still logging some errors for me when starting obsidian but rebasing to the newest |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/1471 |
Proper fix will be in #285883 |
Description of changes
This PR improves the usability of the
obsidian
package in Wayland with following things:libglvnd
as dependency to resolve chromium/electron/element-desktop on wayland fails to find libEGL.so聽#268490Add thecommandLineArgs
parameter for use in overlays--disable-features=WaylandFractionalScaleV1
like in Chrome and VSCodeThings done
The changes work on my personal NixOS GNOME system.
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 馃憤 reaction to pull requests you find important.