Skip to content

Conversation

@MQ1995
Copy link

@MQ1995 MQ1995 commented Apr 21, 2024

No description provided.

Copy link
Member

@fufexan fufexan left a comment

Choose a reason for hiding this comment

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

Might be helpful to include https://github.com/hyprwm/hyprland-wiki/blob/main/pages/Nvidia/_index.md?plain=1#L168, or just removing the whole section from the Nvidia page and adding the info here.

@fxzzi thoughts?

@MQ1995
Copy link
Author

MQ1995 commented Apr 21, 2024

Might be helpful to include https://github.com/hyprwm/hyprland-wiki/blob/main/pages/Nvidia/_index.md?plain=1#L168, or just removing the whole section from the Nvidia page and adding the info here.

I agree, I didn't even know that section contained similar info, I didn't read it since I don't have a Nvidia gpu.
The part about vscodium and obsidian.md would have been useful to me.

@fxzzi
Copy link
Contributor

fxzzi commented Apr 21, 2024

@fxzzi thoughts?

Yep, I was thinking this too. Lets move the electron / cef info over to this PR and replace the nvidia side with a link to this page. That seems like the best course of action.

@thejch
Copy link
Contributor

thejch commented Apr 25, 2024

Worth noting that the electron-flags.conf trick is because Arch Linux uses a wrapper for electron and vscode that applies the flags, so this method may not work on other distros

@fxzzi
Copy link
Contributor

fxzzi commented May 16, 2024

Worth noting that the electron-flags.conf trick is because Arch Linux uses a wrapper for electron and vscode that applies the flags, so this method may not work on other distros

The electron env var will work regardless of distro as long as the app is using a relatively recent electron version (not sure exactly which version added this envvar, might be E27 or E28)

@marcorichetta
Copy link

marcorichetta commented Oct 3, 2024

Worth noting that the electron-flags.conf trick is because Arch Linux uses a wrapper for electron and vscode that applies the flags, so this method may not work on other distros

The electron env var will work regardless of distro as long as the app is using a relatively recent electron version (not sure exactly which version added this envvar, might be E27 or E28)

Electron >= 28 should work with the env variable per this.

FYI, I didn't set any flags, just the env variable ELECTRON_OZONE_PLATFORM_HINT=auto and it worked (Vscode, Obsidian).

OS: EndeavourOS

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.

5 participants