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

Support drawing the desktop on wayland using gtk-layer-shell. #3349

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

lcolitti
Copy link
Contributor

This PR allows nemo-desktop to display desktop icons on wayland compositors that support the layer-shell protocol. It adds an optional dependency on gtk-layer-shell, which supports wlroots-based compositors such as sway, wayfire etc. If the dependency is found, then nemo will run natively on wayland.

I have been using it on wayfire and it works well.

The change is very simple and should be easy to maintain even if Wayland is not yet officially supported.

@Fantu
Copy link
Contributor

Fantu commented Jan 18, 2024

For use it in mint packages should be added in debian/control (build-dep) and in debian/rules (configure parameter)

@lcolitti
Copy link
Contributor Author

For use it in mint packages should be added in debian/control (build-dep) and in debian/rules (configure parameter)

Done, I think. I built a debian package and installed it and desktop icons work on wayfire.

@mtwebster mtwebster merged commit be84592 into linuxmint:master Feb 13, 2024
2 of 3 checks passed
@leigh123linux
Copy link
Contributor

This commit doesn't account for the cinnamon panel, the desktop window size needs to minus the panel height.

rcalixte added a commit to rcalixte/nemo that referenced this pull request Aug 7, 2024
Remove gtk-layer-shell until it can be implemented without regressions.

Ref: linuxmint#3349

Closes linuxmint/wayland#102
Closes linuxmint#3439
@rcalixte rcalixte mentioned this pull request Aug 7, 2024
mtwebster pushed a commit that referenced this pull request Aug 7, 2024
Remove gtk-layer-shell until it can be implemented without regressions.

Ref: #3349

Closes linuxmint/wayland#102
Closes #3439
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.

4 participants