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

Snap: use system theme and xwayland #123

Merged
merged 1 commit into from
Mar 24, 2019
Merged

Snap: use system theme and xwayland #123

merged 1 commit into from
Mar 24, 2019

Conversation

joshirio
Copy link

@joshirio joshirio commented Feb 20, 2019

Hello,
the snap doesn't launch under Wayland, I propose these changes which at the moment is the standard way to get it running by using XWayland until electron supports Wayland natively. Additionally the added plugs let the snap use the default system gtk and icon theme when available as snap (like Yaru, Ambiance, Adwaita).

I contributed recently the same changes to another electron app which now works fine, except the cursor theme still being ugly (fallback theme), please see the following discussions for more details:
vladimiry/ElectronMail#104 (comment)
vladimiry/ElectronMail#109

@joshirio
Copy link
Author

Related issue #98

@shiftkey shiftkey force-pushed the linux branch 2 times, most recently from 60d258c to 8f06643 Compare March 4, 2019 22:28
@shiftkey shiftkey force-pushed the linux branch 5 times, most recently from dda9127 to ed1acbb Compare March 12, 2019 21:13
@shiftkey shiftkey force-pushed the linux branch 2 times, most recently from bf0e4f5 to ea0619d Compare March 19, 2019 19:41
@shiftkey
Copy link
Owner

@joshirio thanks for this contribution. I'm going to publish a build today with these changes so that others can test and confirm the packaging is working as expected!

@shiftkey shiftkey merged commit 42c7e83 into shiftkey:linux Mar 24, 2019
@joshirio joshirio deleted the patch-3 branch March 24, 2019 13:41
@joshirio
Copy link
Author

Just to add a comment. I'm surprised to see the mouse cursor theme working correctly:
cursor

I'll investigate it to find out why on other electron based projects it doesn't, maybe it's because of the additional plugs. Nice to learn some new things 😀️

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.

None yet

3 participants