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

add --ozone-platform-hint=auto to the AUR build script #539

Closed
zacharyburnett opened this issue May 11, 2024 · 2 comments
Closed

add --ozone-platform-hint=auto to the AUR build script #539

zacharyburnett opened this issue May 11, 2024 · 2 comments
Assignees
Labels
status:wontfix This will not be worked on type:feat New feature or request

Comments

@zacharyburnett
Copy link

zacharyburnett commented May 11, 2024

Description

On Wayland, Webcord is blurry. From a suggestion in another issue, I've been able to resolve this issue and (tested it on Wayland and X11) by adding --ozone-platform-hint=auto to /usr/share/applications/webcord.desktop, as so:

[Desktop Entry]
Name=WebCord
Comment=A Discord and SpaceBar Electron-based client implemented without Discord API
GenericName=Internet Messenger
- Exec=webcord %U
+ Exec=webcord --ozone-platform-hint=auto %U
Icon=webcord
Type=Application
StartupNotify=true
Categories=Network;InstantMessaging;

However, every time pacman updates Webcord, it overwrites this change.

Suggestions

I apologize for not accompanying this issue with a pull request; I'm sorta new to Arch so I'm a bit confused where the build script for the AUR resides. Is it possible to insert arguments into Exec to add --ozone-platform-hint=auto?

Alternatives

No response

Additional Context

No response

@zacharyburnett zacharyburnett added the type:feat New feature or request label May 11, 2024
@SpacingBat3
Copy link
Owner

I don't plan messing with default Electron Wayland settings, either XWayland and Wayland has (dis)advantages with Chromium and those can vary from the multiple conditions like GPU (driver), DE etc. Changes like those are up to the users, so they should really decide whenever they want to use Wayland or XWayland for their Electron-based software.

I'm sorta new to Arch so I'm a bit confused where the build script for the AUR resides

See SpacingBat3/AUR for the repo which I use to I manage my Arch packages I've published to AUR, it contains submodules that point to actual GIT repos I use, although you might not be able to fetch them via SSH as this kind of access might be restricted to me only, at least push access. AUR pages contain a link to the HTTPS link of the repo, though.

@SpacingBat3 SpacingBat3 added the status:wontfix This will not be worked on label May 11, 2024
@zacharyburnett
Copy link
Author

thanks for the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:wontfix This will not be worked on type:feat New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants