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

update chromium/electron section #608

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

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